Using the HarfBuzz library allows programs to convert a sequence of Unicode input into properly formatted and positioned glyph output — for any writing system and language.
The default LWJGL HarfBuzz build does not include FreeType support and the hb_ft_* functions will not be available. However, LWJGL's FreeType
build includes HarfBuzz and exports its full API. When working with both HarfBuzz and FreeType, the HarfBuzz bindings can be made to use FreeType's
shared library, with one of the following ways:
-Dorg.lwjgl.harfbuzz.libname=freetypeConfiguration.HARFBUZZ_LIBRARY_NAME.set("freetype")Configuration.HARFBUZZ_LIBRARY_NAME.set(FreeType.getLibrary()) - recommendedThe org.lwjgl.harfbuzz.natives module is not necessary when enabling the above.
| Modifier and Type | Class and Description |
|---|---|
| public static class | HarfBuzz.
Contains the function pointers loaded from the harfbuzz |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static SharedLibrary | |
| public static long | |
| public static long | |
| public static long | |
| public static long | |
| public static long | |
| public static long | |
| public static long | |
| public static long | hb_blob_create_sub_blob(long parent, int offset, int length)
Always creates with |
| public static void | |
| public static ByteBuffer | |
| public static ByteBuffer | |
| public static long | |
| public static int | |
| public static long | |
| public static boolean | |
| public static void | |
| public static long | |
| public static boolean | hb_blob_set_user_data(long blob, hb_user_data_key_t key, long data, hb_destroy_func_tI destroy, boolean replace)
|
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static boolean | |
| public static void | |
| public static void | |
| public static long | |
| public static long | |
| public static boolean | hb_buffer_deserialize_glyphs(long buffer, ByteBuffer buf, PointerBuffer end_ptr, long font, int format)
|
| public static boolean | |
| public static void | |
| public static int | hb_buffer_diff(long buffer, long reference, int dottedcircle_glyph, int position_fuzz)
Compare the contents of two buffers, report types of differences. |
| public static int | |
| public static int | |
| public static int | |
| public static long | |
| public static int | |
| public static hb_glyph_info_t. | |
| public static hb_glyph_position_t. | |
| public static int | |
| public static long | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static void | |
| public static long | |
| public static long | |
| public static void | |
| public static boolean | |
| public static void | |
| public static boolean | |
| public static long | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static int | hb_buffer_serialize(long buffer, int start, int end, ByteBuffer buf, IntBuffer buf_consumed, long font, int format, int flags)
|
| public static int | |
| public static int | |
| public static String | |
| public static int | hb_buffer_serialize_glyphs(long buffer, int start, int end, ByteBuffer buf, IntBuffer buf_consumed, long font, int format, int flags)
|
| public static PointerBuffer | |
| public static PointerBuffer | |
| public static int | hb_buffer_serialize_unicode(long buffer, int start, int end, ByteBuffer buf, IntBuffer buf_consumed, int format, int flags)
|
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static boolean | |
| public static void | hb_buffer_set_message_func(long buffer, hb_buffer_message_func_tI func, long user_data, hb_destroy_func_tI destroy)
|
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static boolean | hb_buffer_set_user_data(long buffer, hb_user_data_key_t key, long data, hb_destroy_func_tI destroy, boolean replace)
|
| public static int | |
| public static byte | |
| public static byte | |
| public static byte | |
| public static byte | |
| public static int | hb_color_line_get_color_stops(hb_color_line_t color_line, int start, IntBuffer count, hb_color_stop_t color_stops)
|
| public static int | |
| public static int | |
| public static int | |
| public static boolean | HB_DIRECTION_IS_BACKWARD(int dir)
Tests whether a text direction moves backward (from right to left, or from bottom to top). |
| public static boolean | HB_DIRECTION_IS_FORWARD(int dir)
Tests whether a text direction moves forward (from left to right, or from top to bottom). |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static int | |
| public static String | |
| public static void | |
| public static void | hb_draw_cubic_to(long dfuncs, ByteBuffer draw_data, hb_draw_state_t st, float control1_x, float control1_y, float control2_x, float control2_y, float to_x, float to_y)
|
| public static long | |
| public static void | |
| public static long | |
| public static long | |
| public static boolean | |
| public static void | |
| public static long | |
| public static void | hb_draw_funcs_set_close_path_func(long
draw functions object dfuncs, hb_draw_close_path_func_tI close-path callback func, long data to pass to user_data, hb_destroy_func_tI functhe function to call when destroy)user_data is not needed anymoreSets close-path callback to the draw functions object. |
| public static void | hb_draw_funcs_set_cubic_to_func(long
draw functions object dfuncs, hb_draw_cubic_to_func_tI cubic-to callback func, long data to pass to user_data, hb_destroy_func_tI functhe function to call when destroy)user_data is not needed anymoreSets cubic-to callback to the draw functions object. |
| public static void | hb_draw_funcs_set_line_to_func(long
draw functions object dfuncs, hb_draw_line_to_func_tI line-to callback func, long data to pass to user_data, hb_destroy_func_tI functhe function to call when destroy)user_data is not needed anymoreSets line-to callback to the draw functions object. |
| public static void | hb_draw_funcs_set_move_to_func(long
draw functions object dfuncs, hb_draw_move_to_func_tI move-to callback func, long data to pass to user_data, hb_destroy_func_tI functhe function to call when destroy)user_data is not needed anymoreSets move-to callback to the draw functions object. |
| public static void | hb_draw_funcs_set_quadratic_to_func(long
drasw functions object dfuncs, hb_draw_quadratic_to_func_tI quadratic-to callback func, long data to pass to user_data, hb_destroy_func_tI functhe function to call when destroy)user_data is not needed anymoreSets quadratic-to callback to the draw functions object. |
| public static boolean | hb_draw_funcs_set_user_data(long dfuncs, hb_user_data_key_t key, long data, hb_destroy_func_tI destroy, boolean replace)
|
| public static void | |
| public static void | |
| public static void | hb_draw_quadratic_to(long dfuncs, ByteBuffer draw_data, hb_draw_state_t st, float control_x, float control_y, float to_x, float to_y)
|
| public static boolean | |
| public static long | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static int | |
| public static long | |
| public static long | hb_face_create_for_tables(hb_reference_table_func_tI reference_table_func, long user_data, hb_destroy_func_tI destroy)
|
| public static void | |
| public static long | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static long | |
| public static boolean | |
| public static void | |
| public static long | |
| public static long | |
| public static long | |
| public static void | |
| public static void | |
| public static void | |
| public static boolean | hb_face_set_user_data(long face, hb_user_data_key_t key, long data, hb_destroy_func_tI destroy, boolean replace)
|
| public static boolean | |
| public static boolean | |
| public static void | |
| public static void | hb_font_add_glyph_origin_for_direction(long font, int glyph, int direction, IntBuffer x, IntBuffer y)
|
| public static void | |
| public static long | |
| public static long | |
| public static void | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static long | |
| public static boolean | |
| public static void | |
| public static long | |
| public static void | hb_font_funcs_set_draw_glyph_func(long
a font-function structure ffuncs, hb_font_draw_glyph_func_tI the callback function to assign func, long data to pass to user_data, hb_destroy_func_tI functhe function to call when destroy)user_data is not needed anymoreSets the implementation function for |
| public static void | hb_font_funcs_set_font_h_extents_func(long
a font-function structure ffuncs, long the callback function to assign func, long data to pass to user_data, hb_destroy_func_tI functhe function to call when destroy)user_data is not needed anymoreSets the implementation function for |
| public static void | hb_font_funcs_set_font_v_extents_func(long
a font-function structure ffuncs, long the callback function to assign func, long data to pass to user_data, hb_destroy_func_tI functhe function to call when destroy)user_data is not needed anymoreSets the implementation function for |
| public static void | hb_font_funcs_set_glyph_contour_point_func(long
a font-function structure ffuncs, hb_font_get_glyph_contour_point_func_tI the callback function to assign func, long data to pass to user_data, hb_destroy_func_tI functhe function to call when destroy)user_data is not needed anymoreSets the implementation function for |
| public static void | hb_font_funcs_set_glyph_extents_func(long
a font-function structure ffuncs, hb_font_get_glyph_extents_func_tI the callback function to assign func, long data to pass to user_data, hb_destroy_func_tI functhe function to call when destroy)user_data is not needed anymoreSets the implementation function for |
| public static void | hb_font_funcs_set_glyph_from_name_func(long
a font-function structure ffuncs, hb_font_get_glyph_from_name_func_tI the callback function to assign func, long data to pass to user_data, hb_destroy_func_tI functhe function to call when destroy)user_data is not needed anymoreSets the implementation function for |
| public static void | hb_font_funcs_set_glyph_h_advance_func(long
a font-function structure ffuncs, long the callback function to assign func, long data to pass to user_data, hb_destroy_func_tI functhe function to call when destroy)user_data is not needed anymoreSets the implementation function for |
| public static void | hb_font_funcs_set_glyph_h_advances_func(long
a font-function structure ffuncs, long the callback function to assign func, long data to pass to user_data, hb_destroy_func_tI functhe function to call when destroy)user_data is not needed anymoreSets the implementation function for |
| public static void | hb_font_funcs_set_glyph_h_kerning_func(long
a font-function structure ffuncs, long the callback function to assign func, long data to pass to user_data, hb_destroy_func_tI functhe function to call when destroy)user_data is not needed anymoreSets the implementation function for |
| public static void | hb_font_funcs_set_glyph_h_origin_func(long
a font-function structure ffuncs, long the callback function to assign func, long data to pass to user_data, hb_destroy_func_tI functhe function to call when destroy)user_data is not needed anymoreSets the implementation function for |
| public static void | hb_font_funcs_set_glyph_name_func(long
a font-function structure ffuncs, hb_font_get_glyph_name_func_tI the callback function to assign func, long data to pass to user_data, hb_destroy_func_tI functhe function to call when destroy)user_data is not needed anymoreSets the implementation function for |
| public static void | hb_font_funcs_set_glyph_v_advance_func(long
a font-function structure ffuncs, long the callback function to assign func, long data to pass to user_data, hb_destroy_func_tI functhe function to call when destroy)user_data is not needed anymoreSets the implementation function for |
| public static void | hb_font_funcs_set_glyph_v_advances_func(long
a font-function structure ffuncs, long the callback function to assign func, long data to pass to user_data, hb_destroy_func_tI functhe function to call when destroy)user_data is not needed anymoreSets the implementation function for |
| public static void | hb_font_funcs_set_glyph_v_origin_func(long
a font-function structure ffuncs, long the callback function to assign func, long data to pass to user_data, hb_destroy_func_tI functhe function to call when destroy)user_data is not needed anymoreSets the implementation function for |
| public static void | hb_font_funcs_set_nominal_glyph_func(long
a font-function structure ffuncs, hb_font_get_nominal_glyph_func_tI the callback function to assign func, long data to pass to user_data, hb_destroy_func_tI functhe function to call when destroy)user_data is not needed anymoreSets the implementation function for |
| public static void | hb_font_funcs_set_nominal_glyphs_func(long
a font-function structure ffuncs, hb_font_get_nominal_glyphs_func_tI the callback function to assign func, long data to pass to user_data, hb_destroy_func_tI functhe function to call when destroy)user_data is not needed anymoreSets the implementation function for |
| public static void | hb_font_funcs_set_paint_glyph_func(long
a font-function structure ffuncs, hb_font_paint_glyph_func_tI the callback function to assign func, long data to pass to user_data, hb_destroy_func_tI functhe function to call when destroy)user_data is not needed anymoreSets the implementation function for |
| public static boolean | hb_font_funcs_set_user_data(long ffuncs, hb_user_data_key_t key, long data, hb_destroy_func_tI destroy, boolean replace)
|
| public static void | hb_font_funcs_set_variation_glyph_func(long
a font-function structure ffuncs, hb_font_get_variation_glyph_func_tI the callback function to assign func, long data to pass to user_data, hb_destroy_func_tI functhe function to call when destroy)user_data is not needed anymoreSets the implementation function for |
| public static long | |
| public static void | |
| public static long | |
| public static boolean | hb_font_get_glyph(long font, int unicode, int variation_selector, IntBuffer glyph)
Calls either |
| public static void | hb_font_get_glyph_advance_for_direction(long font, int glyph, int direction, IntBuffer x, IntBuffer y)
|
| public static void | hb_font_get_glyph_advances_for_direction(long font, int direction, int count, IntBuffer first_glyph, int glyph_stride, IntBuffer first_advance, int advance_stride)
|
| public static boolean | |
| public static boolean | hb_font_get_glyph_contour_point_for_origin(long font, int glyph, int point_index, int direction, IntBuffer x, IntBuffer y)
|
| public static boolean | |
| public static boolean | hb_font_get_glyph_extents_for_origin(long font, int glyph, int direction, hb_glyph_extents_t extents)
|
| public static boolean | |
| public static boolean | |
| public static int | |
| public static void | hb_font_get_glyph_h_advances(long font, int count, IntBuffer first_glyph, int glyph_stride, IntBuffer first_advance, int advance_stride)
|
| public static int | |
| public static boolean | |
| public static void | hb_font_get_glyph_kerning_for_direction(long font, int first_glyph, int second_glyph, int direction, IntBuffer x, IntBuffer y)
|
| public static boolean | |
| public static void | hb_font_get_glyph_origin_for_direction(long font, int glyph, int direction, IntBuffer x, IntBuffer y)
|
| public static int | |
| public static void | hb_font_get_glyph_v_advances(long font, int count, IntBuffer first_glyph, int glyph_stride, IntBuffer first_advance, int advance_stride)
|
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static int | hb_font_get_nominal_glyphs(long font, int count, IntBuffer first_unicode, int unicode_stride, IntBuffer first_glyph, int glyph_stride)
|
| public static long | |
| public static void | |
| public static float | |
| public static void | |
| public static int | |
| public static void | hb_font_get_synthetic_bold(long font, FloatBuffer x_embolden, FloatBuffer y_embolden, IntBuffer in_place)
|
| public static float | |
| public static long | |
| public static boolean | |
| public static FloatBuffer | |
| public static IntBuffer | |
| public static int | |
| public static boolean | |
| public static boolean | hb_font_glyph_from_string(long font, ByteBuffer s, IntBuffer glyph)
Parses gidDDD and uniUUUU strings automatically. |
| public static boolean | hb_font_glyph_from_string(long font, CharSequence s, IntBuffer glyph)
Parses gidDDD and uniUUUU strings automatically. |
| public static void | |
| public static boolean | |
| public static void | |
| public static void | hb_font_paint_glyph(long font, int glyph, long pfuncs, long paint_data, int palette_index, int foreground)
|
| public static long | |
| public static void | |
| public static void | |
| public static void | hb_font_set_funcs_data(long font, long font_data, hb_destroy_func_tI destroy)
Be very careful with this function! |
| public static void | |
| public static void | hb_font_set_ppem(long font, int x_ppem, int y_ppem)
A zero value means "no hinting in that direction" |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static boolean | hb_font_set_user_data(long font, hb_user_data_key_t key, long data, hb_destroy_func_tI destroy, boolean replace)
|
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | hb_font_subtract_glyph_origin_for_direction(long font, int glyph, int direction, IntBuffer x, IntBuffer y)
|
| public static long | |
| public static long | |
| public static long | |
| public static void | |
| public static long | |
| public static long | |
| public static long | |
| public static int | |
| public static long | |
| public static void | |
| public static void | |
| public static void | |
| public static boolean | |
| public static int | |
| public static long | |
| public static long | |
| public static long | |
| public static boolean | |
| public static String | |
| public static boolean | |
| public static void | |
| public static long | |
| public static long | |
| public static void | |
| public static void | |
| public static int | |
| public static long | |
| public static int | |
| public static long | |
| public static boolean | |
| public static int | |
| public static boolean | |
| public static boolean | |
| public static void | |
| public static boolean | |
| public static long | |
| public static void | |
| public static boolean | hb_map_set_user_data(long map, hb_user_data_key_t key, long data, hb_destroy_func_tI destroy, boolean replace)
|
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static boolean | |
| public static long | |
| public static void | |
| public static long | |
| public static long | |
| public static boolean | |
| public static void | |
| public static long | |
| public static void | hb_paint_funcs_set_color_func(long funcs, hb_paint_color_func_tI func, long user_data, hb_destroy_func_tI destroy)
|
| public static void | hb_paint_funcs_set_color_glyph_func(long funcs, hb_paint_color_glyph_func_tI func, long user_data, hb_destroy_func_tI destroy)
|
| public static void | hb_paint_funcs_set_custom_palette_color_func(long funcs, hb_paint_custom_palette_color_func_tI func, long user_data, hb_destroy_func_tI destroy)
|
| public static void | hb_paint_funcs_set_image_func(long funcs, hb_paint_image_func_tI func, long user_data, hb_destroy_func_tI destroy)
|
| public static void | hb_paint_funcs_set_linear_gradient_func(long funcs, hb_paint_linear_gradient_func_tI func, long user_data, hb_destroy_func_tI destroy)
|
| public static void | hb_paint_funcs_set_pop_clip_func(long funcs, hb_paint_pop_clip_func_tI func, long user_data, hb_destroy_func_tI destroy)
|
| public static void | hb_paint_funcs_set_pop_group_func(long funcs, hb_paint_pop_group_func_tI func, long user_data, hb_destroy_func_tI destroy)
|
| public static void | hb_paint_funcs_set_pop_transform_func(long funcs, hb_paint_pop_transform_func_tI func, long user_data, hb_destroy_func_tI destroy)
|
| public static void | hb_paint_funcs_set_push_clip_glyph_func(long funcs, hb_paint_push_clip_glyph_func_tI func, long user_data, hb_destroy_func_tI destroy)
|
| public static void | hb_paint_funcs_set_push_clip_rectangle_func(long funcs, hb_paint_push_clip_rectangle_func_tI func, long user_data, hb_destroy_func_tI destroy)
|
| public static void | hb_paint_funcs_set_push_group_func(long funcs, hb_paint_push_group_func_tI func, long user_data, hb_destroy_func_tI destroy)
|
| public static void | hb_paint_funcs_set_push_transform_func(long funcs, hb_paint_push_transform_func_tI func, long user_data, hb_destroy_func_tI destroy)
|
| public static void | hb_paint_funcs_set_radial_gradient_func(long funcs, hb_paint_radial_gradient_func_tI func, long user_data, hb_destroy_func_tI destroy)
|
| public static void | hb_paint_funcs_set_sweep_gradient_func(long funcs, hb_paint_sweep_gradient_func_tI func, long user_data, hb_destroy_func_tI destroy)
|
| public static boolean | hb_paint_funcs_set_user_data(long funcs, hb_user_data_key_t key, long data, hb_destroy_func_tI destroy, boolean replace)
|
| public static void | hb_paint_image(long funcs, long paint_data, long image, int width, int height, int format, float slant, hb_glyph_extents_t extents)
|
| public static void | hb_paint_linear_gradient(long funcs, long paint_data, hb_color_line_t color_line, float x0, float yx0, float x1, float y1, float x2, float y2)
|
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | hb_paint_push_clip_rectangle(long funcs, long paint_data, float xmin, float ymin, float xmax, float ymax)
|
| public static void | |
| public static void | hb_paint_push_transform(long funcs, long paint_data, float xx, float yx, float xy, float yy, float dx, float dy)
|
| public static void | hb_paint_radial_gradient(long funcs, long paint_data, hb_color_line_t color_line, float x0, float y0, float r0, float x1, float y1, float r1)
|
| public static void | hb_paint_sweep_gradient(long funcs, long paint_data, hb_color_line_t color_line, float x0, float y0, float start_angle, float end_angle)
|
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static boolean | |
| public static int | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static boolean | |
| public static void | |
| public static long | |
| public static long | |
| public static void | |
| public static void | |
| public static void | |
| public static long | |
| public static int | |
| public static int | |
| public static int | |
| public static long | |
| public static boolean | |
| public static int | |
| public static void | |
| public static void | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static int | |
| public static boolean | hb_set_next_range(long set, IntBuffer first, IntBuffer last)
Pass |
| public static boolean | |
| public static boolean | hb_set_previous_range(long set, IntBuffer first, IntBuffer last)
Pass |
| public static long | |
| public static void | |
| public static boolean | hb_set_set_user_data(long set, hb_user_data_key_t key, long data, hb_destroy_func_tI destroy, boolean replace)
|
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static boolean | |
| public static boolean | hb_shape_justify(long font, long buffer, hb_feature_t.
|
| public static PointerBuffer | |
| public static PointerBuffer | |
| public static long | hb_shape_plan_create(long face, hb_segment_properties_t props, hb_feature_t.
|
| public static long | hb_shape_plan_create2(long face, hb_segment_properties_t props, hb_feature_t.
|
| public static long | hb_shape_plan_create_cached(long face, hb_segment_properties_t props, hb_feature_t.
|
| public static long | hb_shape_plan_create_cached2(long face, hb_segment_properties_t props, hb_feature_t.
|
| public static void | |
| public static boolean | |
| public static long | |
| public static String | |
| public static long | |
| public static long | |
| public static boolean | hb_shape_plan_set_user_data(long shape_plan, hb_user_data_key_t key, long data, hb_destroy_func_tI destroy, boolean replace)
|
| public static float | |
| public static int | |
| public static int | |
| public static int | |
| public static void | |
| public static int | hb_unicode_combining_class(long
the Unicode-functions structure ufuncs, int the code point to query unicode)Retrieves the Canonical Combining Class (ccc) property of code point unicode. |
| public static boolean | |
| public static boolean | |
| public static long | |
| public static void | |
| public static long | |
| public static long | |
| public static long | |
| public static long | |
| public static boolean | |
| public static void | |
| public static long | |
| public static void | hb_unicode_funcs_set_combining_class_func(long
a Unicode-functions structure ufuncs, hb_unicode_combining_class_func_tI the callback function to assign func, long data to pass to user_data, hb_destroy_func_tI functhe function to call when destroy)user_data is not needed anymoreSets the implementation function for |
| public static void | hb_unicode_funcs_set_compose_func(long
a Unicode-functions structure ufuncs, hb_unicode_compose_func_tI the callback function to assign func, long data to pass to user_data, hb_destroy_func_tI functhe function to call when destroy)user_data is not needed anymoreSets the implementation function for |
| public static void | hb_unicode_funcs_set_decompose_func(long
a Unicode-functions structure ufuncs, hb_unicode_decompose_func_tI the callback function to assign func, long data to pass to user_data, hb_destroy_func_tI functhe function to call when destroy)user_data is not needed anymoreSets the implementation function for |
| public static void | hb_unicode_funcs_set_general_category_func(long
a Unicode-functions structure ufuncs, hb_unicode_general_category_func_tI the callback function to assign func, long data to pass to user_data, hb_destroy_func_tI functhe function to call when destroy)user_data is not needed anymoreSets the implementation function for |
| public static void | hb_unicode_funcs_set_mirroring_func(long
a Unicode-functions structure ufuncs, hb_unicode_mirroring_func_tI the callback function to assign func, long data to pass to user_data, hb_destroy_func_tI functhe function to call when destroy)user_data is not needed anymoreSets the implementation function for |
| public static void | hb_unicode_funcs_set_script_func(long
a Unicode-functions structure ufuncs, hb_unicode_script_func_tI the callback function to assign func, long data to pass to user_data, hb_destroy_func_tI functhe function to call when destroy)user_data is not needed anymoreSets the implementation function for |
| public static boolean | hb_unicode_funcs_set_user_data(long ufuncs, hb_user_data_key_t key, long data, hb_destroy_func_tI destroy, boolean replace)
|
| public static int | hb_unicode_general_category(long
the Unicode-functions structure ufuncs, int the code point to query unicode)Retrieves the General Category (gc) property of code point unicode. |
| public static int | hb_unicode_mirroring(long
the Unicode-functions structure ufuncs, int the code point to query unicode)Retrieves the Bi-directional Mirroring Glyph code point defined for code point unicode. |
| public static int | hb_unicode_script(long
the Unicode-functions structure ufuncs, int the code point to query unicode)Retrieves the |
| public static boolean | |
| public static boolean | |
| public static void | |
| public static void | |
| public static boolean | |
| public static boolean | |
| public static String | |
| public static long | |
| public static long | |
| public static long | |
| public static long | |
| public static long | |
| public static long | |
| public static long | |
| public static int | |
| public static void | nhb_buffer_add_codepoints(long buffer, long text, int text_length, int item_offset, int item_length)
|
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static int | nhb_buffer_deserialize_glyphs(long buffer, long buf, int buf_len, long end_ptr, long font, int format)
|
| public static int | |
| public static long | |
| public static long | |
| public static void | |
| public static long | |
| public static int | nhb_buffer_serialize(long buffer, int start, int end, long buf, int buf_size, long buf_consumed, long font, int format, int flags)
|
| public static int | |
| public static long | |
| public static int | nhb_buffer_serialize_glyphs(long buffer, int start, int end, long buf, int buf_size, long buf_consumed, long font, int format, int flags)
|
| public static long | |
| public static int | nhb_buffer_serialize_unicode(long buffer, int start, int end, long buf, int buf_size, long buf_consumed, int format, int flags)
|
| public static void | |
| public static void | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static long | |
| public static void | |
| public static void | nhb_draw_cubic_to(long dfuncs, long draw_data, long st, float control1_x, float control1_y, float control2_x, float control2_y, float to_x, float to_y)
|
| public static long | |
| public static void | nhb_draw_funcs_set_close_path_func(long dfuncs, long func, long user_data, long destroy)
Unsafe version of: |
| public static void | nhb_draw_funcs_set_cubic_to_func(long dfuncs, long func, long user_data, long destroy)
Unsafe version of: |
| public static void | nhb_draw_funcs_set_line_to_func(long dfuncs, long func, long user_data, long destroy)
Unsafe version of: |
| public static void | nhb_draw_funcs_set_move_to_func(long dfuncs, long func, long user_data, long destroy)
Unsafe version of: |
| public static void | nhb_draw_funcs_set_quadratic_to_func(long dfuncs, long func, long user_data, long destroy)
Unsafe version of: |
| public static int | |
| public static void | |
| public static void | |
| public static void | nhb_draw_quadratic_to(long dfuncs, long draw_data, long st, float control_x, float control_y, float to_x, float to_y)
|
| public static void | |
| public static long | |
| public static int | |
| public static long | |
| public static int | |
| public static int | |
| public static void | |
| public static void | |
| public static long | |
| public static void | nhb_font_funcs_set_draw_glyph_func(long ffuncs, long func, long user_data, long destroy)
Unsafe version of: |
| public static void | nhb_font_funcs_set_font_h_extents_func(long ffuncs, long func, long user_data, long destroy)
Unsafe version of: |
| public static void | nhb_font_funcs_set_font_v_extents_func(long ffuncs, long func, long user_data, long destroy)
Unsafe version of: |
| public static void | nhb_font_funcs_set_glyph_contour_point_func(long ffuncs, long func, long user_data, long destroy)
Unsafe version of: |
| public static void | nhb_font_funcs_set_glyph_extents_func(long ffuncs, long func, long user_data, long destroy)
Unsafe version of: |
| public static void | nhb_font_funcs_set_glyph_from_name_func(long ffuncs, long func, long user_data, long destroy)
Unsafe version of: |
| public static void | nhb_font_funcs_set_glyph_h_advance_func(long ffuncs, long func, long user_data, long destroy)
Unsafe version of: |
| public static void | nhb_font_funcs_set_glyph_h_advances_func(long ffuncs, long func, long user_data, long destroy)
Unsafe version of: |
| public static void | nhb_font_funcs_set_glyph_h_kerning_func(long ffuncs, long func, long user_data, long destroy)
Unsafe version of: |
| public static void | nhb_font_funcs_set_glyph_h_origin_func(long ffuncs, long func, long user_data, long destroy)
Unsafe version of: |
| public static void | nhb_font_funcs_set_glyph_name_func(long ffuncs, long func, long user_data, long destroy)
Unsafe version of: |
| public static void | nhb_font_funcs_set_glyph_v_advance_func(long ffuncs, long func, long user_data, long destroy)
Unsafe version of: |
| public static void | nhb_font_funcs_set_glyph_v_advances_func(long ffuncs, long func, long user_data, long destroy)
Unsafe version of: |
| public static void | nhb_font_funcs_set_glyph_v_origin_func(long ffuncs, long func, long user_data, long destroy)
Unsafe version of: |
| public static void | nhb_font_funcs_set_nominal_glyph_func(long ffuncs, long func, long user_data, long destroy)
Unsafe version of: |
| public static void | nhb_font_funcs_set_nominal_glyphs_func(long ffuncs, long func, long user_data, long destroy)
Unsafe version of: |
| public static void | nhb_font_funcs_set_paint_glyph_func(long ffuncs, long func, long user_data, long destroy)
Unsafe version of: |
| public static int | |
| public static void | nhb_font_funcs_set_variation_glyph_func(long ffuncs, long func, long user_data, long destroy)
Unsafe version of: |
| public static void | |
| public static int | nhb_font_get_glyph(long font, int unicode, int variation_selector, long glyph)
Unsafe version of: |
| public static void | |
| public static void | nhb_font_get_glyph_advances_for_direction(long font, int direction, int count, long first_glyph, int glyph_stride, long first_advance, int advance_stride)
|
| public static int | |
| public static int | nhb_font_get_glyph_contour_point_for_origin(long font, int glyph, int point_index, int direction, long x, long y)
|
| public static int | |
| public static int | |
| public static int | |
| public static void | nhb_font_get_glyph_h_advances(long font, int count, long first_glyph, int glyph_stride, long first_advance, int advance_stride)
|
| public static int | |
| public static void | nhb_font_get_glyph_kerning_for_direction(long font, int first_glyph, int second_glyph, int direction, long x, long y)
|
| public static int | |
| public static void | |
| public static void | nhb_font_get_glyph_v_advances(long font, int count, long first_glyph, int glyph_stride, long first_advance, int advance_stride)
|
| public static int | |
| public static int | |
| public static int | |
| public static int | nhb_font_get_nominal_glyphs(long font, int count, long first_unicode, int unicode_stride, long first_glyph, int glyph_stride)
|
| public static void | |
| public static void | |
| public static void | |
| public static long | |
| public static int | |
| public static long | |
| public static long | |
| public static int | |
| public static int | nhb_font_glyph_from_string(long font, long s, int len, long glyph)
Unsafe version of: |
| public static void | nhb_font_glyph_to_string(long font, int glyph, long s, int size)
Unsafe version of: |
| public static void | |
| public static void | nhb_font_set_funcs_data(long font, long font_data, long destroy)
Unsafe version of: |
| public static int | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static long | |
| public static long | |
| public static long | |
| public static long | |
| public static long | |
| public static int | |
| public static int | |
| public static int | |
| public static long | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static int | |
| public static void | nhb_paint_image(long funcs, long paint_data, long image, int width, int height, int format, float slant, long extents)
|
| public static void | nhb_paint_linear_gradient(long funcs, long paint_data, long color_line, float x0, float yx0, float x1, float y1, float x2, float y2)
|
| public static void | nhb_paint_radial_gradient(long funcs, long paint_data, long color_line, float x0, float y0, float r0, float x1, float y1, float r1)
|
| public static void | nhb_paint_sweep_gradient(long funcs, long paint_data, long color_line, float x0, float y0, float start_angle, float end_angle)
|
| public static int | |
| public static int | |
| public static int | |
| public static void | |
| public static void | |
| public static long | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static void | |
| public static int | |
| public static int | nhb_shape_justify(long font, long buffer, long features, int num_features, long shaper_list, float min_target_advance, float max_target_advance, long advance, long var_tag, long var_value)
|
| public static long | |
| public static long | nhb_shape_plan_create(long face, long props, long user_features, int num_user_features, long shaper_list)
|
| public static long | nhb_shape_plan_create2(long face, long props, long user_features, int num_user_features, long coords, int num_coords, long shaper_list)
|
| public static long | nhb_shape_plan_create_cached(long face, long props, long user_features, int num_user_features, long shaper_list)
|
| public static long | nhb_shape_plan_create_cached2(long face, long props, long user_features, int num_user_features, long coords, int num_coords, long shaper_list)
|
| public static int | |
| public static long | |
| public static long | |
| public static int | |
| public static int | |
| public static void | |
| public static int | |
| public static int | |
| public static long | |
| public static void | nhb_unicode_funcs_set_combining_class_func(long ufuncs, long func, long user_data, long destroy)
Unsafe version of: |
| public static void | nhb_unicode_funcs_set_compose_func(long ufuncs, long func, long user_data, long destroy)
Unsafe version of: |
| public static void | nhb_unicode_funcs_set_decompose_func(long ufuncs, long func, long user_data, long destroy)
Unsafe version of: |
| public static void | nhb_unicode_funcs_set_general_category_func(long ufuncs, long func, long user_data, long destroy)
Unsafe version of: |
| public static void | nhb_unicode_funcs_set_mirroring_func(long ufuncs, long func, long user_data, long destroy)
Unsafe version of: |
| public static void | nhb_unicode_funcs_set_script_func(long ufuncs, long func, long user_data, long destroy)
Unsafe version of: |
| public static int | |
| public static int | |
| public static void | |
| public static void | |
| public static long |