Top Description Inners Fields Constructors Methods
org.lwjgl.util.harfbuzz

public Class HarfBuzz

extends Object
Class Inheritance
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Native bindings to HarfBuzz, a text shaping library.

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.

FreeType interop

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:

The org.lwjgl.harfbuzz.natives module is not necessary when enabling the above.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
HarfBuzz.Functions

Contains the function pointers loaded from the harfbuzz SharedLibrary.

Field Summary

Modifier and TypeField and Description
private static final int
private static final SharedLibrary
public static final int
HB_BUFFER_CLUSTER_LEVEL_CHARACTERS

Data type for holding HarfBuzz's clustering behavior options.

public static final int
HB_BUFFER_CLUSTER_LEVEL_DEFAULT

Data type for holding HarfBuzz's clustering behavior options.

public static final int
HB_BUFFER_CLUSTER_LEVEL_MONOTONE_CHARACTERS

Data type for holding HarfBuzz's clustering behavior options.

public static final int
HB_BUFFER_CLUSTER_LEVEL_MONOTONE_GRAPHEMES

Data type for holding HarfBuzz's clustering behavior options.

public static final int
HB_BUFFER_CONTENT_TYPE_GLYPHS

hb_buffer_t Enum values:

public static final int
HB_BUFFER_CONTENT_TYPE_INVALID

hb_buffer_t Enum values:

public static final int
HB_BUFFER_CONTENT_TYPE_UNICODE

hb_buffer_t Enum values:

public static final int
HB_BUFFER_DIFF_FLAG_CLUSTER_MISMATCH

Flags from comparing two hb_buffer_t's.

public static final int
HB_BUFFER_DIFF_FLAG_CODEPOINT_MISMATCH

Flags from comparing two hb_buffer_t's.

public static final int
HB_BUFFER_DIFF_FLAG_CONTENT_TYPE_MISMATCH

Flags from comparing two hb_buffer_t's.

public static final int
HB_BUFFER_DIFF_FLAG_DOTTED_CIRCLE_PRESENT

Flags from comparing two hb_buffer_t's.

public static final int
HB_BUFFER_DIFF_FLAG_EQUAL

Flags from comparing two hb_buffer_t's.

public static final int
HB_BUFFER_DIFF_FLAG_GLYPH_FLAGS_MISMATCH

Flags from comparing two hb_buffer_t's.

public static final int
HB_BUFFER_DIFF_FLAG_LENGTH_MISMATCH

Flags from comparing two hb_buffer_t's.

public static final int
HB_BUFFER_DIFF_FLAG_NOTDEF_PRESENT

Flags from comparing two hb_buffer_t's.

public static final int
HB_BUFFER_DIFF_FLAG_POSITION_MISMATCH

Flags from comparing two hb_buffer_t's.

public static final int
HB_BUFFER_FLAG_BOT

Flags for hb_buffer_t.

public static final int
HB_BUFFER_FLAG_DEFAULT

Flags for hb_buffer_t.

public static final int
HB_BUFFER_FLAG_DEFINED

Flags for hb_buffer_t.

public static final int
public static final int
HB_BUFFER_FLAG_EOT

Flags for hb_buffer_t.

public static final int
public static final int
public static final int
public static final int
public static final int
HB_BUFFER_FLAG_VERIFY

Flags for hb_buffer_t.

public static final int
HB_BUFFER_REPLACEMENT_CODEPOINT_DEFAULT

The default code point for replacing invalid characters in a given encoding.

public static final int
HB_BUFFER_SERIALIZE_FLAG_DEFAULT

Flags that control what glyph information are serialized in buffer_serialize_glyphs.

public static final int
HB_BUFFER_SERIALIZE_FLAG_DEFINED

Flags that control what glyph information are serialized in buffer_serialize_glyphs.

public static final int
HB_BUFFER_SERIALIZE_FLAG_GLYPH_EXTENTS

Flags that control what glyph information are serialized in buffer_serialize_glyphs.

public static final int
HB_BUFFER_SERIALIZE_FLAG_GLYPH_FLAGS

Flags that control what glyph information are serialized in buffer_serialize_glyphs.

public static final int
HB_BUFFER_SERIALIZE_FLAG_NO_ADVANCES

Flags that control what glyph information are serialized in buffer_serialize_glyphs.

public static final int
HB_BUFFER_SERIALIZE_FLAG_NO_CLUSTERS

Flags that control what glyph information are serialized in buffer_serialize_glyphs.

public static final int
HB_BUFFER_SERIALIZE_FLAG_NO_GLYPH_NAMES

Flags that control what glyph information are serialized in buffer_serialize_glyphs.

public static final int
HB_BUFFER_SERIALIZE_FLAG_NO_POSITIONS

Flags that control what glyph information are serialized in buffer_serialize_glyphs.

public static final int
HB_BUFFER_SERIALIZE_FORMAT_INVALID

The buffer serialization and de-serialization format used in buffer_serialize_glyphs and buffer_deserialize_glyphs.

public static final int
HB_BUFFER_SERIALIZE_FORMAT_JSON

The buffer serialization and de-serialization format used in buffer_serialize_glyphs and buffer_deserialize_glyphs.

public static final int
HB_BUFFER_SERIALIZE_FORMAT_TEXT

The buffer serialization and de-serialization format used in buffer_serialize_glyphs and buffer_deserialize_glyphs.

public static final int
HB_CODEPOINT_INVALID

Unused hb_codepoint_t value.

public static final int
HB_DIRECTION_BTT

The direction of a text segment or buffer.

public static final int
HB_DIRECTION_INVALID

The direction of a text segment or buffer.

public static final int
HB_DIRECTION_LTR

The direction of a text segment or buffer.

public static final int
HB_DIRECTION_RTL

The direction of a text segment or buffer.

public static final int
HB_DIRECTION_TTB

The direction of a text segment or buffer.

public static final hb_draw_state_t
public static final int
HB_FEATURE_GLOBAL_END

Special setting for hb_feature_t.end to apply the feature from to the end of the buffer.

public static final int
HB_FEATURE_GLOBAL_START

Special setting for hb_feature_t.start to apply the feature from the start of the buffer.

public static final int
HB_FONT_NO_VAR_NAMED_INSTANCE

Constant signifying that a font does not have any named-instance index set.

public static final int
HB_GLYPH_FLAG_DEFINED

Flags for hb_glyph_info_t.

public static final int
HB_GLYPH_FLAG_SAFE_TO_INSERT_TATWEEL

Flags for hb_glyph_info_t.

public static final int
HB_GLYPH_FLAG_UNSAFE_TO_BREAK

Flags for hb_glyph_info_t.

public static final int
HB_GLYPH_FLAG_UNSAFE_TO_CONCAT

Flags for hb_glyph_info_t.

public static final int
HB_LANGUAGE_INVALID

An unset hb_language_t.

public static final int
public static final int
HB_MEMORY_MODE_DUPLICATE

Data type holding the memory modes available to client programs.

public static final int
HB_MEMORY_MODE_READONLY

Data type holding the memory modes available to client programs.

public static final int
HB_MEMORY_MODE_READONLY_MAY_MAKE_WRITABLE

Data type holding the memory modes available to client programs.

public static final int
HB_MEMORY_MODE_WRITABLE

Data type holding the memory modes available to client programs.

public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
HB_PAINT_EXTEND_PAD

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

public static final int
HB_PAINT_EXTEND_REFLECT

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

public static final int
HB_PAINT_EXTEND_REPEAT

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

public static final int
HB_PAINT_IMAGE_FORMAT_BGRA

Tag identifying raw pixel-data images in hb_paint_image_func_t callbacks.

public static final int
HB_PAINT_IMAGE_FORMAT_PNG

Tag identifying PNG images in hb_paint_image_func_t callbacks.

public static final int
HB_PAINT_IMAGE_FORMAT_SVG

Tag identifying SVG images in hb_paint_image_func_t callbacks.

public static final int
HB_SCRIPT_ADLAM

Data type for scripts.

public static final int
HB_SCRIPT_AHOM

Data type for scripts.

public static final int
HB_SCRIPT_ANATOLIAN_HIEROGLYPHS

Data type for scripts.

public static final int
HB_SCRIPT_ARABIC

