harfbuzz.c.types

Undocumented in source.

Public Imports

gid.basictypes
public import gid.basictypes;
Undocumented in source.
gobject.c.types
public import gobject.c.types;
Undocumented in source.
freetype2.c.types
public import freetype2.c.types;
Undocumented in source.

Members

Aliases

hb_bool_t
alias hb_bool_t = int

Data type for booleans.

hb_codepoint_t
alias hb_codepoint_t = uint

Data type for holding Unicode codepoints. Also used to hold glyph IDs.

hb_color_t
alias hb_color_t = uint

Data type for holding color values. Colors are eight bits per channel RGB plus alpha transparency.

hb_font_get_font_h_extents_func_t
alias hb_font_get_font_h_extents_func_t = hb_font_get_font_extents_func_t

A virtual method for the #hb_font_funcs_t of an #hb_font_t object.

hb_font_get_font_v_extents_func_t
alias hb_font_get_font_v_extents_func_t = hb_font_get_font_extents_func_t

A virtual method for the #hb_font_funcs_t of an #hb_font_t object.

hb_font_get_glyph_h_advance_func_t
alias hb_font_get_glyph_h_advance_func_t = hb_font_get_glyph_advance_func_t

A virtual method for the #hb_font_funcs_t of an #hb_font_t object.

hb_font_get_glyph_h_advances_func_t
alias hb_font_get_glyph_h_advances_func_t = hb_font_get_glyph_advances_func_t

A virtual method for the #hb_font_funcs_t of an #hb_font_t object.

hb_font_get_glyph_h_kerning_func_t
alias hb_font_get_glyph_h_kerning_func_t = hb_font_get_glyph_kerning_func_t

A virtual method for the #hb_font_funcs_t of an #hb_font_t object.

hb_font_get_glyph_h_origin_func_t
alias hb_font_get_glyph_h_origin_func_t = hb_font_get_glyph_origin_func_t

A virtual method for the #hb_font_funcs_t of an #hb_font_t object.

hb_font_get_glyph_v_advance_func_t
alias hb_font_get_glyph_v_advance_func_t = hb_font_get_glyph_advance_func_t

A virtual method for the #hb_font_funcs_t of an #hb_font_t object.

hb_font_get_glyph_v_advances_func_t
alias hb_font_get_glyph_v_advances_func_t = hb_font_get_glyph_advances_func_t

A virtual method for the #hb_font_funcs_t of an #hb_font_t object.

hb_font_get_glyph_v_kerning_func_t
alias hb_font_get_glyph_v_kerning_func_t = hb_font_get_glyph_kerning_func_t

A virtual method for the #hb_font_funcs_t of an #hb_font_t object.

hb_font_get_glyph_v_origin_func_t
alias hb_font_get_glyph_v_origin_func_t = hb_font_get_glyph_origin_func_t

A virtual method for the #hb_font_funcs_t of an #hb_font_t object.

hb_language_t
alias hb_language_t = hb_language_t_st*

Data type for languages. Each #hb_language_t corresponds to a BCP 47 language tag.

hb_mask_t
alias hb_mask_t = uint

Data type for bitmasks.

hb_ot_name_id_t
alias hb_ot_name_id_t = uint

An integral type representing an OpenType 'name' table name identifier. There are predefined name IDs, as well as name IDs return from other API. These can be used to fetch name strings from a font face.

hb_position_t
alias hb_position_t = int

Data type for holding a single coordinate value. Contour points and other multi-dimensional data are stored as tuples of #hb_position_t's.

hb_tag_t
alias hb_tag_t = uint

Data type for tag identifiers. Tags are four byte integers, each byte representing a character.

Enums

hb_aat_layout_feature_selector_t
enum hb_aat_layout_feature_selector_t

The selectors defined for specifying AAT feature settings.

hb_aat_layout_feature_type_t
enum hb_aat_layout_feature_type_t

The possible feature types defined for AAT shaping, from Apple Font Feature Registry.

