[−][src]Module basalt::bindings::harfbuzz
Structs
hb_blob_t | |
hb_buffer_t | |
hb_face_t | |
hb_feature_t | |
hb_font_extents_t | |
hb_font_funcs_t | |
hb_font_t | |
hb_glyph_extents_t | |
hb_glyph_info_t | hb_glyph_info_t:
@codepoint: either a Unicode code point (before shaping) or a glyph index
(after shaping).
@mask:
@cluster: the index of the character in the original text that corresponds
to this |
hb_glyph_position_t | hb_glyph_position_t: @x_advance: how much the line advances after drawing this glyph when setting text in horizontal direction. @y_advance: how much the line advances after drawing this glyph when setting text in vertical direction. @x_offset: how much the glyph moves on the X-axis before drawing it, this should not affect how much the line advances. @y_offset: how much the glyph moves on the Y-axis before drawing it, this should not affect how much the line advances. |
hb_language_impl_t | |
hb_map_t | |
hb_ot_color_layer_t | hb_ot_color_layer_t: |
hb_ot_math_glyph_part_t | hb_ot_math_glyph_part_t: |
hb_ot_math_glyph_variant_t | hb_ot_math_glyph_variant_t: |
hb_ot_name_entry_t | hb_ot_name_entry_t: @name_id: name ID @language: language |
hb_ot_var_axis_t | hb_ot_var_axis_t: |
hb_segment_properties_t | hb_segment_properties_t:
@direction: the |
hb_set_t | |
hb_shape_plan_t | |
hb_unicode_funcs_t | |
hb_user_data_key_t | |
hb_variation_t | hb_variation_t: |
Constants
Functions
Type Definitions
_bindgen_ty_1 | hb_ot_name_id_t: @HB_OT_NAME_ID_INVALID: Value to represent a nonexistent name ID. |
hb_bool_t | |
hb_buffer_cluster_level_t | hb_buffer_cluster_level_t: @HB_BUFFER_CLUSTER_LEVEL_MONOTONE_GRAPHEMES: Return cluster values grouped by graphemes into monotone order. @HB_BUFFER_CLUSTER_LEVEL_MONOTONE_CHARACTERS: Return cluster values grouped into monotone order. @HB_BUFFER_CLUSTER_LEVEL_CHARACTERS: Don't group cluster values. @HB_BUFFER_CLUSTER_LEVEL_DEFAULT: Default cluster level, equal to @HB_BUFFER_CLUSTER_LEVEL_MONOTONE_GRAPHEMES. |
hb_buffer_content_type_t | hb_buffer_content_type_t: @HB_BUFFER_CONTENT_TYPE_INVALID: Initial value for new buffer. @HB_BUFFER_CONTENT_TYPE_UNICODE: The buffer contains input characters (before shaping). @HB_BUFFER_CONTENT_TYPE_GLYPHS: The buffer contains output glyphs (after shaping). |
hb_buffer_diff_flags_t | |
hb_buffer_flags_t | hb_buffer_flags_t: @HB_BUFFER_FLAG_DEFAULT: the default buffer flag. @HB_BUFFER_FLAG_BOT: flag indicating that special handling of the beginning of text paragraph can be applied to this buffer. Should usually be set, unless you are passing to the buffer only part of the text without the full context. @HB_BUFFER_FLAG_EOT: flag indicating that special handling of the end of text paragraph can be applied to this buffer, similar to @HB_BUFFER_FLAG_BOT. @HB_BUFFER_FLAG_PRESERVE_DEFAULT_IGNORABLES: flag indication that character with Default_Ignorable Unicode property should use the corresponding glyph from the font, instead of hiding them (done by replacing them with the space glyph and zeroing the advance width.) This flag takes precedence over @HB_BUFFER_FLAG_REMOVE_DEFAULT_IGNORABLES. @HB_BUFFER_FLAG_REMOVE_DEFAULT_IGNORABLES: flag indication that character with Default_Ignorable Unicode property should be removed from glyph string instead of hiding them (done by replacing them with the space glyph and zeroing the advance width.) @HB_BUFFER_FLAG_PRESERVE_DEFAULT_IGNORABLES takes precedence over this flag. Since: 1.8.0 |
hb_buffer_message_func_t | |
hb_buffer_serialize_flags_t | hb_buffer_serialize_flags_t: @HB_BUFFER_SERIALIZE_FLAG_DEFAULT: serialize glyph names, clusters and positions. @HB_BUFFER_SERIALIZE_FLAG_NO_CLUSTERS: do not serialize glyph cluster. @HB_BUFFER_SERIALIZE_FLAG_NO_POSITIONS: do not serialize glyph position information. @HB_BUFFER_SERIALIZE_FLAG_NO_GLYPH_NAMES: do no serialize glyph name. @HB_BUFFER_SERIALIZE_FLAG_GLYPH_EXTENTS: serialize glyph extents. @HB_BUFFER_SERIALIZE_FLAG_GLYPH_FLAGS: serialize glyph flags. Since: 1.5.0 @HB_BUFFER_SERIALIZE_FLAG_NO_ADVANCES: do not serialize glyph advances, glyph offsets will reflect absolute glyph positions. Since: 1.8.0 |
hb_buffer_serialize_format_t | hb_buffer_serialize_format_t: @HB_BUFFER_SERIALIZE_FORMAT_TEXT: a human-readable, plain text format. @HB_BUFFER_SERIALIZE_FORMAT_JSON: a machine-readable JSON format. @HB_BUFFER_SERIALIZE_FORMAT_INVALID: invalid format. |
hb_codepoint_t | |
hb_color_t | hb_color_t: |
hb_destroy_func_t | |
hb_direction_t | hb_direction_t: @HB_DIRECTION_INVALID: Initial, unset direction. @HB_DIRECTION_LTR: Text is set horizontally from left to right. @HB_DIRECTION_RTL: Text is set horizontally from right to left. @HB_DIRECTION_TTB: Text is set vertically from top to bottom. @HB_DIRECTION_BTT: Text is set vertically from bottom to top. |
hb_font_get_font_extents_func_t | |
hb_font_get_font_h_extents_func_t | |
hb_font_get_font_v_extents_func_t | |
hb_font_get_glyph_advance_func_t | |
hb_font_get_glyph_advances_func_t | |
hb_font_get_glyph_contour_point_func_t | |
hb_font_get_glyph_extents_func_t | |
hb_font_get_glyph_from_name_func_t | |
hb_font_get_glyph_h_advance_func_t | |
hb_font_get_glyph_h_advances_func_t | |
hb_font_get_glyph_h_origin_func_t | |
hb_font_get_glyph_name_func_t | |
hb_font_get_glyph_origin_func_t | |
hb_font_get_glyph_v_advance_func_t | |
hb_font_get_glyph_v_advances_func_t | |
hb_font_get_glyph_v_origin_func_t | |
hb_font_get_nominal_glyph_func_t | |
hb_font_get_nominal_glyphs_func_t | |
hb_font_get_variation_glyph_func_t | |
hb_glyph_flags_t | hb_glyph_flags_t: @HB_GLYPH_FLAG_UNSAFE_TO_BREAK: Indicates that if input text is broken at the beginning of the cluster this glyph is part of, then both sides need to be re-shaped, as the result might be different. On the flip side, it means that when this flag is not present, then it's safe to break the glyph-run at the beginning of this cluster, and the two sides represent the exact same result one would get if breaking input text at the beginning of this cluster and shaping the two sides separately. This can be used to optimize paragraph layout, by avoiding re-shaping of each line after line-breaking, or limiting the reshaping to a small piece around the breaking point only. @HB_GLYPH_FLAG_DEFINED: All the currently defined flags. |
hb_language_t | |
hb_mask_t | |
hb_memory_mode_t | |
hb_ot_color_palette_flags_t | hb_ot_color_palette_flags_t: @HB_OT_COLOR_PALETTE_FLAG_DEFAULT: default indicating that there is nothing special to note about a color palette. @HB_OT_COLOR_PALETTE_FLAG_USABLE_WITH_LIGHT_BACKGROUND: flag indicating that the color palette is appropriate to use when displaying the font on a light background such as white. @HB_OT_COLOR_PALETTE_FLAG_USABLE_WITH_DARK_BACKGROUND: flag indicating that the color palette is appropriate to use when displaying the font on a dark background such as black. |
hb_ot_layout_glyph_class_t | |
hb_ot_math_constant_t | hb_ot_math_constant_t: |
hb_ot_math_glyph_part_flags_t | hb_ot_math_glyph_part_flags_t: |
hb_ot_math_kern_t | hb_ot_math_kern_t: |
hb_ot_name_id_t | |
hb_position_t | |
hb_reference_table_func_t | |
hb_script_t | |
hb_tag_t | |
hb_unicode_combining_class_func_t | |
hb_unicode_combining_class_t | |
hb_unicode_compose_func_t | |
hb_unicode_decompose_func_t | |
hb_unicode_general_category_func_t | |
hb_unicode_general_category_t | |
hb_unicode_mirroring_func_t | |
hb_unicode_script_func_t | |
hb_var_int_t |
Unions
_hb_var_int_t |