Data type for scripts.

public static final int
HB_SCRIPT_ARMENIAN

Data type for scripts.

public static final int
HB_SCRIPT_AVESTAN

Data type for scripts.

public static final int
HB_SCRIPT_BALINESE

Data type for scripts.

public static final int
HB_SCRIPT_BAMUM

Data type for scripts.

public static final int
HB_SCRIPT_BASSA_VAH

Data type for scripts.

public static final int
HB_SCRIPT_BATAK

Data type for scripts.

public static final int
HB_SCRIPT_BENGALI

Data type for scripts.

public static final int
HB_SCRIPT_BHAIKSUKI

Data type for scripts.

public static final int
HB_SCRIPT_BOPOMOFO

Data type for scripts.

public static final int
HB_SCRIPT_BRAHMI

Data type for scripts.

public static final int
HB_SCRIPT_BRAILLE

Data type for scripts.

public static final int
HB_SCRIPT_BUGINESE

Data type for scripts.

public static final int
HB_SCRIPT_BUHID

Data type for scripts.

public static final int
HB_SCRIPT_CANADIAN_SYLLABICS

Data type for scripts.

public static final int
HB_SCRIPT_CARIAN

Data type for scripts.

public static final int
HB_SCRIPT_CAUCASIAN_ALBANIAN

Data type for scripts.

public static final int
HB_SCRIPT_CHAKMA

Data type for scripts.

public static final int
HB_SCRIPT_CHAM

Data type for scripts.

public static final int
HB_SCRIPT_CHEROKEE

Data type for scripts.

public static final int
HB_SCRIPT_CHORASMIAN

Data type for scripts.

public static final int
HB_SCRIPT_COMMON

Data type for scripts.

public static final int
HB_SCRIPT_COPTIC

Data type for scripts.

public static final int
HB_SCRIPT_CUNEIFORM

Data type for scripts.

public static final int
HB_SCRIPT_CYPRIOT

Data type for scripts.

public static final int
HB_SCRIPT_CYPRO_MINOAN

Data type for scripts.

public static final int
HB_SCRIPT_CYRILLIC

Data type for scripts.

public static final int
HB_SCRIPT_DESERET

Data type for scripts.

public static final int
HB_SCRIPT_DEVANAGARI

Data type for scripts.

public static final int
HB_SCRIPT_DIVES_AKURU

Data type for scripts.

public static final int
HB_SCRIPT_DOGRA

Data type for scripts.

public static final int
HB_SCRIPT_DUPLOYAN

Data type for scripts.

public static final int
HB_SCRIPT_EGYPTIAN_HIEROGLYPHS

Data type for scripts.

public static final int
HB_SCRIPT_ELBASAN

Data type for scripts.

public static final int
HB_SCRIPT_ELYMAIC

Data type for scripts.

public static final int
HB_SCRIPT_ETHIOPIC

Data type for scripts.

public static final int
HB_SCRIPT_GEORGIAN

Data type for scripts.

public static final int
HB_SCRIPT_GLAGOLITIC

Data type for scripts.

public static final int
HB_SCRIPT_GOTHIC

Data type for scripts.

public static final int
HB_SCRIPT_GRANTHA

Data type for scripts.

public static final int
HB_SCRIPT_GREEK

Data type for scripts.

public static final int
HB_SCRIPT_GUJARATI

Data type for scripts.

public static final int
HB_SCRIPT_GUNJALA_GONDI

Data type for scripts.

public static final int
HB_SCRIPT_GURMUKHI

Data type for scripts.

public static final int
HB_SCRIPT_HAN

Data type for scripts.

public static final int
HB_SCRIPT_HANGUL

Data type for scripts.

public static final int
HB_SCRIPT_HANIFI_ROHINGYA

Data type for scripts.

public static final int
HB_SCRIPT_HANUNOO

Data type for scripts.

public static final int
HB_SCRIPT_HATRAN

Data type for scripts.

public static final int
HB_SCRIPT_HEBREW

Data type for scripts.

public static final int
HB_SCRIPT_HIRAGANA

Data type for scripts.

public static final int
HB_SCRIPT_IMPERIAL_ARAMAIC

Data type for scripts.

public static final int
HB_SCRIPT_INHERITED

Data type for scripts.

public static final int
HB_SCRIPT_INSCRIPTIONAL_PAHLAVI

Data type for scripts.

public static final int
HB_SCRIPT_INSCRIPTIONAL_PARTHIAN

Data type for scripts.

public static final int
HB_SCRIPT_INVALID

Data type for scripts.

public static final int
HB_SCRIPT_JAVANESE

Data type for scripts.

public static final int
HB_SCRIPT_KAITHI

Data type for scripts.

public static final int
HB_SCRIPT_KANNADA

Data type for scripts.

public static final int
HB_SCRIPT_KATAKANA

Data type for scripts.

public static final int
HB_SCRIPT_KAWI

Data type for scripts.

public static final int
HB_SCRIPT_KAYAH_LI

Data type for scripts.

public static final int
HB_SCRIPT_KHAROSHTHI

Data type for scripts.

public static final int
HB_SCRIPT_KHITAN_SMALL_SCRIPT

Data type for scripts.

public static final int
HB_SCRIPT_KHMER

Data type for scripts.

public static final int
HB_SCRIPT_KHOJKI

Data type for scripts.

public static final int
HB_SCRIPT_KHUDAWADI

Data type for scripts.

public static final int
HB_SCRIPT_LAO

Data type for scripts.

public static final int
HB_SCRIPT_LATIN

Data type for scripts.

public static final int
HB_SCRIPT_LEPCHA

Data type for scripts.

public static final int
HB_SCRIPT_LIMBU

Data type for scripts.

public static final int
HB_SCRIPT_LINEAR_A

Data type for scripts.

public static final int
HB_SCRIPT_LINEAR_B

Data type for scripts.

public static final int
HB_SCRIPT_LISU

Data type for scripts.

public static final int
HB_SCRIPT_LYCIAN

Data type for scripts.

public static final int
HB_SCRIPT_LYDIAN

Data type for scripts.

public static final int
HB_SCRIPT_MAHAJANI

Data type for scripts.

public static final int
HB_SCRIPT_MAKASAR

Data type for scripts.

public static final int
HB_SCRIPT_MALAYALAM

Data type for scripts.

public static final int
HB_SCRIPT_MANDAIC

Data type for scripts.

public static final int
HB_SCRIPT_MANICHAEAN

Data type for scripts.

public static final int
HB_SCRIPT_MARCHEN

Data type for scripts.

public static final int
HB_SCRIPT_MASARAM_GONDI

Data type for scripts.

public static final int
HB_SCRIPT_MATH

Data type for scripts.

public static final int
HB_SCRIPT_MEDEFAIDRIN

Data type for scripts.

public static final int
HB_SCRIPT_MEETEI_MAYEK

Data type for scripts.

public static final int
HB_SCRIPT_MENDE_KIKAKUI

Data type for scripts.

public static final int
HB_SCRIPT_MEROITIC_CURSIVE

Data type for scripts.

public static final int
HB_SCRIPT_MEROITIC_HIEROGLYPHS

Data type for scripts.

public static final int
HB_SCRIPT_MIAO

Data type for scripts.

public static final int
HB_SCRIPT_MODI

Data type for scripts.

public static final int
HB_SCRIPT_MONGOLIAN

Data type for scripts.

public static final int
HB_SCRIPT_MRO

Data type for scripts.

public static final int
HB_SCRIPT_MULTANI

Data type for scripts.

public static final int
HB_SCRIPT_MYANMAR

Data type for scripts.

public static final int
HB_SCRIPT_NABATAEAN

Data type for scripts.

public static final int
HB_SCRIPT_NAG_MUNDARI

Data type for scripts.

public static final int
HB_SCRIPT_NANDINAGARI

Data type for scripts.

public static final int
HB_SCRIPT_NEW_TAI_LUE

Data type for scripts.

public static final int
HB_SCRIPT_NEWA

Data type for scripts.

public static final int
HB_SCRIPT_NKO

Data type for scripts.

public static final int
HB_SCRIPT_NUSHU

Data type for scripts.

public static final int
HB_SCRIPT_NYIAKENG_PUACHUE_HMONG

Data type for scripts.

