Harfbuzz

object Harfbuzz

Skipped during bindings generation

  • parameter length: length: Out parameter is not supported

  • parameter length: length: Out parameter is not supported

  • function blob_is_immutable: Return type bool_t is unsupported

  • parameter codepoint: codepoint_t

  • parameter text: codepoint_t

  • parameter text: guint8

  • parameter text: Array parameter of type guint16 is not supported

  • parameter text: Array parameter of type guint32 is not supported

  • parameter text: guint8

  • function buffer_allocation_successful: Return type bool_t is unsupported

  • parameter buf: Unsupported string with cType char

  • parameter buf: Unsupported string with cType char

  • parameter dottedcircle_glyph: codepoint_t

  • parameter length: length: Out parameter is not supported

  • parameter length: length: Out parameter is not supported

  • function buffer_get_invisible_glyph: Return type codepoint_t is unsupported

  • function buffer_get_language: Return type language_t is unsupported

  • function buffer_get_replacement_codepoint: Return type codepoint_t is unsupported

  • function buffer_has_positions: Return type bool_t is unsupported

  • function buffer_pre_allocate: Return type bool_t is unsupported

  • parameter buf: buf: Out parameter is not supported

  • parameter str: guint8

  • function buffer_serialize_format_to_string: C function hb_buffer_serialize_format_to_string is ignored

  • parameter buf: buf: Out parameter is not supported

  • parameter buf: buf: Out parameter is not supported

  • parameter invisible: codepoint_t

  • parameter language: language_t

  • function buffer_set_length: Return type bool_t is unsupported

  • parameter destroy: destroy_func_t

  • parameter replacement: codepoint_t

  • parameter color: color_t

  • parameter color: color_t

  • parameter color: color_t

  • parameter color: color_t

  • parameter str: guint8

  • function direction_to_string: C function hb_direction_to_string is ignored

  • parameter tag: tag_t

  • parameter variation_selector: codepoint_t

  • parameter destroy: destroy_func_t

  • parameter table_count: table_count: Out parameter is not supported

  • function face_is_immutable: Return type bool_t is unsupported

  • parameter tag: tag_t

  • parameter str: guint8

  • function feature_to_string: C function hb_feature_to_string is ignored

  • function font_add_glyph_origin_for_direction: In/Out parameter is not supported

  • function font_funcs_is_immutable: Return type bool_t is unsupported

  • function font_funcs_set_font_h_extents_func: callback font_get_font_h_extents_func_t not found

  • function font_funcs_set_font_v_extents_func: callback font_get_font_v_extents_func_t not found

  • parameter destroy: destroy_func_t

  • parameter destroy: destroy_func_t

  • parameter destroy: destroy_func_t

  • parameter destroy: destroy_func_t

  • function font_funcs_set_glyph_h_advance_func: callback font_get_glyph_h_advance_func_t not found

  • function font_funcs_set_glyph_h_advances_func: callback font_get_glyph_h_advances_func_t not found

  • function font_funcs_set_glyph_h_kerning_func: callback font_get_glyph_h_kerning_func_t not found

  • function font_funcs_set_glyph_h_origin_func: callback font_get_glyph_h_origin_func_t not found

  • parameter destroy: destroy_func_t

  • function font_funcs_set_glyph_v_advance_func: callback font_get_glyph_v_advance_func_t not found

  • function font_funcs_set_glyph_v_advances_func: callback font_get_glyph_v_advances_func_t not found

  • function font_funcs_set_glyph_v_kerning_func: callback font_get_glyph_v_kerning_func_t not found

  • function font_funcs_set_glyph_v_origin_func: callback font_get_glyph_v_origin_func_t not found

  • parameter destroy: destroy_func_t

  • parameter destroy: destroy_func_t

  • parameter destroy: destroy_func_t

  • parameter unicode: codepoint_t

  • parameter glyph: codepoint_t

  • parameter first_glyph: codepoint_t

  • parameter glyph: codepoint_t

  • parameter glyph: codepoint_t

  • parameter glyph: codepoint_t

  • parameter glyph: codepoint_t

  • parameter name: Unsupported string with cType char

  • parameter glyph: codepoint_t

  • parameter first_glyph: codepoint_t

  • parameter left_glyph: codepoint_t

  • parameter glyph: codepoint_t

  • parameter first_glyph: codepoint_t

  • parameter glyph: codepoint_t

  • parameter glyph: codepoint_t

  • parameter glyph: codepoint_t

  • parameter first_glyph: codepoint_t

  • parameter top_glyph: codepoint_t

  • parameter glyph: codepoint_t

  • function font_get_h_extents: Return type bool_t is unsupported

  • parameter unicode: codepoint_t

  • parameter first_unicode: codepoint_t

  • parameter x_ppem: x_ppem: Out parameter is not supported

  • parameter x_scale: x_scale: Out parameter is not supported

  • function font_get_v_extents: Return type bool_t is unsupported

  • parameter length: Unsupported pointer to primitive type

  • parameter unicode: codepoint_t

  • parameter s: guint8

  • function font_glyph_to_string: C function hb_font_glyph_to_string is ignored

  • function font_is_immutable: Return type bool_t is unsupported

  • function font_set_funcs: callback font_funcs_t not found

  • parameter font_data: gpointer

  • parameter coords: Array parameter of type gfloat is not supported

  • parameter coords: Array parameter of type gint is not supported

  • parameter variations: variation_t

  • function font_subtract_glyph_origin_for_direction: In/Out parameter is not supported

  • function glib_script_from_script: C function hb_glib_script_from_script is ignored

  • function glib_script_to_script: C function hb_glib_script_to_script is ignored

  • parameter str: guint8

  • function language_get_default: Return type language_t is unsupported

  • function language_to_string: C function hb_language_to_string is ignored

  • function map_allocation_successful: Return type bool_t is unsupported

  • parameter key: codepoint_t

  • parameter key: codepoint_t

  • parameter key: codepoint_t

  • function map_is_empty: Return type bool_t is unsupported

  • parameter key: codepoint_t

  • parameter glyph: codepoint_t

  • parameter glyph: codepoint_t

  • parameter glyph: codepoint_t

  • function ot_color_has_layers: Return type bool_t is unsupported

  • function ot_color_has_palettes: Return type bool_t is unsupported

  • function ot_color_has_png: Return type bool_t is unsupported

  • function ot_color_has_svg: Return type bool_t is unsupported

  • function ot_color_palette_color_get_name_id: Return type ot_name_id_t is unsupported

  • parameter color_count: color_count: Out parameter is not supported

  • function ot_color_palette_get_name_id: Return type ot_name_id_t is unsupported

  • parameter table_tag: tag_t

  • parameter table_tag: tag_t

  • parameter table_tag: tag_t

  • parameter table_tag: tag_t

  • parameter table_tag: tag_t

  • parameter table_tag: tag_t

  • parameter glyph: codepoint_t

  • parameter script_tag: tag_t

  • parameter glyph: codepoint_t

  • parameter glyph: codepoint_t

  • parameter design_size: design_size: Out parameter is not supported

  • function ot_layout_has_glyph_classes: Return type bool_t is unsupported

  • function ot_layout_has_positioning: Return type bool_t is unsupported

  • function ot_layout_has_substitution: Return type bool_t is unsupported

  • parameter table_tag: tag_t

  • parameter table_tag: tag_t

  • parameter table_tag: tag_t

  • parameter table_tag: tag_t

  • parameter table_tag: tag_t

  • parameter table_tag: tag_t

  • parameter glyph: codepoint_t

  • parameter glyphs: codepoint_t

  • parameter table_tag: tag_t

  • parameter table_tag: tag_t

  • parameter table_tag: tag_t

  • parameter table_tag: tag_t

  • parameter table_tag: tag_t

  • parameter table_tag: tag_t

  • parameter table_tag: tag_t

  • parameter table_tag: tag_t

  • parameter table_tag: tag_t

  • parameter table_tag: tag_t

  • function ot_math_get_constant: Return type position_t is unsupported

  • parameter glyph: codepoint_t

  • parameter glyph: codepoint_t

  • parameter glyph: codepoint_t

  • parameter glyph: codepoint_t

  • parameter glyph: codepoint_t

  • function ot_math_get_min_connector_overlap: Return type position_t is unsupported

  • function ot_math_has_data: Return type bool_t is unsupported

  • parameter glyph: codepoint_t

  • parameter entries_count: entries_count: Out parameter is not supported

  • parameter position: position: Out parameter is not supported

  • function ot_metrics_get_x_variation: Return type position_t is unsupported

  • function ot_metrics_get_y_variation: Return type position_t is unsupported

  • parameter name_id: ot_name_id_t

  • parameter name_id: ot_name_id_t

  • parameter name_id: ot_name_id_t

  • parameter num_entries: num_entries: Out parameter is not supported

  • parameter features: feature_t

  • parameter language: language_t

  • parameter tag: tag_t

  • parameter tag: tag_t

  • parameter script_tag_1: tag_t

  • parameter language: language_t

  • parameter script_tag: tag_t

  • parameter axis_tag: tag_t

  • parameter axis_tag: tag_t

  • parameter axes_count: axes_count: Out parameter is not supported

  • parameter axes_count: axes_count: Out parameter is not supported

  • function ot_var_has_data: Return type bool_t is unsupported

  • parameter coords_length: coords_length: Out parameter is not supported

  • function ot_var_named_instance_get_postscript_name_id: Return type ot_name_id_t is unsupported

  • function ot_var_named_instance_get_subfamily_name_id: Return type ot_name_id_t is unsupported

  • parameter design_coords: Unsupported pointer to primitive type

  • parameter coords: coords: Out parameter is not supported

  • parameter tag: tag_t

  • parameter str: guint8

  • function script_to_iso15924_tag: Return type tag_t is unsupported

  • function segment_properties_equal: Return type bool_t is unsupported

  • parameter codepoint: codepoint_t

  • parameter first: codepoint_t

  • function set_allocation_successful: Return type bool_t is unsupported

  • parameter codepoint: codepoint_t

  • parameter first: codepoint_t

  • function set_get_max: Return type codepoint_t is unsupported

  • function set_get_min: Return type codepoint_t is unsupported

  • parameter codepoint: codepoint_t

  • function set_is_empty: Return type bool_t is unsupported

  • function set_is_equal: Return type bool_t is unsupported

  • function set_is_subset: Return type bool_t is unsupported

  • function set_next: In/Out parameter is not supported

  • function set_next_range: In/Out parameter is not supported

  • function set_previous: In/Out parameter is not supported

  • function set_previous_range: In/Out parameter is not supported

  • parameter features: feature_t

  • parameter features: feature_t

  • parameter user_features: feature_t

  • parameter user_features: feature_t

  • parameter user_features: feature_t

  • parameter user_features: feature_t

  • parameter features: feature_t

  • parameter str: guint8

  • function tag_to_string: C function hb_tag_to_string is ignored

  • parameter unicode: codepoint_t

  • parameter a: codepoint_t

  • parameter ab: codepoint_t

  • parameter u: codepoint_t

  • parameter unicode: codepoint_t

  • function unicode_funcs_is_immutable: Return type bool_t is unsupported

  • parameter destroy: destroy_func_t

  • parameter destroy: destroy_func_t

  • parameter destroy: destroy_func_t

  • parameter destroy: destroy_func_t

  • parameter destroy: destroy_func_t

  • parameter destroy: destroy_func_t

  • parameter destroy: destroy_func_t

  • parameter destroy: destroy_func_t

  • parameter unicode: codepoint_t

  • parameter unicode: codepoint_t

  • parameter unicode: codepoint_t

  • function variation_from_string: Return type bool_t is unsupported

  • function variation_to_string: C function hb_variation_to_string is ignored

  • parameter major: major: Out parameter is not supported

  • function version_atleast: Return type bool_t is unsupported

  • callback buffer_message_func_t: Return type bool_t is unsupported

  • callback font_get_font_extents_func_t: Return type bool_t is unsupported

  • callback font_get_glyph_advance_func_t: Return type position_t is unsupported

  • callback font_get_glyph_contour_point_func_t: Return type bool_t is unsupported

  • callback font_get_glyph_extents_func_t: Return type bool_t is unsupported

  • callback font_get_glyph_from_name_func_t: Return type bool_t is unsupported

  • callback font_get_glyph_func_t: Return type bool_t is unsupported

  • callback font_get_glyph_kerning_func_t: Return type position_t is unsupported

  • callback font_get_glyph_name_func_t: Return type bool_t is unsupported

  • callback font_get_glyph_origin_func_t: Return type bool_t is unsupported

  • callback font_get_nominal_glyph_func_t: Return type bool_t is unsupported

  • callback font_get_variation_glyph_func_t: Return type bool_t is unsupported

  • callback unicode_compose_func_t: Return type bool_t is unsupported

  • callback unicode_decompose_func_t: Return type bool_t is unsupported

  • callback unicode_mirroring_func_t: Return type codepoint_t is unsupported

  • constant LANGUAGE_INVALID: language_t

  • constant MAP_VALUE_INVALID: codepoint_t

  • constant SET_VALUE_INVALID: codepoint_t

  • record language_t: Disguised records are ignored