hb_buffer_cluster_level_t
enum hb_buffer_cluster_level_t

Data type for holding HarfBuzz's clustering behavior options. The cluster level dictates one aspect of how HarfBuzz will treat non-base characters during shaping.

hb_buffer_content_type_t
enum hb_buffer_content_type_t

The type of #hb_buffer_t contents.

hb_buffer_diff_flags_t
enum hb_buffer_diff_flags_t

Flags from comparing two #hb_buffer_t's.

hb_buffer_flags_t
enum hb_buffer_flags_t

Flags for #hb_buffer_t.

hb_buffer_serialize_flags_t
enum hb_buffer_serialize_flags_t

Flags that control what glyph information are serialized in harfbuzz.global.bufferSerializeGlyphs.

hb_buffer_serialize_format_t
enum hb_buffer_serialize_format_t

The buffer serialization and de-serialization format used in harfbuzz.global.bufferSerializeGlyphs and harfbuzz.global.bufferDeserializeGlyphs.

hb_direction_t
enum hb_direction_t

The direction of a text segment or buffer.

hb_glyph_flags_t
enum hb_glyph_flags_t

Flags for #hb_glyph_info_t.

hb_memory_mode_t
enum hb_memory_mode_t

Data type holding the memory modes available to client programs.

hb_ot_color_palette_flags_t
enum hb_ot_color_palette_flags_t

Flags that describe the properties of color palette.

hb_ot_layout_baseline_tag_t
enum hb_ot_layout_baseline_tag_t

Baseline tags from Baseline Tags registry.

hb_ot_layout_glyph_class_t
enum hb_ot_layout_glyph_class_t

The GDEF classes defined for glyphs.

hb_ot_math_constant_t
enum hb_ot_math_constant_t

The 'MATH' table constants, refer to OpenType documentation

For more explanations.

hb_ot_math_glyph_part_flags_t
enum hb_ot_math_glyph_part_flags_t

Flags for math glyph parts.

hb_ot_math_kern_t
enum hb_ot_math_kern_t

The math kerning-table types defined for the four corners of a glyph.

hb_ot_meta_tag_t
enum hb_ot_meta_tag_t

Known metadata tags from https://docs.microsoft.com/en-us/typography/opentype/spec/meta

hb_ot_metrics_tag_t
enum hb_ot_metrics_tag_t