public static final int
HB_SCRIPT_OGHAM

Data type for scripts.

public static final int
HB_SCRIPT_OL_CHIKI

Data type for scripts.

public static final int
HB_SCRIPT_OLD_HUNGARIAN

Data type for scripts.

public static final int
HB_SCRIPT_OLD_ITALIC

Data type for scripts.

public static final int
HB_SCRIPT_OLD_NORTH_ARABIAN

Data type for scripts.

public static final int
HB_SCRIPT_OLD_PERMIC

Data type for scripts.

public static final int
HB_SCRIPT_OLD_PERSIAN

Data type for scripts.

public static final int
HB_SCRIPT_OLD_SOGDIAN

Data type for scripts.

public static final int
HB_SCRIPT_OLD_SOUTH_ARABIAN

Data type for scripts.

public static final int
HB_SCRIPT_OLD_TURKIC

Data type for scripts.

public static final int
HB_SCRIPT_OLD_UYGHUR

Data type for scripts.

public static final int
HB_SCRIPT_ORIYA

Data type for scripts.

public static final int
HB_SCRIPT_OSAGE

Data type for scripts.

public static final int
HB_SCRIPT_OSMANYA

Data type for scripts.

public static final int
HB_SCRIPT_PAHAWH_HMONG

Data type for scripts.

public static final int
HB_SCRIPT_PALMYRENE

Data type for scripts.

public static final int
HB_SCRIPT_PAU_CIN_HAU

Data type for scripts.

public static final int
HB_SCRIPT_PHAGS_PA

Data type for scripts.

public static final int
HB_SCRIPT_PHOENICIAN

Data type for scripts.

public static final int
HB_SCRIPT_PSALTER_PAHLAVI

Data type for scripts.

public static final int
HB_SCRIPT_REJANG

Data type for scripts.

public static final int
HB_SCRIPT_RUNIC

Data type for scripts.

public static final int
HB_SCRIPT_SAMARITAN

Data type for scripts.

public static final int
HB_SCRIPT_SAURASHTRA

Data type for scripts.

public static final int
HB_SCRIPT_SHARADA

Data type for scripts.

public static final int
HB_SCRIPT_SHAVIAN

Data type for scripts.

public static final int
HB_SCRIPT_SIDDHAM

Data type for scripts.

public static final int
HB_SCRIPT_SIGNWRITING

Data type for scripts.

public static final int
HB_SCRIPT_SINHALA

Data type for scripts.

public static final int
HB_SCRIPT_SOGDIAN

Data type for scripts.

public static final int
HB_SCRIPT_SORA_SOMPENG

Data type for scripts.

public static final int
HB_SCRIPT_SOYOMBO

Data type for scripts.

public static final int
HB_SCRIPT_SUNDANESE

Data type for scripts.

public static final int
HB_SCRIPT_SYLOTI_NAGRI

Data type for scripts.

public static final int
HB_SCRIPT_SYRIAC

Data type for scripts.

public static final int
HB_SCRIPT_TAGALOG

Data type for scripts.

public static final int
HB_SCRIPT_TAGBANWA

Data type for scripts.

public static final int
HB_SCRIPT_TAI_LE

Data type for scripts.

public static final int
HB_SCRIPT_TAI_THAM

Data type for scripts.

public static final int
HB_SCRIPT_TAI_VIET

Data type for scripts.

public static final int
HB_SCRIPT_TAKRI

Data type for scripts.

public static final int
HB_SCRIPT_TAMIL

Data type for scripts.

public static final int
HB_SCRIPT_TANGSA

Data type for scripts.

public static final int
HB_SCRIPT_TANGUT

Data type for scripts.

public static final int
HB_SCRIPT_TELUGU

Data type for scripts.

public static final int
HB_SCRIPT_THAANA

Data type for scripts.

public static final int
HB_SCRIPT_THAI

Data type for scripts.

public static final int
HB_SCRIPT_TIBETAN

Data type for scripts.

public static final int
HB_SCRIPT_TIFINAGH

Data type for scripts.

public static final int
HB_SCRIPT_TIRHUTA

Data type for scripts.

public static final int
HB_SCRIPT_TOTO

Data type for scripts.

public static final int
HB_SCRIPT_UGARITIC

Data type for scripts.

public static final int
HB_SCRIPT_UNKNOWN

Data type for scripts.

public static final int
HB_SCRIPT_VAI

Data type for scripts.

public static final int
HB_SCRIPT_VITHKUQI

Data type for scripts.

public static final int
HB_SCRIPT_WANCHO

Data type for scripts.

public static final int
HB_SCRIPT_WARANG_CITI

Data type for scripts.

public static final int
HB_SCRIPT_YEZIDI

Data type for scripts.

public static final int
HB_SCRIPT_YI

Data type for scripts.

public static final int
HB_SCRIPT_ZANABAZAR_SQUARE

Data type for scripts.

public static final hb_segment_properties_t
HB_SEGMENT_PROPERTIES_DEFAULT

The default hb_segment_properties_t of of freshly created hb_buffer_t.

public static final int
public static final int
HB_TAG_MAX

Maximum possible unsigned hb_tag_t.

public static final int
HB_TAG_MAX_SIGNED

Maximum possible signed hb_tag_t.

public static final int
HB_TAG_NONE

Unset hb_tag_t.

public static final int
HB_UNICODE_COMBINING_CLASS_ABOVE

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

public static final int
HB_UNICODE_COMBINING_CLASS_ABOVE_LEFT

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

public static final int
HB_UNICODE_COMBINING_CLASS_ABOVE_RIGHT

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

public static final int
HB_UNICODE_COMBINING_CLASS_ATTACHED_ABOVE

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

public static final int
HB_UNICODE_COMBINING_CLASS_ATTACHED_ABOVE_RIGHT

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

public static final int
HB_UNICODE_COMBINING_CLASS_ATTACHED_BELOW

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

public static final int
HB_UNICODE_COMBINING_CLASS_ATTACHED_BELOW_LEFT

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

public static final int
HB_UNICODE_COMBINING_CLASS_BELOW

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

public static final int
HB_UNICODE_COMBINING_CLASS_BELOW_LEFT

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

public static final int
HB_UNICODE_COMBINING_CLASS_BELOW_RIGHT

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

public static final int
HB_UNICODE_COMBINING_CLASS_CCC10

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

public static final int
HB_UNICODE_COMBINING_CLASS_CCC103

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

public static final int
HB_UNICODE_COMBINING_CLASS_CCC107

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

public static final int
HB_UNICODE_COMBINING_CLASS_CCC11

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

public static final int
HB_UNICODE_COMBINING_CLASS_CCC118

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

public static final int
HB_UNICODE_COMBINING_CLASS_CCC12

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

public static final int
HB_UNICODE_COMBINING_CLASS_CCC122

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

public static final int
HB_UNICODE_COMBINING_CLASS_CCC129

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

public static final int
HB_UNICODE_COMBINING_CLASS_CCC13

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

public static final int
HB_UNICODE_COMBINING_CLASS_CCC130

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

public static final int
HB_UNICODE_COMBINING_CLASS_CCC132

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

public static final int
HB_UNICODE_COMBINING_CLASS_CCC14

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

public static final int
HB_UNICODE_COMBINING_CLASS_CCC15

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

public static final int
HB_UNICODE_COMBINING_CLASS_CCC16

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

public static final int
HB_UNICODE_COMBINING_CLASS_CCC17

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

public static final int
HB_UNICODE_COMBINING_CLASS_CCC18

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

public static final int
HB_UNICODE_COMBINING_CLASS_CCC19

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

public static final int
HB_UNICODE_COMBINING_CLASS_CCC20

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

public static final int
HB_UNICODE_COMBINING_CLASS_CCC21

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

public static final int
HB_UNICODE_COMBINING_CLASS_CCC22

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

public static final int
HB_UNICODE_COMBINING_CLASS_CCC23

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

public static final int
HB_UNICODE_COMBINING_CLASS_CCC24

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

public static final int
HB_UNICODE_COMBINING_CLASS_CCC25

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

public static final int
HB_UNICODE_COMBINING_CLASS_CCC26

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

public static final int
HB_UNICODE_COMBINING_CLASS_CCC27

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