Properties

Link copied to clipboard

Used when getting or setting AAT feature selectors. Indicates that there is no selector index corresponding to the selector of interest.

Link copied to clipboard

The default code point for replacing invalid characters in a given encoding. Set to U+FFFD REPLACEMENT CHARACTER.

Link copied to clipboard
const val FEATURE_GLOBAL_START: Int = 0
Link copied to clipboard
Link copied to clipboard
const val OT_LAYOUT_NO_FEATURE_INDEX: Int = 65535
Link copied to clipboard
const val OT_LAYOUT_NO_SCRIPT_INDEX: Int = 65535
Link copied to clipboard
const val OT_LAYOUT_NO_VARIATIONS_INDEX: <Error class: unknown class>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
const val OT_VAR_NO_AXIS_INDEX: <Error class: unknown class>
Link copied to clipboard
const val UNICODE_MAX: Int = 1114111
Link copied to clipboard

See Unicode 6.1 for details on the maximum decomposition length.

Link copied to clipboard
const val VERSION_MAJOR: Int = 2
Link copied to clipboard
const val VERSION_MICRO: Int = 4
Link copied to clipboard
const val VERSION_MINOR: Int = 7
Link copied to clipboard

Functions

Link copied to clipboard

Makes a writable copy of @blob.

Link copied to clipboard