Metric tags corresponding to [MVAR Value Tags](https://docs.microsoft.com/en-us/typography/opentype/spec/mvar#value-tags)

hb_ot_name_id_predefined_t
enum hb_ot_name_id_predefined_t

An enum type representing the pre-defined name IDs.

hb_ot_var_axis_flags_t
enum hb_ot_var_axis_flags_t

Flags for #hb_ot_var_axis_info_t.

hb_paint_composite_mode_t
enum hb_paint_composite_mode_t

The values of this enumeration describe the compositing modes that can be used when combining temporary redirected drawing with the backdrop.

hb_paint_extend_t
enum hb_paint_extend_t

The values of this enumeration determine how color values outside the minimum and maximum defined offset on a #hb_color_line_t are determined.

hb_script_t
enum hb_script_t

Data type for scripts. Each #hb_script_t's value is an #hb_tag_t corresponding to the four-letter values defined by ISO 15924.

hb_style_tag_t
enum hb_style_tag_t

Defined by OpenType Design-Variation Axis Tag Registry.

hb_unicode_combining_class_t
enum hb_unicode_combining_class_t

Data type for the Canonical_Combining_Class (ccc) property from the Unicode Character Database.

hb_unicode_general_category_t
enum hb_unicode_general_category_t

Data type for the "General_Category" (gc) property from the Unicode Character Database.

Structs

hb_aat_layout_feature_selector_info_t
struct hb_aat_layout_feature_selector_info_t

Structure representing a setting for an #hb_aat_layout_feature_type_t.

hb_blob_t
struct hb_blob_t

Data type for blobs. A blob wraps a chunk of binary data and facilitates its lifecycle management between a client program and HarfBuzz.

hb_buffer_t
struct hb_buffer_t

The main structure holding the input text and its properties before shaping, and output glyphs and their information after shaping.

hb_color_line_t
struct hb_color_line_t

A struct containing color information for a gradient.

hb_color_stop_t
struct hb_color_stop_t

Information about a color stop on a color line.

hb_draw_funcs_t
struct hb_draw_funcs_t

Glyph draw callbacks.

hb_draw_state_t
struct hb_draw_state_t

Current drawing state.

hb_face_t
struct hb_face_t

Data type for holding font faces.

hb_feature_t
struct hb_feature_t

The #hb_feature_t is the structure that holds information about requested feature application. The feature will be applied with the given value to all glyphs which are in clusters between @start (inclusive) and @end (exclusive). Setting start to #HB_FEATURE_GLOBAL_START and end to #HB_FEATURE_GLOBAL_END specifies that the feature always applies to the entire buffer.

hb_font_extents_t
struct hb_font_extents_t

Font-wide extent values, measured in font units.

hb_font_funcs_t
struct hb_font_funcs_t

Data type containing a set of virtual methods used for working on #hb_font_t font objects.

hb_font_t
struct hb_font_t

Data type for holding fonts.

hb_glyph_extents_t
struct hb_glyph_extents_t

Glyph extent values, measured in font units.

hb_glyph_info_t
struct hb_glyph_info_t

The #hb_glyph_info_t is the structure that holds information about the glyphs and their relation to input text.

hb_glyph_position_t
struct hb_glyph_position_t

The #hb_glyph_position_t is the structure that holds the positions of the glyph in both horizontal and vertical directions. All positions in #hb_glyph_position_t are relative to the current point.

hb_map_t
struct hb_map_t

Data type for holding integer-to-integer hash maps.

hb_ot_color_layer_t
struct hb_ot_color_layer_t

Pairs of glyph and color index.

hb_ot_math_glyph_part_t
struct hb_ot_math_glyph_part_t

Data type to hold information for a "part" component of a math-variant glyph. Large variants for stretchable math glyphs (such as parentheses) can be constructed on the fly from parts.

hb_ot_math_glyph_variant_t
struct hb_ot_math_glyph_variant_t

Data type to hold math-variant information for a glyph.

hb_ot_math_kern_entry_t
struct hb_ot_math_kern_entry_t

Data type to hold math kerning (cut-in) information for a glyph.

hb_ot_name_entry_t
struct hb_ot_name_entry_t

Structure representing a name ID in a particular language.

hb_ot_var_axis_info_t
struct hb_ot_var_axis_info_t

Data type for holding variation-axis values.

hb_ot_var_axis_t
struct hb_ot_var_axis_t

Use #hb_ot_var_axis_info_t instead.

hb_paint_funcs_t
struct hb_paint_funcs_t

Glyph paint callbacks.

hb_segment_properties_t
struct hb_segment_properties_t

The structure that holds various text properties of an #hb_buffer_t. Can be set and retrieved using harfbuzz.global.bufferSetSegmentProperties and harfbuzz.global.bufferGetSegmentProperties, respectively.

hb_set_t
struct hb_set_t

Data type for holding a set of integers. #hb_set_t's are used to gather and contain glyph IDs, Unicode code points, and various other collections of discrete values.

hb_shape_plan_t
struct hb_shape_plan_t

Data type for holding a shaping plan.

hb_unicode_funcs_t
struct hb_unicode_funcs_t

Data type containing a set of virtual methods used for accessing various Unicode character properties.

hb_user_data_key_t
struct hb_user_data_key_t

Data structure for holding user-data keys.

hb_variation_t
struct hb_variation_t

Data type for holding variation data. Registered OpenType variation-axis tags are listed in OpenType Axis Tag Registry.

Unions

hb_var_int_t
union hb_var_int_t
hb_var_num_t
union hb_var_num_t