public static final int
HB_UNICODE_COMBINING_CLASS_CCC28

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

public static final int
HB_UNICODE_COMBINING_CLASS_CCC29

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

public static final int
HB_UNICODE_COMBINING_CLASS_CCC30

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

public static final int
HB_UNICODE_COMBINING_CLASS_CCC31

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

public static final int
HB_UNICODE_COMBINING_CLASS_CCC32

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

public static final int
HB_UNICODE_COMBINING_CLASS_CCC33

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

public static final int
HB_UNICODE_COMBINING_CLASS_CCC34

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

public static final int
HB_UNICODE_COMBINING_CLASS_CCC35

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

public static final int
HB_UNICODE_COMBINING_CLASS_CCC36

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

public static final int
HB_UNICODE_COMBINING_CLASS_CCC84

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

public static final int
HB_UNICODE_COMBINING_CLASS_CCC91

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

public static final int
HB_UNICODE_COMBINING_CLASS_DOUBLE_ABOVE

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

public static final int
HB_UNICODE_COMBINING_CLASS_DOUBLE_BELOW

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

public static final int
HB_UNICODE_COMBINING_CLASS_INVALID

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

public static final int
HB_UNICODE_COMBINING_CLASS_IOTA_SUBSCRIPT

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

public static final int
HB_UNICODE_COMBINING_CLASS_KANA_VOICING

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

public static final int
HB_UNICODE_COMBINING_CLASS_LEFT

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

public static final int
HB_UNICODE_COMBINING_CLASS_NOT_REORDERED

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

public static final int
HB_UNICODE_COMBINING_CLASS_NUKTA

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

public static final int
HB_UNICODE_COMBINING_CLASS_OVERLAY

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

public static final int
HB_UNICODE_COMBINING_CLASS_RIGHT

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

public static final int
HB_UNICODE_COMBINING_CLASS_VIRAMA

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

public static final int
HB_UNICODE_GENERAL_CATEGORY_CLOSE_PUNCTUATION

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

public static final int
HB_UNICODE_GENERAL_CATEGORY_CONNECT_PUNCTUATION

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

public static final int
HB_UNICODE_GENERAL_CATEGORY_CONTROL

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

public static final int
HB_UNICODE_GENERAL_CATEGORY_CURRENCY_SYMBOL

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

public static final int
HB_UNICODE_GENERAL_CATEGORY_DASH_PUNCTUATION

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

public static final int
HB_UNICODE_GENERAL_CATEGORY_DECIMAL_NUMBER

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

public static final int
HB_UNICODE_GENERAL_CATEGORY_ENCLOSING_MARK

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

public static final int
HB_UNICODE_GENERAL_CATEGORY_FINAL_PUNCTUATION

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

public static final int
HB_UNICODE_GENERAL_CATEGORY_FORMAT

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

public static final int
HB_UNICODE_GENERAL_CATEGORY_INITIAL_PUNCTUATION

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

public static final int
HB_UNICODE_GENERAL_CATEGORY_LETTER_NUMBER

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

public static final int
HB_UNICODE_GENERAL_CATEGORY_LINE_SEPARATOR

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

public static final int
HB_UNICODE_GENERAL_CATEGORY_LOWERCASE_LETTER

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

public static final int
HB_UNICODE_GENERAL_CATEGORY_MATH_SYMBOL

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

public static final int
HB_UNICODE_GENERAL_CATEGORY_MODIFIER_LETTER

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

public static final int
HB_UNICODE_GENERAL_CATEGORY_MODIFIER_SYMBOL

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

public static final int
HB_UNICODE_GENERAL_CATEGORY_NON_SPACING_MARK

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

public static final int
HB_UNICODE_GENERAL_CATEGORY_OPEN_PUNCTUATION

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

public static final int
HB_UNICODE_GENERAL_CATEGORY_OTHER_LETTER

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

public static final int
HB_UNICODE_GENERAL_CATEGORY_OTHER_NUMBER

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

public static final int
HB_UNICODE_GENERAL_CATEGORY_OTHER_PUNCTUATION

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

public static final int
HB_UNICODE_GENERAL_CATEGORY_OTHER_SYMBOL

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

public static final int
HB_UNICODE_GENERAL_CATEGORY_PARAGRAPH_SEPARATOR

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

public static final int
HB_UNICODE_GENERAL_CATEGORY_PRIVATE_USE

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

public static final int
HB_UNICODE_GENERAL_CATEGORY_SPACE_SEPARATOR

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

public static final int
HB_UNICODE_GENERAL_CATEGORY_SPACING_MARK

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

public static final int
HB_UNICODE_GENERAL_CATEGORY_SURROGATE

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

public static final int
HB_UNICODE_GENERAL_CATEGORY_TITLECASE_LETTER

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

public static final int
HB_UNICODE_GENERAL_CATEGORY_UNASSIGNED

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

public static final int
HB_UNICODE_GENERAL_CATEGORY_UPPERCASE_LETTER

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

public static final int
HB_UNICODE_MAX

Maximum valid Unicode code point.

public static final int
public static final int
public static final int
public static final String
private static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static SharedLibrary
getLibrary()

Returns the harfbuzz SharedLibrary.

public static long
public static long
hb_blob_create(ByteBuffer data, int mode, long user_data, hb_destroy_func_tI destroy)

public static long
public static long
public static long
public static long
public static long
hb_blob_create_or_fail(ByteBuffer data, int mode, long user_data, hb_destroy_func_tI destroy)

public static long
hb_blob_create_sub_blob(long parent, int offset, int length)

Always creates with MEMORY_MODE_READONLY.

public static void
hb_blob_destroy(long blob)

public static ByteBuffer
hb_blob_get_data(long blob)

public static ByteBuffer
public static long
public static int
hb_blob_get_length(long blob)

public static long
public static boolean
public static void
public static long
hb_blob_reference(long blob)

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
hb_buffer_add(long buffer, int codepoint, int cluster)

public static void
hb_buffer_add_codepoints(long buffer, IntBuffer text, int item_offset, int item_length)

public static void
hb_buffer_add_latin1(long buffer, ByteBuffer text, int item_offset, int item_length)

public static void
hb_buffer_add_utf16(long buffer, ByteBuffer text, int item_offset, int item_length)

public static void
hb_buffer_add_utf16(long buffer, CharSequence text, int item_offset, int item_length)

public static void
hb_buffer_add_utf32(long buffer, IntBuffer text, int item_offset, int item_length)

public static void
hb_buffer_add_utf8(long buffer, ByteBuffer text, int item_offset, int item_length)

public static void
hb_buffer_add_utf8(long buffer, CharSequence text, int item_offset, int item_length)

public static boolean
public static void
hb_buffer_append(long buffer, long source, int start, int end)

public static void
hb_buffer_clear_contents(long buffer)

Content API.

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
hb_buffer_deserialize_unicode(long buffer, ByteBuffer buf, PointerBuffer end_ptr, int format)

public static void
hb_buffer_destroy(long buffer)

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
hb_buffer_get_flags(long buffer)

public static hb_glyph_info_t.Buffer
hb_buffer_get_glyph_infos(long buffer)

Getting glyphs out of the buffer

public static hb_glyph_position_t.Buffer
public static int
public static long
public static int
hb_buffer_get_length(long buffer)

public static int
public static int
public static int
hb_buffer_get_script(long buffer)

public static void
public static long
public static long
public static void
public static boolean
public static void
public static boolean
hb_buffer_pre_allocate(long buffer, int size)

public static long
hb_buffer_reference(long buffer)

public static void
hb_buffer_reset(long buffer)

public static void
hb_buffer_reverse(long buffer)

public static void
public static void
hb_buffer_reverse_range(long buffer, int start, int end)

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
hb_buffer_set_cluster_level(long buffer, int cluster_level)

public static void
hb_buffer_set_content_type(long buffer, int content_type)

public static void
hb_buffer_set_direction(long buffer, int direction)

public static void
hb_buffer_set_flags(long buffer, int flags)

public static void
hb_buffer_set_invisible_glyph(long buffer, int invisible)

public static void
hb_buffer_set_language(long buffer, long language)

public static boolean
hb_buffer_set_length(long buffer, int length)

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
hb_buffer_set_not_found_glyph(long buffer, int not_found)