Creates a new blob containing the data from the specified binary font file.

Link copied to clipboard
fun blobCreateSubBlob(parent: Blob, offset: <Error class: unknown class>, length: <Error class: unknown class>): Blob

Returns a blob that represents a range of bytes in @parent. The new blob is always created with %HB_MEMORY_MODE_READONLY, meaning that it will never modify data in the parent blob. The parent data is not expected to be modified, and will result in undefined behavior if it is.

Link copied to clipboard

Returns the singleton empty blob.

Link copied to clipboard
fun blobGetLength(blob: Blob): <Error class: unknown class>

Fetches the length of a blob's data.

Link copied to clipboard

Makes a blob immutable.

Link copied to clipboard
fun bufferAppend(buffer: Buffer, source: Buffer, start: <Error class: unknown class>, end: <Error class: unknown class>)

Append (part of) contents of another buffer to this buffer.

Link copied to clipboard

Similar to hb_buffer_reset(), but does not clear the Unicode functions and the replacement code point.

Link copied to clipboard

Creates a new #hb_buffer_t with all properties to defaults.

Link copied to clipboard

Fetches the cluster level of a buffer. The #hb_buffer_cluster_level_t dictates one aspect of how HarfBuzz will treat non-base characters during shaping.

Link copied to clipboard

Fetches the type of @buffer contents. Buffers are either empty, contain characters (before shaping), or contain glyphs (the result of shaping).

Link copied to clipboard

See hb_buffer_set_direction()

Link copied to clipboard

Fetches an empty #hb_buffer_t.

Link copied to clipboard

Fetches the #hb_buffer_flags_t of @buffer.

Link copied to clipboard
fun bufferGetLength(buffer: Buffer): <Error class: unknown class>

Returns the number of items in the buffer.

Link copied to clipboard

Fetches the script of @buffer.

Link copied to clipboard

Sets @props to the #hb_segment_properties_t of @buffer.

Link copied to clipboard

Fetches the Unicode-functions structure of a buffer.

Link copied to clipboard

Sets unset buffer segment properties based on buffer Unicode contents. If buffer is not empty, it must have content type %HB_BUFFER_CONTENT_TYPE_UNICODE.

Link copied to clipboard

Reorders a glyph buffer to have canonical in-cluster glyph order / position. The resulting clusters should behave identical to pre-reordering clusters.

Link copied to clipboard
fun bufferReset(buffer: Buffer)

Resets the buffer to its initial status, as if it was just newly created with hb_buffer_create().

Link copied to clipboard
fun bufferReverse(buffer: Buffer)

Reverses buffer contents.