public static void
hb_buffer_set_replacement_codepoint(long buffer, int replacement)

public static void
hb_buffer_set_script(long buffer, int script)

public static void
public static void
hb_buffer_set_unicode_funcs(long buffer, long unicode_funcs)

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
HB_COLOR(int b, int g, int r, int a)

public static byte
hb_color_get_alpha(int color)

public static byte
hb_color_get_blue(int color)

public static byte
hb_color_get_green(int color)

public static byte
hb_color_get_red(int color)

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
hb_direction_from_string(ByteBuffer str)

len=-1 means str is NUL-terminated

public static int
hb_direction_from_string(CharSequence str)

len=-1 means str is NUL-terminated

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
HB_DIRECTION_IS_HORIZONTAL(int dir)

Tests whether a text direction is horizontal.

public static boolean
HB_DIRECTION_IS_VALID(int dir)

Tests whether a text direction is valid.

public static boolean
HB_DIRECTION_IS_VERTICAL(int dir)

Tests whether a text direction is vertical.

public static int
HB_DIRECTION_REVERSE(int dir)

Reverses a text direction.

public static String
hb_direction_to_string(int direction)

public static void
hb_draw_close_path(long dfuncs, ByteBuffer draw_data, hb_draw_state_t st)

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
hb_draw_funcs_destroy(long dfuncs)

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 func
user_data
,
hb_destroy_func_tI
the function to call when user_data is not needed anymore
destroy
)

Sets 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 func
user_data
,
hb_destroy_func_tI
the function to call when user_data is not needed anymore
destroy
)

Sets 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 func
user_data
,
hb_destroy_func_tI
the function to call when user_data is not needed anymore
destroy
)

Sets 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 func
user_data
,
hb_destroy_func_tI
the function to call when user_data is not needed anymore
destroy
)

Sets 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 func
user_data
,
hb_destroy_func_tI
the function to call when user_data is not needed anymore
destroy
)

Sets 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
hb_draw_line_to(long dfuncs, ByteBuffer draw_data, hb_draw_state_t st, float to_x, float to_y)

public static void
hb_draw_move_to(long dfuncs, ByteBuffer draw_data, hb_draw_state_t st, float to_x, float to_y)

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
hb_face_builder_add_table(long face, int tag, long blob)

public static long
hb_face_builder_create()

Builder face.

public static void
public static void
hb_face_collect_nominal_glyph_mapping(long face, long mapping, long unicodes)

public static void
hb_face_collect_unicodes(long face, long out)

public static void
public static void
hb_face_collect_variation_unicodes(long face, int variation_selector, long out)

public static int
hb_face_count(long blob)

public static long
hb_face_create(long blob, int index)

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
hb_face_destroy(long face)

public static long
public static int
public static int
hb_face_get_index(long face)

public static int
hb_face_get_table_tags(long face, int start_offset, IntBuffer table_count, IntBuffer table_tags)

public static int
hb_face_get_upem(long face)

public static long
public static boolean
public static void
public static long
hb_face_reference(long face)

public static long
public static long
hb_face_reference_table(long face, int tag)

public static void
hb_face_set_glyph_count(long face, int glyph_count)

public static void
hb_face_set_index(long face, int index)

public static void
hb_face_set_upem(long face, int upem)

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
hb_font_changed(long font)

public static long
hb_font_create(long face)

Fonts are very light-weight objects

public static long
public static void
hb_font_destroy(long font)

public static void
hb_font_draw_glyph(long font, int glyph, long dfuncs, long draw_data)

public static long
public static void
hb_font_funcs_destroy(long ffuncs)

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 func
user_data
,
hb_destroy_func_tI
the function to call when user_data is not needed anymore
destroy
)

Sets the implementation function for hb_font_draw_glyph_func_t.

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 func
user_data
,
hb_destroy_func_tI
the function to call when user_data is not needed anymore
destroy
)

Sets the implementation function for hb_font_get_font_h_extents_func_t.

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 func
user_data
,
hb_destroy_func_tI
the function to call when user_data is not needed anymore
destroy
)

Sets the implementation function for hb_font_get_font_v_extents_func_t.

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 func
user_data
,
hb_destroy_func_tI
the function to call when user_data is not needed anymore
destroy
)

Sets the implementation function for hb_font_get_glyph_contour_point_func_t.

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 func
user_data
,
hb_destroy_func_tI
the function to call when user_data is not needed anymore
destroy
)

Sets the implementation function for hb_font_get_glyph_extents_func_t.

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 func
user_data
,
hb_destroy_func_tI
the function to call when user_data is not needed anymore
destroy
)

Sets the implementation function for hb_font_get_glyph_from_name_func_t.

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 func
user_data
,
hb_destroy_func_tI
the function to call when user_data is not needed anymore
destroy
)

Sets the implementation function for hb_font_get_glyph_h_advance_func_t.

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 func
user_data
,
hb_destroy_func_tI
the function to call when user_data is not needed anymore
destroy
)

Sets the implementation function for hb_font_get_glyph_h_advances_func_t.

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 func
user_data
,
hb_destroy_func_tI
the function to call when user_data is not needed anymore
destroy
)

Sets the implementation function for hb_font_get_glyph_h_kerning_func_t.

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 func
user_data
,
hb_destroy_func_tI
the function to call when user_data is not needed anymore
destroy
)

Sets the implementation function for hb_font_get_glyph_h_origin_func_t.

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 func
user_data
,
hb_destroy_func_tI
the function to call when user_data is not needed anymore
destroy
)

Sets the implementation function for hb_font_get_glyph_name_func_t.

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 func
user_data
,
hb_destroy_func_tI
the function to call when user_data is not needed anymore
destroy
)

Sets the implementation function for hb_font_get_glyph_v_advance_func_t.

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 func
user_data
,
hb_destroy_func_tI
the function to call when user_data is not needed anymore
destroy
)

Sets the implementation function for hb_font_get_glyph_v_advances_func_t.

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 func
user_data
,
hb_destroy_func_tI
the function to call when user_data is not needed anymore
destroy
)

Sets the implementation function for hb_font_get_glyph_v_origin_func_t.

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 func
user_data
,
hb_destroy_func_tI
the function to call when user_data is not needed anymore
destroy
)

Sets the implementation function for hb_font_get_nominal_glyph_func_t.

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 func
user_data
,
hb_destroy_func_tI
the function to call when user_data is not needed anymore
destroy
)

Sets the implementation function for hb_font_get_nominal_glyphs_func_t.

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 func
user_data
,
hb_destroy_func_tI
the function to call when user_data is not needed anymore
destroy
)

Sets the implementation function for hb_font_paint_glyph_func_t.

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 func
user_data
,
hb_destroy_func_tI
the function to call when user_data is not needed anymore
destroy
)

Sets the implementation function for hb_font_get_variation_glyph_func_t.

public static long
public static void
hb_font_get_extents_for_direction(long font, int direction, hb_font_extents_t extents)

public static long
hb_font_get_face(long font)

public static boolean
hb_font_get_glyph(long font, int unicode, int variation_selector, IntBuffer glyph)

Calls either font_get_nominal_glyph if variation_selector is 0, otherwise calls font_get_variation_glyph.

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
hb_font_get_glyph_contour_point(long font, int glyph, int point_index, IntBuffer x, IntBuffer y)

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
hb_font_get_glyph_extents(long font, int glyph, hb_glyph_extents_t extents)

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
hb_font_get_glyph_h_advance(long font, int glyph)

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
hb_font_get_glyph_h_kerning(long font, int left_glyph, int right_glyph)

public static boolean
hb_font_get_glyph_h_origin(long font, int glyph, IntBuffer x, IntBuffer y)

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
hb_font_get_glyph_name(long font, int glyph, ByteBuffer name)

public static void
hb_font_get_glyph_origin_for_direction(long font, int glyph, int direction, IntBuffer x, IntBuffer y)

public static int
hb_font_get_glyph_v_advance(long font, int glyph)

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
hb_font_get_glyph_v_origin(long font, int glyph, IntBuffer x, IntBuffer y)

public static boolean
hb_font_get_h_extents(long font, hb_font_extents_t extents)

func dispatch