Link copied to clipboard

Reverses buffer clusters. That is, the buffer contents are reversed, then each cluster (consecutive items having the same cluster number) are reversed again.

Link copied to clipboard
fun bufferReverseRange(buffer: Buffer, start: <Error class: unknown class>, end: <Error class: unknown class>)

Reverses buffer contents between @start and @end.

Link copied to clipboard

Returns a list of supported buffer serialization formats.

Link copied to clipboard
fun bufferSetClusterLevel(buffer: Buffer, clusterLevel: BufferClusterLevel)

Sets the cluster level of a buffer. The #hb_buffer_cluster_level_t dictates one aspect of how HarfBuzz will treat non-base characters during shaping.

Link copied to clipboard
fun bufferSetContentType(buffer: Buffer, contentType: BufferContentType)

Sets the type of @buffer contents. Buffers are either empty, contain characters (before shaping), or contain glyphs (the result of shaping).

Link copied to clipboard
fun bufferSetDirection(buffer: Buffer, direction: Direction)

Set the text flow direction of the buffer. No shaping can happen without setting @buffer direction, and it controls the visual direction for the output glyphs; for RTL direction the glyphs will be reversed. Many layout features depend on the proper setting of the direction, for example, reversing RTL text before shaping, then shaping with LTR direction is not the same as keeping the text in logical order and shaping with RTL direction.

Link copied to clipboard
fun bufferSetFlags(buffer: Buffer, flags: BufferFlags)

Sets @buffer flags to @flags. See #hb_buffer_flags_t.

Link copied to clipboard
fun bufferSetScript(buffer: Buffer, script: Script)

Sets the script of @buffer to @script.

Link copied to clipboard

Sets the segment properties of the buffer, a shortcut for calling hb_buffer_set_direction(), hb_buffer_set_script() and hb_buffer_set_language() individually.

Link copied to clipboard
fun bufferSetUnicodeFuncs(buffer: Buffer, unicodeFuncs: UnicodeFuncs)

Sets the Unicode-functions structure of a buffer to

Link copied to clipboard

Creates a #hb_face_t that can be used with hb_face_builder_add_table(). After tables are added to the face, it can be compiled to a binary font file by calling hb_face_reference_blob().

Link copied to clipboard
fun faceCollectUnicodes(face: Face, out: Set)

Collects all of the Unicode characters covered by @face and adds them to the #hb_set_t set @out.

Link copied to clipboard

Collects all Unicode "Variation Selector" characters covered by @face and adds them to the #hb_set_t set @out.

Link copied to clipboard
fun faceCount(blob: Blob): <Error class: unknown class>

Fetches the number of faces in a blob.

Link copied to clipboard
fun faceCreate(blob: Blob, index: <Error class: unknown class>): Face

Constructs a new face object from the specified blob and a face index into that blob. This is used for blobs of file formats such as Dfont and TTC that can contain more than one face.

Link copied to clipboard

Fetches the singleton empty face object.

Link copied to clipboard
fun faceGetGlyphCount(face: Face): <Error class: unknown class>