public static boolean
hb_font_get_nominal_glyph(long font, int unicode, IntBuffer glyph)

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
hb_font_get_parent(long font)

public static void
hb_font_get_ppem(long font, IntBuffer x_ppem, IntBuffer y_ppem)

public static float
hb_font_get_ptem(long font)

public static void
hb_font_get_scale(long font, IntBuffer x_scale, IntBuffer y_scale)

public static int
hb_font_get_serial(long font)

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
hb_font_get_variation_glyph(long font, int unicode, int variation_selector, IntBuffer glyph)

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
hb_font_glyph_to_string(long font, int glyph, ByteBuffer s)

Generates gidDDD if glyph has no name.

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
hb_font_reference(long font)

public static void
hb_font_set_face(long font, long face)

public static void
hb_font_set_funcs(long font, long klass, long font_data, hb_destroy_func_tI destroy)

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
hb_font_set_parent(long font, long parent)

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
hb_font_set_ptem(long font, float ptem)

Point size per EM.

public static void
hb_font_set_scale(long font, int x_scale, int y_scale)

public static void
hb_font_set_synthetic_bold(long font, float x_embolden, float y_embolden, boolean in_place)

public static void
hb_font_set_synthetic_slant(long font, float slant)

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
hb_font_set_var_named_instance(long font, int instance_index)

public static void
hb_font_set_variation(long font, int tag, float value)

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
hb_ft_face_create(long ft_face, hb_destroy_func_tI destroy)

public static long
public static long
public static void
hb_ft_font_changed(long font)

public static long
hb_ft_font_create(long ft_face, hb_destroy_func_tI destroy)

public static long
public static long
public static int
public static long
public static void
public static void
hb_ft_font_set_load_flags(long font, int load_flags)

public static void
public static boolean
public static int
public static long
public static long
public static long
public static boolean
hb_language_matches(long language, long specific)

public static String
hb_language_to_string(long language)

public static boolean
hb_map_allocation_successful(long map)

Returns false if allocation has failed before.

public static void
hb_map_clear(long map)

public static long
hb_map_copy(long map)

public static long
public static void
hb_map_del(long map, int key)

public static void
hb_map_destroy(long map)

public static int
hb_map_get(long map, int key)

public static long
public static int
public static long
public static boolean
hb_map_has(long map, int key)

public static int
hb_map_hash(long map)

public static boolean
hb_map_is_empty(long map)

public static boolean
hb_map_is_equal(long map, long other)

public static void
hb_map_keys(long map, long keys)

public static boolean
hb_map_next(long map, IntBuffer idx, IntBuffer key, IntBuffer value)

public static long
hb_map_reference(long map)

public static void
hb_map_set(long map, int key, int value)

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
hb_map_update(long map, long other)

public static void
hb_map_values(long map, long values)

public static void
hb_paint_color(long funcs, long paint_data, boolean is_foreground, int color)

public static void
hb_paint_color_glyph(long funcs, long paint_data, int glyph, long font)

public static boolean
hb_paint_custom_palette_color(long funcs, long paint_data, int color_index, IntBuffer color)

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
public static void
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
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 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
hb_paint_pop_clip(long funcs, long paint_data)

public static void
hb_paint_pop_group(long funcs, long paint_data, int mode)

public static void
hb_paint_pop_transform(long funcs, long paint_data)

public static void
hb_paint_push_clip_glyph(long funcs, long paint_data, int glyph, long font)

public static void
hb_paint_push_clip_rectangle(long funcs, long paint_data, float xmin, float ymin, float xmax, float ymax)

public static void
hb_paint_push_group(long funcs, long paint_data)

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
hb_script_from_iso15924_tag(int tag)

Script functions

public static int
public static int
public static int
public static int
public static boolean
public static int
public static void
public static void
hb_set_add(long set, int codepoint)

public static void
hb_set_add_range(long set, int first, int last)

public static void
hb_set_add_sorted_array(long set, IntBuffer sorted_codepoints)

public static boolean
hb_set_allocation_successful(long set)

Returns false if allocation has failed before.

public static void
hb_set_clear(long set)

public static long
hb_set_copy(long set)

public static long
public static void
hb_set_del(long set, int codepoint)

public static void
hb_set_del_range(long set, int first, int last)

public static void
hb_set_destroy(long set)

public static long
public static int
hb_set_get_max(long set)

Returns SET_VALUE_INVALID if set empty.

public static int
hb_set_get_min(long set)

Returns SET_VALUE_INVALID if set empty.

public static int
public static long
public static boolean
hb_set_has(long set, int codepoint)

public static int
hb_set_hash(long set)

public static void
hb_set_intersect(long set, long other)

public static void
hb_set_invert(long set)

public static boolean
hb_set_is_empty(long set)

public static boolean
hb_set_is_equal(long set, long other)

public static boolean
public static boolean
hb_set_is_subset(long set, long larger_set)

public static boolean
hb_set_next(long set, IntBuffer codepoint)

Pass SET_VALUE_INVALID in to get started.

public static int
hb_set_next_many(long set, int codepoint, IntBuffer out)

Pass SET_VALUE_INVALID in to get started.

public static boolean
hb_set_next_range(long set, IntBuffer first, IntBuffer last)

Pass SET_VALUE_INVALID for first and last to get started.

public static boolean
hb_set_previous(long set, IntBuffer codepoint)

Pass SET_VALUE_INVALID in to get started.

public static boolean
hb_set_previous_range(long set, IntBuffer first, IntBuffer last)

Pass SET_VALUE_INVALID for first and last to get started.

public static long
hb_set_reference(long set)

public static void
hb_set_set(long set, long other)

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
hb_set_subtract(long set, long other)

public static void
hb_set_symmetric_difference(long set, long other)

public static void
hb_set_union(long set, long other)

public static void
hb_shape(long font, long buffer, hb_feature_t.Buffer features)

public static boolean
hb_shape_full(long font, long buffer, hb_feature_t.Buffer features, PointerBuffer shaper_list)

public static boolean
hb_shape_justify(long font, long buffer, hb_feature_t.Buffer features, PointerBuffer shaper_list, float min_target_advance, float max_target_advance, FloatBuffer advance, IntBuffer var_tag, FloatBuffer var_value)

public static PointerBuffer
public static PointerBuffer
hb_shape_list_shapers(long length)

public static long
hb_shape_plan_create(long face, hb_segment_properties_t props, hb_feature_t.Buffer user_features, PointerBuffer shaper_list)

public static long
hb_shape_plan_create2(long face, hb_segment_properties_t props, hb_feature_t.Buffer user_features, IntBuffer coords, PointerBuffer shaper_list)

public static long
public static long
public static void
hb_shape_plan_destroy(long shape_plan)

public static boolean
hb_shape_plan_execute(long shape_plan, long font, long buffer, hb_feature_t.Buffer features)

public static long
public static String
hb_shape_plan_get_shaper(long shape_plan)

public static long
public static long
hb_shape_plan_reference(long shape_plan)

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
hb_style_get_value(long font, int style_tag)

public static int
HB_TAG(int c1, int c2, int c3, int c4)

public static int
hb_tag_from_string(ByteBuffer str)

len=-1 means str is NUL-terminated.

public static int
hb_tag_from_string(CharSequence str)

len=-1 means str is NUL-terminated.

public static void
hb_tag_to_string(int tag, ByteBuffer buf)

buf should have 4 bytes.

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
hb_unicode_compose(long ufuncs, int a, int b, IntBuffer ab)

public static boolean
hb_unicode_decompose(long ufuncs, int ab, IntBuffer a, IntBuffer b)

public static long
public static void
public static long
hb_unicode_funcs_get_default()

just give me the best implementation you've got there.

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 func
user_data
,
hb_destroy_func_tI
the function to call when user_data is not needed anymore
destroy
)

Sets the implementation function for hb_unicode_combining_class_func_t.

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 func
user_data
,
hb_destroy_func_tI
the function to call when user_data is not needed anymore
destroy
)

Sets the implementation function for hb_unicode_compose_func_t.

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 func
user_data
,
hb_destroy_func_tI
the function to call when user_data is not needed anymore
destroy
)

Sets the implementation function for hb_unicode_decompose_func_t.

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 func
user_data
,
hb_destroy_func_tI
the function to call when user_data is not needed anymore
destroy
)

Sets the implementation function for hb_unicode_general_category_func_t.

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 func
user_data
,
hb_destroy_func_tI
the function to call when user_data is not needed anymore
destroy
)

Sets the implementation function for hb_unicode_mirroring_func_t.

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 func
user_data
,
hb_destroy_func_tI
the function to call when user_data is not needed anymore
destroy
)

Sets the implementation function for hb_unicode_script_func_t.

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 hb_script_t script to which code point unicode belongs.

public static boolean
public static boolean
public static void
public static void
hb_version(IntBuffer major, IntBuffer minor, IntBuffer micro)

public static boolean
hb_version_atleast(int major, int minor, int micro)

public static boolean
HB_VERSION_ATLEAST(int major, int minor, int micro)

public static String
public static long
nhb_blob_create(long data, int length, int mode, long user_data, long destroy)

public static long
nhb_blob_create_from_file(long file_name)

public static long
public static long
nhb_blob_create_or_fail(long data, int length, int mode, long user_data, long destroy)

public static long
nhb_blob_get_data(long blob, long length)

public static long
nhb_blob_get_data_writable(long blob, long length)

public static long
nhb_blob_get_user_data(long blob, long key)

public static int
nhb_blob_set_user_data(long blob, long key, long data, long destroy, int replace)

public static void
nhb_buffer_add_codepoints(long buffer, long text, int text_length, int item_offset, int item_length)

public static void
nhb_buffer_add_latin1(long buffer, long text, int text_length, int item_offset, int item_length)

public static void
nhb_buffer_add_utf16(long buffer, long text, int text_length, int item_offset, int item_length)

public static void
nhb_buffer_add_utf32(long buffer, long text, int text_length, int item_offset, int item_length)

public static void
nhb_buffer_add_utf8(long buffer, long text, int text_length, int item_offset, int item_length)

public static int
nhb_buffer_deserialize_glyphs(long buffer, long buf, int buf_len, long end_ptr, long font, int format)

public static int
nhb_buffer_deserialize_unicode(long buffer, long buf, int buf_len, long end_ptr, int format)

public static long
nhb_buffer_get_glyph_infos(long buffer, long length)

Unsafe version of: buffer_get_glyph_infos

public static long
nhb_buffer_get_glyph_positions(long buffer, long length)

public static void
nhb_buffer_get_segment_properties(long buffer, long props)

public static long
nhb_buffer_get_user_data(long buffer, long key)

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
nhb_buffer_set_message_func(long buffer, long func, long user_data, long destroy)

public static void
nhb_buffer_set_segment_properties(long buffer, long props)

public static int
nhb_buffer_set_user_data(long buffer, long key, long data, long destroy, int replace)

public static int
nhb_color_line_get_color_stops(long color_line, int start, long count, long color_stops)

public static int
nhb_color_line_get_extend(long color_line)

public static int
nhb_direction_from_string(long str, int len)

Unsafe version of: direction_from_string

public static long
nhb_direction_to_string(int direction)

public static void
nhb_draw_close_path(long dfuncs, long draw_data, long st)

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
nhb_draw_funcs_get_user_data(long dfuncs, long key)

public static void
nhb_draw_funcs_set_close_path_func(long dfuncs, long func, long user_data, long destroy)

Unsafe version of: draw_funcs_set_close_path_func

public static void
nhb_draw_funcs_set_cubic_to_func(long dfuncs, long func, long user_data, long destroy)

Unsafe version of: draw_funcs_set_cubic_to_func

public static void
nhb_draw_funcs_set_line_to_func(long dfuncs, long func, long user_data, long destroy)

Unsafe version of: draw_funcs_set_line_to_func

public static void
nhb_draw_funcs_set_move_to_func(long dfuncs, long func, long user_data, long destroy)

Unsafe version of: draw_funcs_set_move_to_func

public static void
nhb_draw_funcs_set_quadratic_to_func(long dfuncs, long func, long user_data, long destroy)

Unsafe version of: draw_funcs_set_quadratic_to_func

public static int
nhb_draw_funcs_set_user_data(long dfuncs, long key, long data, long destroy, int replace)

public static void
nhb_draw_line_to(long dfuncs, long draw_data, long st, float to_x, float to_y)

public static void
nhb_draw_move_to(long dfuncs, long draw_data, long st, float to_x, float to_y)

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
nhb_face_builder_sort_tables(long face, long tags)

public static long
nhb_face_create_for_tables(long reference_table_func, long user_data, long destroy)

public static int
nhb_face_get_table_tags(long face, int start_offset, long table_count, long table_tags)

public static long
nhb_face_get_user_data(long face, long key)

public static int
nhb_face_set_user_data(long face, long key, long data, long destroy, int replace)

public static int
nhb_feature_from_string(long str, int len, long feature)

public static void
nhb_feature_to_string(long feature, long buf, int size)

public static void
nhb_font_add_glyph_origin_for_direction(long font, int glyph, int direction, long x, long y)

public static long
nhb_font_funcs_get_user_data(long ffuncs, long key)

public static void
nhb_font_funcs_set_draw_glyph_func(long ffuncs, long func, long user_data, long destroy)

Unsafe version of: font_funcs_set_draw_glyph_func

public static void
nhb_font_funcs_set_font_h_extents_func(long ffuncs, long func, long user_data, long destroy)

Unsafe version of: font_funcs_set_font_h_extents_func

public static void
nhb_font_funcs_set_font_v_extents_func(long ffuncs, long func, long user_data, long destroy)

Unsafe version of: font_funcs_set_font_v_extents_func

public static void
nhb_font_funcs_set_glyph_contour_point_func(long ffuncs, long func, long user_data, long destroy)

Unsafe version of: font_funcs_set_glyph_contour_point_func

public static void
nhb_font_funcs_set_glyph_extents_func(long ffuncs, long func, long user_data, long destroy)

Unsafe version of: font_funcs_set_glyph_extents_func

public static void
nhb_font_funcs_set_glyph_from_name_func(long ffuncs, long func, long user_data, long destroy)

Unsafe version of: font_funcs_set_glyph_from_name_func

public static void
nhb_font_funcs_set_glyph_h_advance_func(long ffuncs, long func, long user_data, long destroy)

Unsafe version of: font_funcs_set_glyph_h_advance_func

public static void
nhb_font_funcs_set_glyph_h_advances_func(long ffuncs, long func, long user_data, long destroy)

Unsafe version of: font_funcs_set_glyph_h_advances_func

public static void
nhb_font_funcs_set_glyph_h_kerning_func(long ffuncs, long func, long user_data, long destroy)

Unsafe version of: font_funcs_set_glyph_h_kerning_func

public static void
nhb_font_funcs_set_glyph_h_origin_func(long ffuncs, long func, long user_data, long destroy)

Unsafe version of: font_funcs_set_glyph_h_origin_func

public static void
nhb_font_funcs_set_glyph_name_func(long ffuncs, long func, long user_data, long destroy)

Unsafe version of: font_funcs_set_glyph_name_func

public static void
nhb_font_funcs_set_glyph_v_advance_func(long ffuncs, long func, long user_data, long destroy)

Unsafe version of: font_funcs_set_glyph_v_advance_func

public static void
nhb_font_funcs_set_glyph_v_advances_func(long ffuncs, long func, long user_data, long destroy)

Unsafe version of: font_funcs_set_glyph_v_advances_func

public static void
nhb_font_funcs_set_glyph_v_origin_func(long ffuncs, long func, long user_data, long destroy)

Unsafe version of: font_funcs_set_glyph_v_origin_func

public static void
nhb_font_funcs_set_nominal_glyph_func(long ffuncs, long func, long user_data, long destroy)

Unsafe version of: font_funcs_set_nominal_glyph_func

public static void
nhb_font_funcs_set_nominal_glyphs_func(long ffuncs, long func, long user_data, long destroy)

Unsafe version of: font_funcs_set_nominal_glyphs_func

public static void
nhb_font_funcs_set_paint_glyph_func(long ffuncs, long func, long user_data, long destroy)

Unsafe version of: font_funcs_set_paint_glyph_func

public static int
nhb_font_funcs_set_user_data(long ffuncs, long key, long data, long destroy, int replace)