Fetches the glyph-count value of the specified face object.

Link copied to clipboard
fun faceGetIndex(face: Face): <Error class: unknown class>

Fetches the face-index corresponding to the given face.

Link copied to clipboard
fun faceGetUpem(face: Face): <Error class: unknown class>

Fetches the units-per-em (upem) value of the specified face object.

Link copied to clipboard

Makes the given face object immutable.

Link copied to clipboard

Fetches a pointer to the binary blob that contains the specified face. Returns an empty blob if referencing face data is not possible.

Link copied to clipboard
fun faceSetGlyphCount(face: Face, glyphCount: <Error class: unknown class>)

Sets the glyph count for a face object to the specified value.

Link copied to clipboard
fun faceSetIndex(face: Face, index: <Error class: unknown class>)

Assigns the specified face-index to @face. Fails if the face is immutable.

Link copied to clipboard
fun faceSetUpem(face: Face, upem: <Error class: unknown class>)

Sets the units-per-em (upem) for a face object to the specified value.

Link copied to clipboard
fun fontCreate(face: Face): Font

Constructs a new font object from the specified face.

Link copied to clipboard

Constructs a sub-font font object from the specified @parent font, replicating the parent's properties.

Link copied to clipboard

Creates a new #hb_font_funcs_t structure of font functions.

Link copied to clipboard

Fetches an empty font-functions structure.

Link copied to clipboard

Makes a font-functions structure immutable.

Link copied to clipboard

Fetches the empty font object.

Link copied to clipboard
fun fontGetExtentsForDirection(font: Font, direction: Direction, extents: FontExtents)

Fetches the extents for a font in a text segment of the specified direction.

Link copied to clipboard
fun fontGetFace(font: Font): Face

Fetches the face associated with the specified font object.

Link copied to clipboard
fun fontGetParent(font: Font): Font

Fetches the parent font of @font.

Link copied to clipboard
fun fontGetPtem(font: Font): Float

Fetches the "point size" of a font. Used in CoreText to implement optical sizing.

Link copied to clipboard

Makes @font immutable.

Link copied to clipboard
fun fontSetFace(font: Font, face: Face)

Sets @face as the font-face value of @font.

Link copied to clipboard
fun fontSetParent(font: Font, parent: Font)

Sets the parent font of @font.

Link copied to clipboard
fun fontSetPpem(font: Font, xPpem: <Error class: unknown class>, yPpem: <Error class: unknown class>)

Sets the horizontal and vertical pixels-per-em (ppem) of a font.

Link copied to clipboard
fun fontSetPtem(font: Font, ptem: Float)

Sets the "point size" of a font. Set to zero to unset. Used in CoreText to implement optical sizing.

Link copied to clipboard
fun fontSetScale(font: Font, xScale: Int, yScale: Int)

Sets the horizontal and vertical scale of a font.

Link copied to clipboard
fun fontSetVarNamedInstance(font: Font, instanceIndex: <Error class: unknown class>)

Sets design coords of a font from a named instance index.

Link copied to clipboard
fun ftFontChanged(font: Font)
Link copied to clipboard

Fetches the FT_Load_Glyph load flags of the specified #hb_font_t.

Link copied to clipboard
fun ftFontSetFuncs(font: Font)

Configures the font-functions structure of the specified #hb_font_t font object to use FreeType font functions.

Link copied to clipboard
fun ftFontSetLoadFlags(font: Font, loadFlags: Int)

Sets the FT_Load_Glyph load flags for the specified #hb_font_t.

Link copied to clipboard
Link copied to clipboard
fun glibBlobCreate(gbytes: <Error class: unknown class>): Blob

Creates an #hb_blob_t blob from the specified GBytes data structure.

Link copied to clipboard

Fetches a Unicode-functions structure that is populated with the appropriate GLib function for each method.

Link copied to clipboard

Returns glyph flags encoded within a #hb_glyph_info_t.

Link copied to clipboard
fun mapClear(map: Map)

Clears out the contents of @map.

Link copied to clipboard
fun mapCreate(): Map

Creates a new, initially empty map.

Link copied to clipboard

Fetches the singleton empty #hb_map_t.

Link copied to clipboard
fun mapGetPopulation(map: Map): <Error class: unknown class>

Returns the number of key-value pairs in the map.

Link copied to clipboard
fun otColorPaletteGetCount(face: Face): <Error class: unknown class>

Fetches the number of color palettes in a face.

Link copied to clipboard
fun otColorPaletteGetFlags(face: Face, paletteIndex: <Error class: unknown class>): OtColorPaletteFlags

Fetches the flags defined for a color palette.

Link copied to clipboard
fun otFontSetFuncs(font: Font)

Sets the font functions to use when working with @font.

Link copied to clipboard

Retrieves the set of all glyphs from the face that belong to the requested glyph class in the face's GDEF table.

Link copied to clipboard
fun otLayoutLookupsSubstituteClosure(face: Face, lookups: Set, glyphs: Set)

Compute the transitive closure of glyphs needed for all of the provided lookups.

Link copied to clipboard
fun otLayoutLookupSubstituteClosure(face: Face, lookupIndex: <Error class: unknown class>, glyphs: Set)

Compute the transitive closure of glyphs needed for a specified lookup.

Link copied to clipboard
fun otMetaReferenceEntry(face: Face, metaTag: OtMetaTag): Blob

It fetches metadata entry of a given tag from a font.

Link copied to clipboard
fun otMetricsGetVariation(font: Font, metricsTag: OtMetricsTag): Float
Link copied to clipboard
fun otVarGetAxisCount(face: Face): <Error class: unknown class>

Fetches the number of OpenType variation axes included in the face.

Link copied to clipboard
fun otVarGetNamedInstanceCount(face: Face): <Error class: unknown class>

Fetches the number of named instances included in the face.

Link copied to clipboard

Fetches the #hb_direction_t of a script when it is set horizontally. All right-to-left scripts will return #HB_DIRECTION_RTL. All left-to-right scripts will return #HB_DIRECTION_LTR. Scripts that can be written either horizontally or vertically will return #HB_DIRECTION_INVALID. Unknown scripts will return #HB_DIRECTION_LTR.

Link copied to clipboard
fun segmentPropertiesHash(p: SegmentProperties): <Error class: unknown class>

Creates a hash representing @p.

Link copied to clipboard
fun setClear(set: Set)

Clears out the contents of a set.

Link copied to clipboard
fun setCreate(): Set

Creates a new, initially empty set.

Link copied to clipboard

Fetches the singleton empty #hb_set_t.

Link copied to clipboard
fun setGetPopulation(set: Set): <Error class: unknown class>

Returns the number of elements in the set.

Link copied to clipboard
fun setIntersect(set: Set, other: Set)

Makes @set the intersection of @set and @other.

Link copied to clipboard
fun setInvert(set: Set)

Inverts the contents of @set.

Link copied to clipboard
fun setSet(set: Set, other: Set)

Makes the contents of @set equal to the contents of @other.

Link copied to clipboard
fun setSubtract(set: Set, other: Set)

Subtracts the contents of @other from @set.

Link copied to clipboard
fun setSymmetricDifference(set: Set, other: Set)

Makes @set the symmetric difference of @set and @other.

Link copied to clipboard
fun setUnion(set: Set, other: Set)

Makes @set the union of @set and @other.

Link copied to clipboard

Retrieves the list of shapers supported by HarfBuzz.

Link copied to clipboard

Fetches the singleton empty shaping plan.

Link copied to clipboard

Fetches the shaper from a given shaping plan.

Link copied to clipboard

Creates a new #hb_unicode_funcs_t structure of Unicode functions.

Link copied to clipboard

Fetches a pointer to the default Unicode-functions structure that is used when no functions are explicitly set on #hb_buffer_t.

Link copied to clipboard

Fetches the singleton empty Unicode-functions structure.

Link copied to clipboard

Fetches the parent of the Unicode-functions structure

Link copied to clipboard

Makes the specified Unicode-functions structure immutable.

Link copied to clipboard

Returns library version as a string with three components.