public static void
nhb_font_funcs_set_variation_glyph_func(long ffuncs, long func, long user_data, long destroy)

Unsafe version of: font_funcs_set_variation_glyph_func

public static void
nhb_font_get_extents_for_direction(long font, int direction, long extents)

public static int
nhb_font_get_glyph(long font, int unicode, int variation_selector, long glyph)

Unsafe version of: font_get_glyph

public static void
nhb_font_get_glyph_advance_for_direction(long font, int glyph, int direction, long x, long y)

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
nhb_font_get_glyph_contour_point(long font, int glyph, int point_index, long x, long y)

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
nhb_font_get_glyph_extents(long font, int glyph, long extents)

public static int
nhb_font_get_glyph_extents_for_origin(long font, int glyph, int direction, long extents)

public static int
nhb_font_get_glyph_from_name(long font, long name, int len, long glyph)

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
nhb_font_get_glyph_h_origin(long font, int glyph, long x, long y)

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
nhb_font_get_glyph_name(long font, int glyph, long name, int size)

public static void
nhb_font_get_glyph_origin_for_direction(long font, int glyph, int direction, long x, long y)

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
nhb_font_get_glyph_v_origin(long font, int glyph, long x, long y)

public static int
nhb_font_get_h_extents(long font, long extents)

Unsafe version of: font_get_h_extents

public static int
nhb_font_get_nominal_glyph(long font, int unicode, long glyph)

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
nhb_font_get_ppem(long font, long x_ppem, long y_ppem)

public static void
nhb_font_get_scale(long font, long x_scale, long y_scale)

public static void
nhb_font_get_synthetic_bold(long font, long x_embolden, long y_embolden, long in_place)

public static long
nhb_font_get_user_data(long font, long key)

public static int
nhb_font_get_v_extents(long font, long extents)

public static long
nhb_font_get_var_coords_design(long font, long length)

public static long
nhb_font_get_var_coords_normalized(long font, long length)

public static int
nhb_font_get_variation_glyph(long font, int unicode, int variation_selector, long glyph)

public static int
nhb_font_glyph_from_string(long font, long s, int len, long glyph)

Unsafe version of: font_glyph_from_string

public static void
nhb_font_glyph_to_string(long font, int glyph, long s, int size)

Unsafe version of: font_glyph_to_string

public static void
nhb_font_set_funcs(long font, long klass, long font_data, long destroy)

public static void
nhb_font_set_funcs_data(long font, long font_data, long destroy)

Unsafe version of: font_set_funcs_data

public static int
nhb_font_set_user_data(long font, long key, long data, long destroy, int replace)

public static void
nhb_font_set_var_coords_design(long font, long coords, int coords_length)

public static void
nhb_font_set_var_coords_normalized(long font, long coords, int coords_length)

public static void
nhb_font_set_variations(long font, long variations, int variations_length)

public static void
nhb_font_subtract_glyph_origin_for_direction(long font, int glyph, int direction, long x, long y)

public static long
nhb_ft_face_create(long ft_face, long destroy)

public static long
nhb_ft_font_create(long ft_face, long destroy)

public static long
nhb_language_from_string(long str, int len)

public static long
nhb_language_to_string(long language)

public static long
nhb_map_get_user_data(long map, long key)

public static int
nhb_map_next(long map, long idx, long key, long value)

public static int
nhb_map_set_user_data(long map, long key, long data, long destroy, int replace)

public static int
nhb_paint_custom_palette_color(long funcs, long paint_data, int color_index, long color)

public static long
nhb_paint_funcs_get_user_data(long funcs, long key)

public static void
nhb_paint_funcs_set_color_func(long funcs, long func, long user_data, long destroy)

public static void
nhb_paint_funcs_set_color_glyph_func(long funcs, long func, long user_data, long destroy)

public static void
nhb_paint_funcs_set_custom_palette_color_func(long funcs, long func, long user_data, long destroy)

public static void
nhb_paint_funcs_set_image_func(long funcs, long func, long user_data, long destroy)

public static void
nhb_paint_funcs_set_linear_gradient_func(long funcs, long func, long user_data, long destroy)

public static void
nhb_paint_funcs_set_pop_clip_func(long funcs, long func, long user_data, long destroy)

public static void
nhb_paint_funcs_set_pop_group_func(long funcs, long func, long user_data, long destroy)

public static void
nhb_paint_funcs_set_pop_transform_func(long funcs, long func, long user_data, long destroy)

public static void
nhb_paint_funcs_set_push_clip_glyph_func(long funcs, long func, long user_data, long destroy)

public static void
nhb_paint_funcs_set_push_clip_rectangle_func(long funcs, long func, long user_data, long destroy)

public static void
nhb_paint_funcs_set_push_group_func(long funcs, long func, long user_data, long destroy)

public static void
nhb_paint_funcs_set_push_transform_func(long funcs, long func, long user_data, long destroy)

public static void
nhb_paint_funcs_set_radial_gradient_func(long funcs, long func, long user_data, long destroy)

public static void
nhb_paint_funcs_set_sweep_gradient_func(long funcs, long func, long user_data, long destroy)

public static int
nhb_paint_funcs_set_user_data(long funcs, long key, long data, long destroy, int replace)

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
nhb_script_from_string(long str, int len)

public static int
public static int
public static void
public static void
nhb_set_add_sorted_array(long set, long sorted_codepoints, int num_codepoints)

public static long
nhb_set_get_user_data(long set, long key)

public static int
nhb_set_next(long set, long codepoint)

Unsafe version of: set_next

public static int
nhb_set_next_many(long set, int codepoint, long out, int size)

Unsafe version of: set_next_many

public static int
nhb_set_next_range(long set, long first, long last)

Unsafe version of: set_next_range

public static int
nhb_set_previous(long set, long codepoint)

Unsafe version of: set_previous

public static int
nhb_set_previous_range(long set, long first, long last)

Unsafe version of: set_previous_range

public static int
nhb_set_set_user_data(long set, long key, long data, long destroy, int replace)

public static void
nhb_shape(long font, long buffer, long features, int num_features)

public static int
nhb_shape_full(long font, long buffer, long features, int num_features, long shaper_list)

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
nhb_shape_plan_execute(long shape_plan, long font, long buffer, long features, int num_features)

public static long
nhb_shape_plan_get_shaper(long shape_plan)

public static long
nhb_shape_plan_get_user_data(long shape_plan, long key)

public static int
nhb_shape_plan_set_user_data(long shape_plan, long key, long data, long destroy, int replace)

public static int
nhb_tag_from_string(long str, int len)

Unsafe version of: tag_from_string

public static void
nhb_tag_to_string(int tag, long buf)

Unsafe version of: tag_to_string

public static int
nhb_unicode_compose(long ufuncs, int a, int b, long ab)

public static int
nhb_unicode_decompose(long ufuncs, int ab, long a, long b)

public static long
nhb_unicode_funcs_get_user_data(long ufuncs, long key)

public static void
nhb_unicode_funcs_set_combining_class_func(long ufuncs, long func, long user_data, long destroy)

Unsafe version of: unicode_funcs_set_combining_class_func

public static void
nhb_unicode_funcs_set_compose_func(long ufuncs, long func, long user_data, long destroy)

Unsafe version of: unicode_funcs_set_compose_func

public static void
nhb_unicode_funcs_set_decompose_func(long ufuncs, long func, long user_data, long destroy)

Unsafe version of: unicode_funcs_set_decompose_func

public static void
nhb_unicode_funcs_set_general_category_func(long ufuncs, long func, long user_data, long destroy)

Unsafe version of: unicode_funcs_set_general_category_func

public static void
nhb_unicode_funcs_set_mirroring_func(long ufuncs, long func, long user_data, long destroy)

Unsafe version of: unicode_funcs_set_mirroring_func

public static void
nhb_unicode_funcs_set_script_func(long ufuncs, long func, long user_data, long destroy)

Unsafe version of: unicode_funcs_set_script_func

public static int
nhb_unicode_funcs_set_user_data(long ufuncs, long key, long data, long destroy, int replace)

public static int
nhb_variation_from_string(long str, int len, long variation)

public static void
nhb_variation_to_string(long variation, long buf, int size)

public static void
nhb_version(long major, long minor, long micro)

public static long
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait