Enums

Details

class HarfBuzz.aat_layout_feature_selector_t(value)

Bases: GObject.GEnum

The selectors defined for specifying AAT feature settings.

New in version 2.2.0.

ALL_TYPE_FEATURES_ON = 0

for HarfBuzz.aat_layout_feature_type_t.ALL_TYPOGRAPHIC

ALTERNATE_HORIZ_KANA_ON = 0

for HarfBuzz.aat_layout_feature_type_t.ALTERNATE_KANA

CANONICAL_COMPOSITION_ON = 0

for HarfBuzz.aat_layout_feature_type_t.UNICODE_DECOMPOSITION_TYPE

CASE_SENSITIVE_LAYOUT_ON = 0

for HarfBuzz.aat_layout_feature_type_t.CASE_SENSITIVE_LAYOUT

CJK_VERTICAL_ROMAN_CENTERED = 0

for HarfBuzz.aat_layout_feature_type_t.CJK_VERTICAL_ROMAN_PLACEMENT_TYPE

CONTEXTUAL_ALTERNATES_ON = 0

for HarfBuzz.aat_layout_feature_type_t.CONTEXTUAL_ALTERNATIVES

DEFAULT_LOWER_CASE = 0

for HarfBuzz.aat_layout_feature_type_t.LOWER_CASE

DEFAULT_UPPER_CASE = 0

for HarfBuzz.aat_layout_feature_type_t.UPPER_CASE

DESIGN_LEVEL1 = 0

for HarfBuzz.aat_layout_feature_type_t.DESIGN_COMPLEXITY_TYPE

FULL_WIDTH_IDEOGRAPHS = 0

for HarfBuzz.aat_layout_feature_type_t.IDEOGRAPHIC_SPACING_TYPE

FULL_WIDTH_KANA = 0

for HarfBuzz.aat_layout_feature_type_t.KANA_SPACING_TYPE

HALF_WIDTH_CJK_ROMAN = 0

for HarfBuzz.aat_layout_feature_type_t.CJK_ROMAN_SPACING_TYPE

HYPHENS_TO_EM_DASH_ON = 0

for HarfBuzz.aat_layout_feature_type_t.TYPOGRAPHIC_EXTRAS

HYPHEN_TO_MINUS_ON = 0

for HarfBuzz.aat_layout_feature_type_t.MATHEMATICAL_EXTRAS

LINGUISTIC_REARRANGEMENT_ON = 0

for HarfBuzz.aat_layout_feature_type_t.LINGUISTIC_REARRANGEMENT

LOWER_CASE_NUMBERS = 0

for HarfBuzz.aat_layout_feature_type_t.NUMBER_CASE

MONOSPACED_NUMBERS = 0

for HarfBuzz.aat_layout_feature_type_t.NUMBER_SPACING

NORMAL_POSITION = 0

for HarfBuzz.aat_layout_feature_type_t.VERTICAL_POSITION

NO_ALTERNATES = 0

for HarfBuzz.aat_layout_feature_type_t.CHARACTER_ALTERNATIVES

NO_ANNOTATION = 0

for HarfBuzz.aat_layout_feature_type_t.ANNOTATION_TYPE

NO_CJK_ITALIC_ROMAN = 0

Deprecated; use HarfBuzz.aat_layout_feature_selector_t.CJK_ITALIC_ROMAN_OFF instead

NO_CJK_SYMBOL_ALTERNATIVES = 0

for HarfBuzz.aat_layout_feature_type_t.CJK_SYMBOL_ALTERNATIVES_TYPE

NO_FRACTIONS = 0

for HarfBuzz.aat_layout_feature_type_t.FRACTIONS

NO_IDEOGRAPHIC_ALTERNATIVES = 0

for HarfBuzz.aat_layout_feature_type_t.IDEOGRAPHIC_ALTERNATIVES_TYPE

NO_ORNAMENTS = 0

for HarfBuzz.aat_layout_feature_type_t.ORNAMENT_SETS_TYPE

NO_RUBY_KANA = 0

Deprecated; use HarfBuzz.aat_layout_feature_selector_t.RUBY_KANA_OFF instead

NO_STYLE_OPTIONS = 0

for HarfBuzz.aat_layout_feature_type_t.STYLE_OPTIONS

NO_STYLISTIC_ALTERNATES = 0

for HarfBuzz.aat_layout_feature_type_t.STYLISTIC_ALTERNATIVES

NO_TRANSLITERATION = 0

for HarfBuzz.aat_layout_feature_type_t.TRANSLITERATION

PREVENT_OVERLAP_ON = 0

for HarfBuzz.aat_layout_feature_type_t.OVERLAPPING_CHARACTERS_TYPE

PROPORTIONAL_TEXT = 0

for HarfBuzz.aat_layout_feature_type_t.TEXT_SPACING

REQUIRED_LIGATURES_ON = 0

for HarfBuzz.aat_layout_feature_type_t.LIGATURES

SHOW_DIACRITICS = 0

for HarfBuzz.aat_layout_feature_type_t.DIACRITICS_TYPE

SUBSTITUTE_VERTICAL_FORMS_ON = 0

for HarfBuzz.aat_layout_feature_type_t.VERTICAL_SUBSTITUTION

TRADITIONAL_CHARACTERS = 0

for HarfBuzz.aat_layout_feature_type_t.CHARACTER_SHAPE

UNCONNECTED = 0

for HarfBuzz.aat_layout_feature_type_t.LIGATURES

UPPER_AND_LOWER_CASE = 0

Deprecated

WORD_INITIAL_SWASHES_ON = 0

for HarfBuzz.aat_layout_feature_type_t.SMART_SWASH_TYPE

ALL_CAPS = 1

Deprecated

ALL_TYPE_FEATURES_OFF = 1

for HarfBuzz.aat_layout_feature_type_t.ALL_TYPOGRAPHIC

ALTERNATE_HORIZ_KANA_OFF = 1

for HarfBuzz.aat_layout_feature_type_t.ALTERNATE_KANA

BOX_ANNOTATION = 1

for HarfBuzz.aat_layout_feature_type_t.ANNOTATION_TYPE

CANONICAL_COMPOSITION_OFF = 1

for HarfBuzz.aat_layout_feature_type_t.UNICODE_DECOMPOSITION_TYPE

CASE_SENSITIVE_LAYOUT_OFF = 1

for HarfBuzz.aat_layout_feature_type_t.CASE_SENSITIVE_LAYOUT

CJK_ITALIC_ROMAN = 1

Deprecated; use HarfBuzz.aat_layout_feature_selector_t.CJK_ITALIC_ROMAN_ON instead

CJK_SYMBOL_ALT_ONE = 1

for HarfBuzz.aat_layout_feature_type_t.CJK_SYMBOL_ALTERNATIVES_TYPE

CJK_VERTICAL_ROMAN_HBASELINE = 1

for HarfBuzz.aat_layout_feature_type_t.CJK_VERTICAL_ROMAN_PLACEMENT_TYPE

CONTEXTUAL_ALTERNATES_OFF = 1

for HarfBuzz.aat_layout_feature_type_t.CONTEXTUAL_ALTERNATIVES

DESIGN_LEVEL2 = 1

for HarfBuzz.aat_layout_feature_type_t.DESIGN_COMPLEXITY_TYPE

DINGBATS = 1

for HarfBuzz.aat_layout_feature_type_t.ORNAMENT_SETS_TYPE

DISPLAY_TEXT = 1

for HarfBuzz.aat_layout_feature_type_t.STYLE_OPTIONS

HANJA_TO_HANGUL = 1

for HarfBuzz.aat_layout_feature_type_t.TRANSLITERATION

HIDE_DIACRITICS = 1

for HarfBuzz.aat_layout_feature_type_t.DIACRITICS_TYPE

HYPHENS_TO_EM_DASH_OFF = 1

for HarfBuzz.aat_layout_feature_type_t.TYPOGRAPHIC_EXTRAS

HYPHEN_TO_MINUS_OFF = 1

for HarfBuzz.aat_layout_feature_type_t.MATHEMATICAL_EXTRAS

IDEOGRAPHIC_ALT_ONE = 1

for HarfBuzz.aat_layout_feature_type_t.IDEOGRAPHIC_ALTERNATIVES_TYPE

LINGUISTIC_REARRANGEMENT_OFF = 1

for HarfBuzz.aat_layout_feature_type_t.LINGUISTIC_REARRANGEMENT

LOWER_CASE_SMALL_CAPS = 1

for HarfBuzz.aat_layout_feature_type_t.LOWER_CASE

MONOSPACED_TEXT = 1

for HarfBuzz.aat_layout_feature_type_t.TEXT_SPACING

PARTIALLY_CONNECTED = 1

for HarfBuzz.aat_layout_feature_type_t.LIGATURES

PREVENT_OVERLAP_OFF = 1

for HarfBuzz.aat_layout_feature_type_t.OVERLAPPING_CHARACTERS_TYPE

PROPORTIONAL_CJK_ROMAN = 1

for HarfBuzz.aat_layout_feature_type_t.CJK_ROMAN_SPACING_TYPE

PROPORTIONAL_IDEOGRAPHS = 1

for HarfBuzz.aat_layout_feature_type_t.IDEOGRAPHIC_SPACING_TYPE

PROPORTIONAL_KANA = 1

for HarfBuzz.aat_layout_feature_type_t.KANA_SPACING_TYPE

PROPORTIONAL_NUMBERS = 1

for HarfBuzz.aat_layout_feature_type_t.NUMBER_SPACING

REQUIRED_LIGATURES_OFF = 1

for HarfBuzz.aat_layout_feature_type_t.LIGATURES

RUBY_KANA = 1

Deprecated; use HarfBuzz.aat_layout_feature_selector_t.RUBY_KANA_ON instead

SIMPLIFIED_CHARACTERS = 1

for HarfBuzz.aat_layout_feature_type_t.CHARACTER_SHAPE

SUBSTITUTE_VERTICAL_FORMS_OFF = 1

for HarfBuzz.aat_layout_feature_type_t.VERTICAL_SUBSTITUTION

SUPERIORS = 1

for HarfBuzz.aat_layout_feature_type_t.VERTICAL_POSITION

UPPER_CASE_NUMBERS = 1

for HarfBuzz.aat_layout_feature_type_t.NUMBER_CASE

UPPER_CASE_SMALL_CAPS = 1

for HarfBuzz.aat_layout_feature_type_t.UPPER_CASE

VERTICAL_FRACTIONS = 1

for HarfBuzz.aat_layout_feature_type_t.FRACTIONS

WORD_INITIAL_SWASHES_OFF = 1

for HarfBuzz.aat_layout_feature_type_t.SMART_SWASH_TYPE

DIPHTHONG_LIGATURES_ON = 10

for HarfBuzz.aat_layout_feature_type_t.LIGATURES

EXPERT_CHARACTERS = 10

for HarfBuzz.aat_layout_feature_type_t.CHARACTER_SHAPE

INVERTED_ROUNDED_BOX_ANNOTATION = 10

for HarfBuzz.aat_layout_feature_type_t.ANNOTATION_TYPE

MATHEMATICAL_GREEK_ON = 10

for HarfBuzz.aat_layout_feature_type_t.MATHEMATICAL_EXTRAS

PERIODS_TO_ELLIPSIS_ON = 10

for HarfBuzz.aat_layout_feature_type_t.TYPOGRAPHIC_EXTRAS

STYLISTIC_ALT_FIVE_ON = 10

for HarfBuzz.aat_layout_feature_type_t.STYLISTIC_ALTERNATIVES

DIPHTHONG_LIGATURES_OFF = 11

for HarfBuzz.aat_layout_feature_type_t.LIGATURES

JIS2004_CHARACTERS = 11

for HarfBuzz.aat_layout_feature_type_t.CHARACTER_SHAPE

MATHEMATICAL_GREEK_OFF = 11

for HarfBuzz.aat_layout_feature_type_t.MATHEMATICAL_EXTRAS

PERIODS_TO_ELLIPSIS_OFF = 11

for HarfBuzz.aat_layout_feature_type_t.TYPOGRAPHIC_EXTRAS

STYLISTIC_ALT_FIVE_OFF = 11

for HarfBuzz.aat_layout_feature_type_t.STYLISTIC_ALTERNATIVES

HOJO_CHARACTERS = 12

for HarfBuzz.aat_layout_feature_type_t.CHARACTER_SHAPE

SQUARED_LIGATURES_ON = 12

for HarfBuzz.aat_layout_feature_type_t.LIGATURES

STYLISTIC_ALT_SIX_ON = 12

for HarfBuzz.aat_layout_feature_type_t.STYLISTIC_ALTERNATIVES

NLCCHARACTERS = 13

for HarfBuzz.aat_layout_feature_type_t.CHARACTER_SHAPE

SQUARED_LIGATURES_OFF = 13

for HarfBuzz.aat_layout_feature_type_t.LIGATURES

STYLISTIC_ALT_SIX_OFF = 13

for HarfBuzz.aat_layout_feature_type_t.STYLISTIC_ALTERNATIVES

ABBREV_SQUARED_LIGATURES_ON = 14

for HarfBuzz.aat_layout_feature_type_t.LIGATURES

STYLISTIC_ALT_SEVEN_ON = 14

for HarfBuzz.aat_layout_feature_type_t.STYLISTIC_ALTERNATIVES

TRADITIONAL_NAMES_CHARACTERS = 14

for HarfBuzz.aat_layout_feature_type_t.CHARACTER_SHAPE

ABBREV_SQUARED_LIGATURES_OFF = 15

for HarfBuzz.aat_layout_feature_type_t.LIGATURES

STYLISTIC_ALT_SEVEN_OFF = 15

for HarfBuzz.aat_layout_feature_type_t.STYLISTIC_ALTERNATIVES

STYLISTIC_ALT_EIGHT_ON = 16

for HarfBuzz.aat_layout_feature_type_t.STYLISTIC_ALTERNATIVES

SYMBOL_LIGATURES_ON = 16

for HarfBuzz.aat_layout_feature_type_t.LIGATURES

STYLISTIC_ALT_EIGHT_OFF = 17

for HarfBuzz.aat_layout_feature_type_t.STYLISTIC_ALTERNATIVES

SYMBOL_LIGATURES_OFF = 17

for HarfBuzz.aat_layout_feature_type_t.LIGATURES

CONTEXTUAL_LIGATURES_ON = 18

for HarfBuzz.aat_layout_feature_type_t.LIGATURES

STYLISTIC_ALT_NINE_ON = 18

for HarfBuzz.aat_layout_feature_type_t.STYLISTIC_ALTERNATIVES

CONTEXTUAL_LIGATURES_OFF = 19

for HarfBuzz.aat_layout_feature_type_t.LIGATURES

STYLISTIC_ALT_NINE_OFF = 19

for HarfBuzz.aat_layout_feature_type_t.STYLISTIC_ALTERNATIVES

ALL_LOWER_CASE = 2

Deprecated

ALTERNATE_VERT_KANA_ON = 2

for HarfBuzz.aat_layout_feature_type_t.ALTERNATE_KANA

ASTERISK_TO_MULTIPLY_ON = 2

for HarfBuzz.aat_layout_feature_type_t.MATHEMATICAL_EXTRAS

CASE_SENSITIVE_SPACING_ON = 2

for HarfBuzz.aat_layout_feature_type_t.CASE_SENSITIVE_LAYOUT

CJK_ITALIC_ROMAN_ON = 2

for HarfBuzz.aat_layout_feature_type_t.ITALIC_CJK_ROMAN

CJK_SYMBOL_ALT_TWO = 2

for HarfBuzz.aat_layout_feature_type_t.CJK_SYMBOL_ALTERNATIVES_TYPE

COMMON_LIGATURES_ON = 2

for HarfBuzz.aat_layout_feature_type_t.LIGATURES

COMPATIBILITY_COMPOSITION_ON = 2

for HarfBuzz.aat_layout_feature_type_t.UNICODE_DECOMPOSITION_TYPE

CURSIVE = 2

for HarfBuzz.aat_layout_feature_type_t.LIGATURES

DECOMPOSE_DIACRITICS = 2

for HarfBuzz.aat_layout_feature_type_t.DIACRITICS_TYPE

DEFAULT_CJK_ROMAN = 2

for HarfBuzz.aat_layout_feature_type_t.CJK_ROMAN_SPACING_TYPE

DESIGN_LEVEL3 = 2

for HarfBuzz.aat_layout_feature_type_t.DESIGN_COMPLEXITY_TYPE

DIAGONAL_FRACTIONS = 2

for HarfBuzz.aat_layout_feature_type_t.FRACTIONS

ENGRAVED_TEXT = 2

for HarfBuzz.aat_layout_feature_type_t.STYLE_OPTIONS

HALF_WIDTH_IDEOGRAPHS = 2

for HarfBuzz.aat_layout_feature_type_t.IDEOGRAPHIC_SPACING_TYPE

HALF_WIDTH_TEXT = 2

for HarfBuzz.aat_layout_feature_type_t.TEXT_SPACING

HIRAGANA_TO_KATAKANA = 2

for HarfBuzz.aat_layout_feature_type_t.TRANSLITERATION

HYPHEN_TO_EN_DASH_ON = 2

for HarfBuzz.aat_layout_feature_type_t.TYPOGRAPHIC_EXTRAS

IDEOGRAPHIC_ALT_TWO = 2

for HarfBuzz.aat_layout_feature_type_t.IDEOGRAPHIC_ALTERNATIVES_TYPE

INFERIORS = 2

for HarfBuzz.aat_layout_feature_type_t.VERTICAL_POSITION

JIS1978_CHARACTERS = 2

for HarfBuzz.aat_layout_feature_type_t.CHARACTER_SHAPE

LOWER_CASE_PETITE_CAPS = 2

for HarfBuzz.aat_layout_feature_type_t.LOWER_CASE

PI_CHARACTERS = 2

for HarfBuzz.aat_layout_feature_type_t.ORNAMENT_SETS_TYPE

ROUNDED_BOX_ANNOTATION = 2

for HarfBuzz.aat_layout_feature_type_t.ANNOTATION_TYPE

RUBY_KANA_ON = 2

for HarfBuzz.aat_layout_feature_type_t.RUBY_KANA

STYLISTIC_ALT_ONE_ON = 2

for HarfBuzz.aat_layout_feature_type_t.STYLISTIC_ALTERNATIVES

SWASH_ALTERNATES_ON = 2

for HarfBuzz.aat_layout_feature_type_t.CONTEXTUAL_ALTERNATIVES

THIRD_WIDTH_NUMBERS = 2

for HarfBuzz.aat_layout_feature_type_t.NUMBER_SPACING

UPPER_CASE_PETITE_CAPS = 2

for HarfBuzz.aat_layout_feature_type_t.UPPER_CASE

WORD_FINAL_SWASHES_ON = 2

for HarfBuzz.aat_layout_feature_type_t.SMART_SWASH_TYPE

HISTORICAL_LIGATURES_ON = 20

for HarfBuzz.aat_layout_feature_type_t.LIGATURES

STYLISTIC_ALT_TEN_ON = 20

for HarfBuzz.aat_layout_feature_type_t.STYLISTIC_ALTERNATIVES

HISTORICAL_LIGATURES_OFF = 21

for HarfBuzz.aat_layout_feature_type_t.LIGATURES

STYLISTIC_ALT_TEN_OFF = 21

for HarfBuzz.aat_layout_feature_type_t.STYLISTIC_ALTERNATIVES

STYLISTIC_ALT_ELEVEN_ON = 22

for HarfBuzz.aat_layout_feature_type_t.STYLISTIC_ALTERNATIVES

STYLISTIC_ALT_ELEVEN_OFF = 23

for HarfBuzz.aat_layout_feature_type_t.STYLISTIC_ALTERNATIVES

STYLISTIC_ALT_TWELVE_ON = 24

for HarfBuzz.aat_layout_feature_type_t.STYLISTIC_ALTERNATIVES

STYLISTIC_ALT_TWELVE_OFF = 25

for HarfBuzz.aat_layout_feature_type_t.STYLISTIC_ALTERNATIVES

STYLISTIC_ALT_THIRTEEN_ON = 26

for HarfBuzz.aat_layout_feature_type_t.STYLISTIC_ALTERNATIVES

STYLISTIC_ALT_THIRTEEN_OFF = 27

for HarfBuzz.aat_layout_feature_type_t.STYLISTIC_ALTERNATIVES

STYLISTIC_ALT_FOURTEEN_ON = 28

for HarfBuzz.aat_layout_feature_type_t.STYLISTIC_ALTERNATIVES

STYLISTIC_ALT_FOURTEEN_OFF = 29

for HarfBuzz.aat_layout_feature_type_t.STYLISTIC_ALTERNATIVES

ALTERNATE_VERT_KANA_OFF = 3

for HarfBuzz.aat_layout_feature_type_t.ALTERNATE_KANA

ASTERISK_TO_MULTIPLY_OFF = 3

for HarfBuzz.aat_layout_feature_type_t.MATHEMATICAL_EXTRAS

CASE_SENSITIVE_SPACING_OFF = 3

for HarfBuzz.aat_layout_feature_type_t.CASE_SENSITIVE_LAYOUT

CIRCLE_ANNOTATION = 3

for HarfBuzz.aat_layout_feature_type_t.ANNOTATION_TYPE

CJK_ITALIC_ROMAN_OFF = 3

for HarfBuzz.aat_layout_feature_type_t.ITALIC_CJK_ROMAN

CJK_SYMBOL_ALT_THREE = 3

for HarfBuzz.aat_layout_feature_type_t.CJK_SYMBOL_ALTERNATIVES_TYPE

COMMON_LIGATURES_OFF = 3

for HarfBuzz.aat_layout_feature_type_t.LIGATURES

COMPATIBILITY_COMPOSITION_OFF = 3

for HarfBuzz.aat_layout_feature_type_t.UNICODE_DECOMPOSITION_TYPE

DESIGN_LEVEL4 = 3

for HarfBuzz.aat_layout_feature_type_t.DESIGN_COMPLEXITY_TYPE

FLEURONS = 3

for HarfBuzz.aat_layout_feature_type_t.ORNAMENT_SETS_TYPE

FULL_WIDTH_CJK_ROMAN = 3

for HarfBuzz.aat_layout_feature_type_t.CJK_ROMAN_SPACING_TYPE

HYPHEN_TO_EN_DASH_OFF = 3

for HarfBuzz.aat_layout_feature_type_t.TYPOGRAPHIC_EXTRAS

IDEOGRAPHIC_ALT_THREE = 3

for HarfBuzz.aat_layout_feature_type_t.IDEOGRAPHIC_ALTERNATIVES_TYPE

ILLUMINATED_CAPS = 3

for HarfBuzz.aat_layout_feature_type_t.STYLE_OPTIONS

JIS1983_CHARACTERS = 3

for HarfBuzz.aat_layout_feature_type_t.CHARACTER_SHAPE

KATAKANA_TO_HIRAGANA = 3

for HarfBuzz.aat_layout_feature_type_t.TRANSLITERATION

ORDINALS = 3

for HarfBuzz.aat_layout_feature_type_t.VERTICAL_POSITION

QUARTER_WIDTH_NUMBERS = 3

for HarfBuzz.aat_layout_feature_type_t.NUMBER_SPACING

RUBY_KANA_OFF = 3

for HarfBuzz.aat_layout_feature_type_t.RUBY_KANA

SMALL_CAPS = 3

Deprecated

STYLISTIC_ALT_ONE_OFF = 3

for HarfBuzz.aat_layout_feature_type_t.STYLISTIC_ALTERNATIVES

SWASH_ALTERNATES_OFF = 3

for HarfBuzz.aat_layout_feature_type_t.CONTEXTUAL_ALTERNATIVES

THIRD_WIDTH_TEXT = 3

for HarfBuzz.aat_layout_feature_type_t.TEXT_SPACING

WORD_FINAL_SWASHES_OFF = 3

for HarfBuzz.aat_layout_feature_type_t.SMART_SWASH_TYPE

STYLISTIC_ALT_FIFTEEN_ON = 30

for HarfBuzz.aat_layout_feature_type_t.STYLISTIC_ALTERNATIVES

STYLISTIC_ALT_FIFTEEN_OFF = 31

for HarfBuzz.aat_layout_feature_type_t.STYLISTIC_ALTERNATIVES

STYLISTIC_ALT_SIXTEEN_ON = 32

for HarfBuzz.aat_layout_feature_type_t.STYLISTIC_ALTERNATIVES

STYLISTIC_ALT_SIXTEEN_OFF = 33

for HarfBuzz.aat_layout_feature_type_t.STYLISTIC_ALTERNATIVES

STYLISTIC_ALT_SEVENTEEN_ON = 34

for HarfBuzz.aat_layout_feature_type_t.STYLISTIC_ALTERNATIVES

STYLISTIC_ALT_SEVENTEEN_OFF = 35

for HarfBuzz.aat_layout_feature_type_t.STYLISTIC_ALTERNATIVES

STYLISTIC_ALT_EIGHTEEN_ON = 36

for HarfBuzz.aat_layout_feature_type_t.STYLISTIC_ALTERNATIVES

STYLISTIC_ALT_EIGHTEEN_OFF = 37

for HarfBuzz.aat_layout_feature_type_t.STYLISTIC_ALTERNATIVES

STYLISTIC_ALT_NINETEEN_ON = 38

for HarfBuzz.aat_layout_feature_type_t.STYLISTIC_ALTERNATIVES

STYLISTIC_ALT_NINETEEN_OFF = 39

for HarfBuzz.aat_layout_feature_type_t.STYLISTIC_ALTERNATIVES

CJK_SYMBOL_ALT_FOUR = 4

for HarfBuzz.aat_layout_feature_type_t.CJK_SYMBOL_ALTERNATIVES_TYPE

CONTEXTUAL_SWASH_ALTERNATES_ON = 4

for HarfBuzz.aat_layout_feature_type_t.CONTEXTUAL_ALTERNATIVES

DECORATIVE_BORDERS = 4

for HarfBuzz.aat_layout_feature_type_t.ORNAMENT_SETS_TYPE

DESIGN_LEVEL5 = 4

for HarfBuzz.aat_layout_feature_type_t.DESIGN_COMPLEXITY_TYPE

IDEOGRAPHIC_ALT_FOUR = 4

for HarfBuzz.aat_layout_feature_type_t.IDEOGRAPHIC_ALTERNATIVES_TYPE

INITIAL_CAPS = 4

Deprecated

INVERTED_CIRCLE_ANNOTATION = 4

for HarfBuzz.aat_layout_feature_type_t.ANNOTATION_TYPE

JIS1990_CHARACTERS = 4

for HarfBuzz.aat_layout_feature_type_t.CHARACTER_SHAPE

KANA_TO_ROMANIZATION = 4

for HarfBuzz.aat_layout_feature_type_t.TRANSLITERATION

LINE_INITIAL_SWASHES_ON = 4

for HarfBuzz.aat_layout_feature_type_t.SMART_SWASH_TYPE

QUARTER_WIDTH_TEXT = 4

for HarfBuzz.aat_layout_feature_type_t.TEXT_SPACING

RARE_LIGATURES_ON = 4

for HarfBuzz.aat_layout_feature_type_t.LIGATURES

SCIENTIFIC_INFERIORS = 4

for HarfBuzz.aat_layout_feature_type_t.VERTICAL_POSITION

SLASHED_ZERO_ON = 4

for HarfBuzz.aat_layout_feature_type_t.TYPOGRAPHIC_EXTRAS

SLASH_TO_DIVIDE_ON = 4

for HarfBuzz.aat_layout_feature_type_t.MATHEMATICAL_EXTRAS

STYLISTIC_ALT_TWO_ON = 4

for HarfBuzz.aat_layout_feature_type_t.STYLISTIC_ALTERNATIVES

TITLING_CAPS = 4

for HarfBuzz.aat_layout_feature_type_t.STYLE_OPTIONS

TRANSCODING_COMPOSITION_ON = 4

for HarfBuzz.aat_layout_feature_type_t.UNICODE_DECOMPOSITION_TYPE

STYLISTIC_ALT_TWENTY_ON = 40

for HarfBuzz.aat_layout_feature_type_t.STYLISTIC_ALTERNATIVES

STYLISTIC_ALT_TWENTY_OFF = 41

for HarfBuzz.aat_layout_feature_type_t.STYLISTIC_ALTERNATIVES

ALT_PROPORTIONAL_TEXT = 5

for HarfBuzz.aat_layout_feature_type_t.TEXT_SPACING

CJK_SYMBOL_ALT_FIVE = 5

for HarfBuzz.aat_layout_feature_type_t.CJK_SYMBOL_ALTERNATIVES_TYPE

CONTEXTUAL_SWASH_ALTERNATES_OFF = 5

for HarfBuzz.aat_layout_feature_type_t.CONTEXTUAL_ALTERNATIVES

IDEOGRAPHIC_ALT_FIVE = 5

for HarfBuzz.aat_layout_feature_type_t.IDEOGRAPHIC_ALTERNATIVES_TYPE

INITIAL_CAPS_AND_SMALL_CAPS = 5

Deprecated

INTERNATIONAL_SYMBOLS = 5

for HarfBuzz.aat_layout_feature_type_t.ORNAMENT_SETS_TYPE

LINE_INITIAL_SWASHES_OFF = 5

for HarfBuzz.aat_layout_feature_type_t.SMART_SWASH_TYPE

PARENTHESIS_ANNOTATION = 5

for HarfBuzz.aat_layout_feature_type_t.ANNOTATION_TYPE

RARE_LIGATURES_OFF = 5

for HarfBuzz.aat_layout_feature_type_t.LIGATURES

ROMANIZATION_TO_HIRAGANA = 5

for HarfBuzz.aat_layout_feature_type_t.TRANSLITERATION

SLASHED_ZERO_OFF = 5

for HarfBuzz.aat_layout_feature_type_t.TYPOGRAPHIC_EXTRAS

SLASH_TO_DIVIDE_OFF = 5

for HarfBuzz.aat_layout_feature_type_t.MATHEMATICAL_EXTRAS

STYLISTIC_ALT_TWO_OFF = 5

for HarfBuzz.aat_layout_feature_type_t.STYLISTIC_ALTERNATIVES

TALL_CAPS = 5

for HarfBuzz.aat_layout_feature_type_t.STYLE_OPTIONS

TRADITIONAL_ALT_ONE = 5

for HarfBuzz.aat_layout_feature_type_t.CHARACTER_SHAPE

TRANSCODING_COMPOSITION_OFF = 5

for HarfBuzz.aat_layout_feature_type_t.UNICODE_DECOMPOSITION_TYPE

ALT_HALF_WIDTH_TEXT = 6

for HarfBuzz.aat_layout_feature_type_t.TEXT_SPACING

FORM_INTERROBANG_ON = 6

for HarfBuzz.aat_layout_feature_type_t.TYPOGRAPHIC_EXTRAS

INEQUALITY_LIGATURES_ON = 6

for HarfBuzz.aat_layout_feature_type_t.MATHEMATICAL_EXTRAS

LINE_FINAL_SWASHES_ON = 6

for HarfBuzz.aat_layout_feature_type_t.SMART_SWASH_TYPE

LOGOS_ON = 6

for HarfBuzz.aat_layout_feature_type_t.LIGATURES

MATH_SYMBOLS = 6

for HarfBuzz.aat_layout_feature_type_t.ORNAMENT_SETS_TYPE

PERIOD_ANNOTATION = 6

for HarfBuzz.aat_layout_feature_type_t.ANNOTATION_TYPE

ROMANIZATION_TO_KATAKANA = 6

for HarfBuzz.aat_layout_feature_type_t.TRANSLITERATION

STYLISTIC_ALT_THREE_ON = 6

for HarfBuzz.aat_layout_feature_type_t.STYLISTIC_ALTERNATIVES

TRADITIONAL_ALT_TWO = 6

for HarfBuzz.aat_layout_feature_type_t.CHARACTER_SHAPE

INVALID = 65535

Initial, unset feature selector

FORM_INTERROBANG_OFF = 7

for HarfBuzz.aat_layout_feature_type_t.TYPOGRAPHIC_EXTRAS

HANJA_TO_HANGUL_ALT_ONE = 7

for HarfBuzz.aat_layout_feature_type_t.TRANSLITERATION

INEQUALITY_LIGATURES_OFF = 7

for HarfBuzz.aat_layout_feature_type_t.MATHEMATICAL_EXTRAS

LINE_FINAL_SWASHES_OFF = 7

for HarfBuzz.aat_layout_feature_type_t.SMART_SWASH_TYPE

LOGOS_OFF = 7

for HarfBuzz.aat_layout_feature_type_t.LIGATURES

ROMAN_NUMERAL_ANNOTATION = 7

for HarfBuzz.aat_layout_feature_type_t.ANNOTATION_TYPE

STYLISTIC_ALT_THREE_OFF = 7

for HarfBuzz.aat_layout_feature_type_t.STYLISTIC_ALTERNATIVES

TRADITIONAL_ALT_THREE = 7

for HarfBuzz.aat_layout_feature_type_t.CHARACTER_SHAPE

DIAMOND_ANNOTATION = 8

for HarfBuzz.aat_layout_feature_type_t.ANNOTATION_TYPE

EXPONENTS_ON = 8

for HarfBuzz.aat_layout_feature_type_t.MATHEMATICAL_EXTRAS

HANJA_TO_HANGUL_ALT_TWO = 8

for HarfBuzz.aat_layout_feature_type_t.TRANSLITERATION

NON_FINAL_SWASHES_ON = 8

for HarfBuzz.aat_layout_feature_type_t.SMART_SWASH_TYPE

REBUS_PICTURES_ON = 8

for HarfBuzz.aat_layout_feature_type_t.LIGATURES

SMART_QUOTES_ON = 8

for HarfBuzz.aat_layout_feature_type_t.TYPOGRAPHIC_EXTRAS

STYLISTIC_ALT_FOUR_ON = 8

for HarfBuzz.aat_layout_feature_type_t.STYLISTIC_ALTERNATIVES

TRADITIONAL_ALT_FOUR = 8

for HarfBuzz.aat_layout_feature_type_t.CHARACTER_SHAPE

EXPONENTS_OFF = 9

for HarfBuzz.aat_layout_feature_type_t.MATHEMATICAL_EXTRAS

HANJA_TO_HANGUL_ALT_THREE = 9

for HarfBuzz.aat_layout_feature_type_t.TRANSLITERATION

INVERTED_BOX_ANNOTATION = 9

for HarfBuzz.aat_layout_feature_type_t.ANNOTATION_TYPE

NON_FINAL_SWASHES_OFF = 9

for HarfBuzz.aat_layout_feature_type_t.SMART_SWASH_TYPE

REBUS_PICTURES_OFF = 9

for HarfBuzz.aat_layout_feature_type_t.LIGATURES

SMART_QUOTES_OFF = 9

for HarfBuzz.aat_layout_feature_type_t.TYPOGRAPHIC_EXTRAS

STYLISTIC_ALT_FOUR_OFF = 9

for HarfBuzz.aat_layout_feature_type_t.STYLISTIC_ALTERNATIVES

TRADITIONAL_ALT_FIVE = 9

for HarfBuzz.aat_layout_feature_type_t.CHARACTER_SHAPE

class HarfBuzz.aat_layout_feature_type_t(value)

Bases: GObject.GEnum

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

New in version 2.2.0.

ALL_TYPOGRAPHIC = 0

All Typographic Features

LIGATURES = 1

Ligatures

VERTICAL_POSITION = 10

Vertical Position

CJK_ROMAN_SPACING_TYPE = 103

CJK Roman Spacing

FRACTIONS = 11

Fractions

OVERLAPPING_CHARACTERS_TYPE = 13

Overlapping Characters

TYPOGRAPHIC_EXTRAS = 14

Typographic Extras

MATHEMATICAL_EXTRAS = 15

Mathematical Extras

ORNAMENT_SETS_TYPE = 16

Ornament Sets

CHARACTER_ALTERNATIVES = 17

Character Alternatives

DESIGN_COMPLEXITY_TYPE = 18

Design Complexity

STYLE_OPTIONS = 19

Style Options

CURSIVE_CONNECTION = 2

Cursive Connection

CHARACTER_SHAPE = 20

Character Shape

NUMBER_CASE = 21

Number Case

TEXT_SPACING = 22

Text Spacing

TRANSLITERATION = 23

Transliteration

ANNOTATION_TYPE = 24

Annotation

KANA_SPACING_TYPE = 25

Kana Spacing

IDEOGRAPHIC_SPACING_TYPE = 26

Ideographic Spacing

UNICODE_DECOMPOSITION_TYPE = 27

Unicode Decomposition

RUBY_KANA = 28

Ruby Kana

CJK_SYMBOL_ALTERNATIVES_TYPE = 29

CJK Symbol Alternatives

LETTER_CASE = 3

Letter Case

IDEOGRAPHIC_ALTERNATIVES_TYPE = 30

Ideographic Alternatives

CJK_VERTICAL_ROMAN_PLACEMENT_TYPE = 31

CJK Vertical Roman Placement

ITALIC_CJK_ROMAN = 32

Italic CJK Roman

CASE_SENSITIVE_LAYOUT = 33

Case Sensitive Layout

ALTERNATE_KANA = 34

Alternate Kana

STYLISTIC_ALTERNATIVES = 35

Stylistic Alternatives

CONTEXTUAL_ALTERNATIVES = 36

Contextual Alternatives

LOWER_CASE = 37

Lower Case

UPPER_CASE = 38

Upper Case

LANGUAGE_TAG_TYPE = 39

Language Tag

VERTICAL_SUBSTITUTION = 4

Vertical Substitution

LINGUISTIC_REARRANGEMENT = 5

Linguistic Rearrangement

NUMBER_SPACING = 6

Number Spacing

INVALID = 65535

Initial, unset feature type

SMART_SWASH_TYPE = 8

Smart Swash

DIACRITICS_TYPE = 9

Diacritics

class HarfBuzz.buffer_cluster_level_t(value)

Bases: GObject.GEnum

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

In HarfBuzz.buffer_cluster_level_t.MONOTONE_GRAPHEMES, non-base characters are merged into the cluster of the base character that precedes them.

In HarfBuzz.buffer_cluster_level_t.MONOTONE_CHARACTERS, non-base characters are initially assigned their own cluster values, which are not merged into preceding base clusters. This allows HarfBuzz to perform additional operations like reorder sequences of adjacent marks.

HarfBuzz.buffer_cluster_level_t.MONOTONE_GRAPHEMES is the default, because it maintains backward compatibility with older versions of HarfBuzz. New client programs that do not need to maintain such backward compatibility are recommended to use HarfBuzz.buffer_cluster_level_t.MONOTONE_CHARACTERS instead of the default.

New in version 0.9.42.

DEFAULT = 0

Default cluster level, equal to HarfBuzz.buffer_cluster_level_t.MONOTONE_GRAPHEMES.

MONOTONE_GRAPHEMES = 0

Return cluster values grouped by graphemes into monotone order.

MONOTONE_CHARACTERS = 1

Return cluster values grouped into monotone order.

CHARACTERS = 2

Don’t group cluster values.

class HarfBuzz.buffer_content_type_t(value)

Bases: GObject.GEnum

The type of HarfBuzz.buffer_t contents.

INVALID = 0

Initial value for new buffer.

UNICODE = 1

The buffer contains input characters (before shaping).

GLYPHS = 2

The buffer contains output glyphs (after shaping).

class HarfBuzz.buffer_serialize_format_t(value)

Bases: GObject.GEnum

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

New in version 0.9.2.

INVALID = 0

invalid format.

JSON = 1246973774

a machine-readable JSON format.

TEXT = 1413830740

a human-readable, plain text format.

class HarfBuzz.direction_t(value)

Bases: GObject.GEnum

The direction of a text segment or buffer.

A segment can also be tested for horizontal or vertical orientation (irrespective of specific direction) with HB_DIRECTION_IS_HORIZONTAL() or HB_DIRECTION_IS_VERTICAL().

INVALID = 0

Initial, unset direction.

LTR = 4

Text is set horizontally from left to right.

RTL = 5

Text is set horizontally from right to left.

TTB = 6

Text is set vertically from top to bottom.

BTT = 7

Text is set vertically from bottom to top.

class HarfBuzz.memory_mode_t(value)

Bases: GObject.GEnum

Data type holding the memory modes available to client programs.

Regarding these various memory-modes:

DUPLICATE = 0

HarfBuzz immediately makes a copy of the data.

READONLY = 1

HarfBuzz client will never modify the data, and HarfBuzz will never modify the data.

WRITABLE = 2

HarfBuzz client made a copy of the data solely for HarfBuzz, so HarfBuzz may modify the data.

READONLY_MAY_MAKE_WRITABLE = 3

See above

class HarfBuzz.ot_layout_baseline_tag_t(value)

Bases: GObject.GEnum

Baseline tags from Baseline Tags registry.

New in version 2.6.0.

IDEO_FACE_CENTRAL = 1231251043

The center of the ideographic character face.

New in version 4.0.0.

IDEO_EMBOX_CENTRAL = 1231315813

The center of the ideographic em-box.if the direction is horizontal or vertical, respectively.

New in version 4.0.0.

HANGING = 1751215719

The hanging baseline. In horizontal direction, this is the horizontal line from which syllables seem, to hang in Tibetan and other similar scripts. In vertical writing mode, for Tibetan (or some other similar script) characters rotated 90 degrees clockwise.

IDEO_FACE_BOTTOM_OR_LEFT = 1768121954

Ideographic character face bottom or left edge, if the direction is horizontal or vertical, respectively.

IDEO_FACE_TOP_OR_RIGHT = 1768121972

Ideographic character face top or right edge, if the direction is horizontal or vertical, respectively.

IDEO_EMBOX_BOTTOM_OR_LEFT = 1768187247

Ideographic em-box bottom or left edge, if the direction is horizontal or vertical, respectively.

IDEO_EMBOX_TOP_OR_RIGHT = 1768191088

Ideographic em-box top or right edge baseline,

MATH = 1835103336

The baseline about which mathematical characters are centered. In vertical writing mode when mathematical characters rotated 90 degrees clockwise, are centered.

ROMAN = 1919905134

The baseline used by alphabetic scripts such as Latin, Cyrillic and Greek. In vertical writing mode, the alphabetic baseline for characters rotated 90 degrees clockwise. (This would not apply to alphabetic characters that remain upright in vertical writing mode, since these characters are not rotated.)

class HarfBuzz.ot_layout_glyph_class_t(value)

Bases: GObject.GEnum

The GDEF classes defined for glyphs.

UNCLASSIFIED = 0

Glyphs not matching the other classifications

BASE_GLYPH = 1

Spacing, single characters, capable of accepting marks

LIGATURE = 2

Glyphs that represent ligation of multiple characters

MARK = 3

Non-spacing, combining glyphs that represent marks

COMPONENT = 4

Spacing glyphs that represent part of a single character

class HarfBuzz.ot_math_constant_t(value)

Bases: GObject.GEnum

The ‘MATH’ table constants, refer to OpenType documentation For more explanations.

New in version 1.3.3.

SCRIPT_PERCENT_SCALE_DOWN = 0

scriptPercentScaleDown

SCRIPT_SCRIPT_PERCENT_SCALE_DOWN = 1

scriptScriptPercentScaleDown

SUBSCRIPT_BASELINE_DROP_MIN = 10

subscriptBaselineDropMin

SUPERSCRIPT_SHIFT_UP = 11

superscriptShiftUp

SUPERSCRIPT_SHIFT_UP_CRAMPED = 12

superscriptShiftUpCramped

SUPERSCRIPT_BOTTOM_MIN = 13

superscriptBottomMin

SUPERSCRIPT_BASELINE_DROP_MAX = 14

superscriptBaselineDropMax

SUB_SUPERSCRIPT_GAP_MIN = 15

subSuperscriptGapMin

SUPERSCRIPT_BOTTOM_MAX_WITH_SUBSCRIPT = 16

superscriptBottomMaxWithSubscript

SPACE_AFTER_SCRIPT = 17

spaceAfterScript

UPPER_LIMIT_GAP_MIN = 18

upperLimitGapMin

UPPER_LIMIT_BASELINE_RISE_MIN = 19

upperLimitBaselineRiseMin

DELIMITED_SUB_FORMULA_MIN_HEIGHT = 2

delimitedSubFormulaMinHeight

LOWER_LIMIT_GAP_MIN = 20

lowerLimitGapMin

LOWER_LIMIT_BASELINE_DROP_MIN = 21

lowerLimitBaselineDropMin

STACK_TOP_SHIFT_UP = 22

stackTopShiftUp

STACK_TOP_DISPLAY_STYLE_SHIFT_UP = 23

stackTopDisplayStyleShiftUp

STACK_BOTTOM_SHIFT_DOWN = 24

stackBottomShiftDown

STACK_BOTTOM_DISPLAY_STYLE_SHIFT_DOWN = 25

stackBottomDisplayStyleShiftDown

STACK_GAP_MIN = 26

stackGapMin

STACK_DISPLAY_STYLE_GAP_MIN = 27

stackDisplayStyleGapMin

STRETCH_STACK_TOP_SHIFT_UP = 28

stretchStackTopShiftUp

STRETCH_STACK_BOTTOM_SHIFT_DOWN = 29

stretchStackBottomShiftDown

DISPLAY_OPERATOR_MIN_HEIGHT = 3

displayOperatorMinHeight

STRETCH_STACK_GAP_ABOVE_MIN = 30

stretchStackGapAboveMin

STRETCH_STACK_GAP_BELOW_MIN = 31

stretchStackGapBelowMin

FRACTION_NUMERATOR_SHIFT_UP = 32

fractionNumeratorShiftUp

FRACTION_NUMERATOR_DISPLAY_STYLE_SHIFT_UP = 33

fractionNumeratorDisplayStyleShiftUp

FRACTION_DENOMINATOR_SHIFT_DOWN = 34

fractionDenominatorShiftDown

FRACTION_DENOMINATOR_DISPLAY_STYLE_SHIFT_DOWN = 35

fractionDenominatorDisplayStyleShiftDown

FRACTION_NUMERATOR_GAP_MIN = 36

fractionNumeratorGapMin

FRACTION_NUM_DISPLAY_STYLE_GAP_MIN = 37

fractionNumDisplayStyleGapMin

FRACTION_RULE_THICKNESS = 38

fractionRuleThickness

FRACTION_DENOMINATOR_GAP_MIN = 39

fractionDenominatorGapMin

MATH_LEADING = 4

mathLeading

FRACTION_DENOM_DISPLAY_STYLE_GAP_MIN = 40

fractionDenomDisplayStyleGapMin

SKEWED_FRACTION_HORIZONTAL_GAP = 41

skewedFractionHorizontalGap

SKEWED_FRACTION_VERTICAL_GAP = 42

skewedFractionVerticalGap

OVERBAR_VERTICAL_GAP = 43

overbarVerticalGap

OVERBAR_RULE_THICKNESS = 44

overbarRuleThickness

OVERBAR_EXTRA_ASCENDER = 45

overbarExtraAscender

UNDERBAR_VERTICAL_GAP = 46

underbarVerticalGap

UNDERBAR_RULE_THICKNESS = 47

underbarRuleThickness

UNDERBAR_EXTRA_DESCENDER = 48

underbarExtraDescender

RADICAL_VERTICAL_GAP = 49

radicalVerticalGap

AXIS_HEIGHT = 5

axisHeight

RADICAL_DISPLAY_STYLE_VERTICAL_GAP = 50

radicalDisplayStyleVerticalGap

RADICAL_RULE_THICKNESS = 51

radicalRuleThickness

RADICAL_EXTRA_ASCENDER = 52

radicalExtraAscender

RADICAL_KERN_BEFORE_DEGREE = 53

radicalKernBeforeDegree

RADICAL_KERN_AFTER_DEGREE = 54

radicalKernAfterDegree

RADICAL_DEGREE_BOTTOM_RAISE_PERCENT = 55

radicalDegreeBottomRaisePercent

ACCENT_BASE_HEIGHT = 6

accentBaseHeight

FLATTENED_ACCENT_BASE_HEIGHT = 7

flattenedAccentBaseHeight

SUBSCRIPT_SHIFT_DOWN = 8

subscriptShiftDown

SUBSCRIPT_TOP_MAX = 9

subscriptTopMax

class HarfBuzz.ot_math_kern_t(value)

Bases: GObject.GEnum

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

New in version 1.3.3.

TOP_RIGHT = 0

The top right corner of the glyph.

TOP_LEFT = 1

The top left corner of the glyph.

BOTTOM_RIGHT = 2

The bottom right corner of the glyph.

BOTTOM_LEFT = 3

The bottom left corner of the glyph.

class HarfBuzz.ot_meta_tag_t(value)

Bases: GObject.GEnum

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

New in version 2.6.0.

DESIGN_LANGUAGES = 1684827751

Design languages. Text, using only Basic Latin (ASCII) characters. Indicates languages and/or scripts for the user audiences that the font was primarily designed for.

SUPPORTED_LANGUAGES = 1936485991

Supported languages. Text, using only Basic Latin (ASCII) characters. Indicates languages and/or scripts that the font is declared to be capable of supporting.

class HarfBuzz.ot_metrics_tag_t(value)

Bases: GObject.GEnum

Metric tags corresponding to MVAR Value Tags

New in version 2.6.0.

CAP_HEIGHT = 1668311156

cap height.

HORIZONTAL_ASCENDER = 1751216995

horizontal ascender.

HORIZONTAL_CLIPPING_ASCENT = 1751346273

horizontal clipping ascent.

HORIZONTAL_CLIPPING_DESCENT = 1751346276

horizontal clipping descent.

HORIZONTAL_CARET_OFFSET = 1751347046

horizontal caret offset.

HORIZONTAL_CARET_RUN = 1751347822

horizontal caret run.

HORIZONTAL_CARET_RISE = 1751347827

horizontal caret rise.

HORIZONTAL_DESCENDER = 1751413603

horizontal descender.

HORIZONTAL_LINE_GAP = 1751934832

horizontal line gap.

SUBSCRIPT_EM_X_OFFSET = 1935833199

subscript em x offset.

SUBSCRIPT_EM_X_SIZE = 1935833203

subscript em x size.

SUBSCRIPT_EM_Y_OFFSET = 1935833455

subscript em y offset.

SUBSCRIPT_EM_Y_SIZE = 1935833459

subscript em y size.

SUPERSCRIPT_EM_X_OFFSET = 1936750703

superscript em x offset.

SUPERSCRIPT_EM_X_SIZE = 1936750707

superscript em x size.

SUPERSCRIPT_EM_Y_OFFSET = 1936750959

superscript em y offset.

SUPERSCRIPT_EM_Y_SIZE = 1936750963

superscript em y size.

STRIKEOUT_OFFSET = 1937011311

strikeout offset.

STRIKEOUT_SIZE = 1937011315

strikeout size.

UNDERLINE_OFFSET = 1970168943

underline offset.

UNDERLINE_SIZE = 1970168947

underline size.

VERTICAL_ASCENDER = 1986098019

vertical ascender.

VERTICAL_CARET_OFFSET = 1986228070

vertical caret offset.

VERTICAL_CARET_RUN = 1986228846

vertical caret run.

VERTICAL_CARET_RISE = 1986228851

vertical caret rise.

VERTICAL_DESCENDER = 1986294627

vertical descender.

VERTICAL_LINE_GAP = 1986815856

vertical line gap.

X_HEIGHT = 2020108148

x height.

class HarfBuzz.ot_name_id_predefined_t(value)

Bases: GObject.GEnum

An enum type representing the pre-defined name IDs.

For more information on these fields, see the OpenType spec.

New in version 7.0.0.

COPYRIGHT = 0

Copyright notice

FONT_FAMILY = 1

Font Family name

DESCRIPTION = 10

Description

VENDOR_URL = 11

URL of font vendor

DESIGNER_URL = 12

URL of typeface designer

LICENSE = 13

License Description

LICENSE_URL = 14

URL where additional licensing information can be found

TYPOGRAPHIC_FAMILY = 16

Typographic Family name

TYPOGRAPHIC_SUBFAMILY = 17

Typographic Subfamily name

MAC_FULL_NAME = 18

Compatible Full Name for MacOS

SAMPLE_TEXT = 19

Sample text

FONT_SUBFAMILY = 2

Font Subfamily name

CID_FINDFONT_NAME = 20

PostScript CID findfont name

WWS_FAMILY = 21

WWS Family Name

WWS_SUBFAMILY = 22

WWS Subfamily Name

LIGHT_BACKGROUND = 23

Light Background Palette

DARK_BACKGROUND = 24

Dark Background Palette

VARIATIONS_PS_PREFIX = 25

Variations PostScript Name Prefix

UNIQUE_ID = 3

Unique font identifier

FULL_NAME = 4

Full font name that reflects all family and relevant subfamily descriptors

VERSION_STRING = 5

Version string

POSTSCRIPT_NAME = 6

PostScript name for the font

INVALID = 65535

Value to represent a nonexistent name ID.

TRADEMARK = 7

Trademark

MANUFACTURER = 8

Manufacturer Name

DESIGNER = 9

Designer

class HarfBuzz.paint_composite_mode_t(value)

Bases: GObject.GEnum

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

See the OpenType spec COLR section for details.

New in version 7.0.0.

CLEAR = 0

clear destination layer (bounded)

SRC = 1

replace destination layer (bounded)

DEST_ATOP = 10

leave destination on top of source content and only there (unbounded)

XOR = 11

source and destination are shown where there is only one of them

PLUS = 12

source and destination layers are accumulated

SCREEN = 13

source and destination are complemented and multiplied. This causes the result to be at least as light as the lighter inputs.

OVERLAY = 14

multiplies or screens, depending on the lightness of the destination color.

DARKEN = 15

replaces the destination with the source if it is darker, otherwise keeps the source.

LIGHTEN = 16

replaces the destination with the source if it is lighter, otherwise keeps the source.

COLOR_DODGE = 17

brightens the destination color to reflect the source color.

COLOR_BURN = 18

darkens the destination color to reflect the source color.

HARD_LIGHT = 19

Multiplies or screens, dependent on source color.

DEST = 2

ignore the source

SOFT_LIGHT = 20

Darkens or lightens, dependent on source color.

DIFFERENCE = 21

Takes the difference of the source and destination color.

EXCLUSION = 22

Produces an effect similar to difference, but with lower contrast.

MULTIPLY = 23

source and destination layers are multiplied. This causes the result to be at least as dark as the darker inputs.

HSL_HUE = 24

Creates a color with the hue of the source and the saturation and luminosity of the target.

HSL_SATURATION = 25

Creates a color with the saturation of the source and the hue and luminosity of the target. Painting with this mode onto a gray area produces no change.

HSL_COLOR = 26

Creates a color with the hue and saturation of the source and the luminosity of the target. This preserves the gray levels of the target and is useful for coloring monochrome images or tinting color images.

HSL_LUMINOSITY = 27

Creates a color with the luminosity of the source and the hue and saturation of the target. This produces an inverse effect to HarfBuzz.paint_composite_mode_t.HSL_COLOR.

SRC_OVER = 3

draw source layer on top of destination layer (bounded)

DEST_OVER = 4

draw destination on top of source

SRC_IN = 5

draw source where there was destination content (unbounded)

DEST_IN = 6

leave destination only where there was source content (unbounded)

SRC_OUT = 7

draw source where there was no destination content (unbounded)

DEST_OUT = 8

leave destination only where there was no source content

SRC_ATOP = 9

draw source on top of destination content and only there

class HarfBuzz.paint_extend_t(value)

Bases: GObject.GEnum

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

See the OpenType spec COLR section for details.

New in version 7.0.0.

PAD = 0

Outside the defined interval, the color of the closest color stop is used.

REPEAT = 1

The color line is repeated over repeated multiples of the defined interval

REFLECT = 2

The color line is repeated over repeated intervals, as for the repeat mode. However, in each repeated interval, the ordering of color stops is the reverse of the adjacent interval.

class HarfBuzz.script_t(value)

Bases: GObject.GEnum

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

See also the Script (sc) property of the Unicode Character Database.

INVALID = 0

No script set

ADLAM = 1097100397

Adlm,

New in version 1.3.0.

CAUCASIAN_ALBANIAN = 1097295970

Aghb,

New in version 0.9.30.

AHOM = 1097363309

Ahom,

New in version 0.9.30.

ARABIC = 1098015074

Arab

IMPERIAL_ARAMAIC = 1098018153

Armi

ARMENIAN = 1098018158

Armn

AVESTAN = 1098281844

Avst

BALINESE = 1113681001

Bali

BAMUM = 1113681269

Bamu

BASSA_VAH = 1113682803

Bass,

New in version 0.9.30.

BATAK = 1113683051

Batk

BENGALI = 1113943655

Beng

BHAIKSUKI = 1114139507

Bhks,

New in version 1.3.0.

BOPOMOFO = 1114599535

Bopo

BRAHMI = 1114792296

Brah

BRAILLE = 1114792297

Brai

BUGINESE = 1114990441

Bugi

BUHID = 1114990692

Buhd

CHAKMA = 1130457965

Cakm

CANADIAN_SYLLABICS = 1130458739

Cans

CARIAN = 1130459753

Cari

CHAM = 1130914157

Cham

CHEROKEE = 1130915186

Cher

CHORASMIAN = 1130918515

Chrs,

New in version 2.6.7.

COPTIC = 1131376756

Copt

CYPRO_MINOAN = 1131441518

Cpmn,

New in version 3.0.0.

CYPRIOT = 1131442804

Cprt

CYRILLIC = 1132032620

Cyrl

DEVANAGARI = 1147500129

Deva

DIVES_AKURU = 1147756907

Diak,

New in version 2.6.7.

DOGRA = 1148151666

Dogr,

New in version 1.8.0.

DESERET = 1148416628

Dsrt

DUPLOYAN = 1148547180

Dupl,

New in version 0.9.30.

EGYPTIAN_HIEROGLYPHS = 1164409200

Egyp

ELBASAN = 1164730977

Elba,

New in version 0.9.30.

ELYMAIC = 1164736877

Elym,

New in version 2.4.0.

ETHIOPIC = 1165256809

Ethi

GEORGIAN = 1197830002

Geor

GLAGOLITIC = 1198285159

Glag

GUNJALA_GONDI = 1198485095

Gong,

New in version 1.8.0.

MASARAM_GONDI = 1198485101

Gonm,

New in version 1.6.0.

GOTHIC = 1198486632

Goth

GRANTHA = 1198678382

Gran,

New in version 0.9.30.

GREEK = 1198679403

Grek

GUJARATI = 1198877298

Gujr

GURMUKHI = 1198879349

Guru

HANGUL = 1214344807

Hang

HAN = 1214344809

Hani

HANUNOO = 1214344815

Hano

HATRAN = 1214346354

Hatr,

New in version 0.9.30.

HEBREW = 1214603890

Hebr

HIRAGANA = 1214870113

Hira

ANATOLIAN_HIEROGLYPHS = 1215067511

Hluw,

New in version 0.9.30.

PAHAWH_HMONG = 1215131239

Hmng,

New in version 0.9.30.

NYIAKENG_PUACHUE_HMONG = 1215131248

Hmnp,

New in version 2.4.0.

OLD_HUNGARIAN = 1215655527

Hung,

New in version 0.9.30.

OLD_ITALIC = 1232363884

Ital

JAVANESE = 1247901281

Java

KAYAH_LI = 1264675945

Kali

KATAKANA = 1264676449

Kana

KAWI = 1264678761

Kawi,

New in version 5.2.0.

KHAROSHTHI = 1265131890

Khar

KHMER = 1265134962

Khmr

KHOJKI = 1265135466

Khoj,

New in version 0.9.30.

KHITAN_SMALL_SCRIPT = 1265202291

Kits,

New in version 2.6.7.

KANNADA = 1265525857

Knda

KAITHI = 1265920105

Kthi

TAI_THAM = 1281453665

Lana

LAO = 1281453935

Laoo

LATIN = 1281455214

Latn

LEPCHA = 1281716323

Lepc

LIMBU = 1281977698

Limb

LINEAR_A = 1281977953

Lina,

New in version 0.9.30.

LINEAR_B = 1281977954

Linb

LISU = 1281979253

Lisu

LYCIAN = 1283023721

Lyci

LYDIAN = 1283023977

Lydi

MAHAJANI = 1298229354

Mahj,

New in version 0.9.30.

MAKASAR = 1298230113

Maka,

New in version 1.8.0.

MANDAIC = 1298230884

Mand

MANICHAEAN = 1298230889

Mani,

New in version 0.9.30.

MARCHEN = 1298231907

Marc,

New in version 1.3.0.

MEDEFAIDRIN = 1298490470

Medf,

New in version 1.8.0.

MENDE_KIKAKUI = 1298493028

Mend,

New in version 0.9.30.

MEROITIC_CURSIVE = 1298494051

Merc

MEROITIC_HIEROGLYPHS = 1298494063

Mero

MALAYALAM = 1298954605

Mlym

MODI = 1299145833

Modi,

New in version 0.9.30.

MONGOLIAN = 1299148391

Mong

MRO = 1299345263

Mroo,

New in version 0.9.30.

MEETEI_MAYEK = 1299473769

Mtei

MULTANI = 1299541108

Mult,

New in version 0.9.30.

MYANMAR = 1299803506

Mymr

NAG_MUNDARI = 1315006317

Nagm,

New in version 5.2.0.

NANDINAGARI = 1315008100

Nand,

New in version 2.4.0.

OLD_NORTH_ARABIAN = 1315009122

Narb,

New in version 0.9.30.

NABATAEAN = 1315070324

Nbat,

New in version 0.9.30.

NEWA = 1315272545

Newa,

New in version 1.3.0.

NKO = 1315663727

Nkoo

NUSHU = 1316186229

Nshu,

New in version 1.6.0.

OGHAM = 1332175213

Ogam

OL_CHIKI = 1332503403

Olck

OLD_TURKIC = 1332898664

Orkh

ORIYA = 1332902241

Orya

OSAGE = 1332963173

Osge,

New in version 1.3.0.

OSMANYA = 1332964705

Osma

OLD_UYGHUR = 1333094258

Ougr,

New in version 3.0.0.

PALMYRENE = 1348562029

Palm,

New in version 0.9.30.

PAU_CIN_HAU = 1348564323

Pauc,

New in version 0.9.30.

OLD_PERMIC = 1348825709

Perm,

New in version 0.9.30.

PHAGS_PA = 1349017959

Phag

INSCRIPTIONAL_PAHLAVI = 1349020777

Phli

PSALTER_PAHLAVI = 1349020784

Phlp,

New in version 0.9.30.

PHOENICIAN = 1349021304

Phnx

MIAO = 1349284452

Plrd

INSCRIPTIONAL_PARTHIAN = 1349678185

Prti

REJANG = 1382706791

Rjng

HANIFI_ROHINGYA = 1383032935

Rohg,

New in version 1.8.0.

RUNIC = 1383427698

Runr

SAMARITAN = 1398893938

Samr

OLD_SOUTH_ARABIAN = 1398895202

Sarb

SAURASHTRA = 1398895986

Saur

SIGNWRITING = 1399287415

Sgnw,

New in version 0.9.30.

SHAVIAN = 1399349623

Shaw

SHARADA = 1399353956

Shrd

SIDDHAM = 1399415908

Sidd,

New in version 0.9.30.

KHUDAWADI = 1399418468

Sind,

New in version 0.9.30.

SINHALA = 1399418472

Sinh

SOGDIAN = 1399809892

Sogd,

New in version 1.8.0.

OLD_SOGDIAN = 1399809903

Sogo,

New in version 1.8.0.

SORA_SOMPENG = 1399812705

Sora

SOYOMBO = 1399814511

Soyo,

New in version 1.6.0.

SUNDANESE = 1400204900

Sund

SYLOTI_NAGRI = 1400466543

Sylo

SYRIAC = 1400468067

Syrc

TAGBANWA = 1415669602

Tagb

TAKRI = 1415670642

Takr

TAI_LE = 1415670885

Tale

NEW_TAI_LUE = 1415670901

Talu

TAMIL = 1415671148

Taml

TANGUT = 1415671399

Tang,

New in version 1.3.0.

TAI_VIET = 1415673460

Tavt

TELUGU = 1415933045

Telu

TIFINAGH = 1415999079

Tfng

TAGALOG = 1416064103

Tglg

THAANA = 1416126817

Thaa

THAI = 1416126825

Thai

TIBETAN = 1416192628

Tibt

TIRHUTA = 1416196712

Tirh,

New in version 0.9.30.

TANGSA = 1416524641

Tnsa,

New in version 3.0.0.

TOTO = 1416590447

Toto,

New in version 3.0.0.

UGARITIC = 1432838514

Ugar

VAI = 1449224553

Vaii

VITHKUQI = 1449751656

Vith,

New in version 3.0.0.

WARANG_CITI = 1466004065

Wara,

New in version 0.9.30.

WANCHO = 1466132591

Wcho,

New in version 2.4.0.

OLD_PERSIAN = 1483761007

Xpeo

CUNEIFORM = 1483961720

Xsux

YEZIDI = 1499822697

Yezi,

New in version 2.6.7.

YI = 1500080489

Yiii

ZANABAZAR_SQUARE = 1516334690

Zanb,

New in version 1.6.0.

INHERITED = 1516858984

Zinh

MATH = 1517122664

Zmth,

New in version 3.4.0.

COMMON = 1517910393

Zyyy

UNKNOWN = 1517976186

Zzzz

class HarfBuzz.style_tag_t(value)

Bases: GObject.GEnum

Defined by OpenType Design-Variation Axis Tag Registry.

New in version 3.0.0.

SLANT_RATIO = 1399615092

same as HarfBuzz.style_tag_t.SLANT_ANGLE expression as ratio. Typical right-leaning Italic fonts have a positive slant ratio (typically around 0.2)

ITALIC = 1769234796

Used to vary between non-italic and italic. A value of 0 can be interpreted as “Roman” (non-italic); a value of 1 can be interpreted as (fully) italic.

OPTICAL_SIZE = 1869640570

Used to vary design to suit different text sizes. Non-zero. Values can be interpreted as text size, in points.

SLANT_ANGLE = 1936486004

Used to vary between upright and slanted text. Values must be greater than -90 and less than +90. Values can be interpreted as the angle, in counter-clockwise degrees, of oblique slant from whatever the designer considers to be upright for that font design. Typical right-leaning Italic fonts have a negative slant angle (typically around -12)

WIDTH = 2003072104

Used to vary width of text from narrower to wider. Non-zero. Values can be interpreted as a percentage of whatever the font designer considers “normal width” for that font design.

WEIGHT = 2003265652

Used to vary stroke thicknesses or other design details to give variation from lighter to blacker. Values can be interpreted in direct comparison to values for usWeightClass in the OS/2 table, or the CSS font-weight property.

class HarfBuzz.unicode_combining_class_t(value)

Bases: GObject.GEnum

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

Note: newer versions of Unicode may add new values. Client programs should be ready to handle any value in the 0..254 range being returned from HarfBuzz.unicode_combining_class().

NOT_REORDERED = 0

Spacing and enclosing marks; also many vowel and consonant signs, even if nonspacing

OVERLAY = 1

Marks which overlay a base letter or symbol

CCC10 = 10

[Hebrew]

CCC103 = 103

[Thai]

CCC107 = 107

[Thai]

CCC11 = 11

[Hebrew]

CCC118 = 118

[Lao]

CCC12 = 12

[Hebrew]

CCC122 = 122

[Lao]

CCC129 = 129

[Tibetan]

CCC13 = 13

[Hebrew]

CCC130 = 130

[Tibetan]

CCC132 = 132

[Tibetan]

New in version 7.2.0.

CCC14 = 14

[Hebrew]

CCC15 = 15

[Hebrew]

CCC16 = 16

[Hebrew]

CCC17 = 17

[Hebrew]

CCC18 = 18

[Hebrew]

CCC19 = 19

[Hebrew]

CCC20 = 20

[Hebrew]

ATTACHED_BELOW_LEFT = 200

Marks attached at the bottom left

ATTACHED_BELOW = 202

Marks attached directly below

CCC21 = 21

[Hebrew]

ATTACHED_ABOVE = 214

Marks attached directly above

ATTACHED_ABOVE_RIGHT = 216

Marks attached at the top right

BELOW_LEFT = 218

Distinct marks at the bottom left

CCC22 = 22

[Hebrew]

BELOW = 220

Distinct marks directly below

BELOW_RIGHT = 222

Distinct marks at the bottom right

LEFT = 224

Distinct marks to the left

RIGHT = 226

Distinct marks to the right

ABOVE_LEFT = 228

Distinct marks at the top left

CCC23 = 23

[Hebrew]

ABOVE = 230

Distinct marks directly above

ABOVE_RIGHT = 232

Distinct marks at the top right

DOUBLE_BELOW = 233

Distinct marks subtending two bases

DOUBLE_ABOVE = 234

Distinct marks extending above two bases

CCC24 = 24

[Hebrew]

IOTA_SUBSCRIPT = 240

Greek iota subscript only

CCC25 = 25

[Hebrew]

INVALID = 255

Invalid combining class

CCC26 = 26

[Hebrew]

CCC27 = 27

[Arabic]

CCC28 = 28

[Arabic]

CCC29 = 29

[Arabic]

CCC30 = 30

[Arabic]

CCC31 = 31

[Arabic]

CCC32 = 32

[Arabic]

CCC33 = 33

[Arabic]

CCC34 = 34

[Arabic]

CCC35 = 35

[Arabic]

CCC36 = 36

[Syriac]

NUKTA = 7

Diacritic nukta marks in Brahmi-derived scripts

KANA_VOICING = 8

Hiragana/Katakana voicing marks

CCC84 = 84

[Telugu]

VIRAMA = 9

Viramas

CCC91 = 91

[Telugu]

class HarfBuzz.unicode_general_category_t(value)

Bases: GObject.GEnum

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

CONTROL = 0

[Cc]

FORMAT = 1

[Cf]

SPACING_MARK = 10

[Mc]

ENCLOSING_MARK = 11

[Me]

NON_SPACING_MARK = 12

[Mn]

DECIMAL_NUMBER = 13

[Nd]

LETTER_NUMBER = 14

[Nl]

OTHER_NUMBER = 15

[No]

CONNECT_PUNCTUATION = 16

[Pc]

DASH_PUNCTUATION = 17

[Pd]

CLOSE_PUNCTUATION = 18

[Pe]

FINAL_PUNCTUATION = 19

[Pf]

UNASSIGNED = 2

[Cn]

INITIAL_PUNCTUATION = 20

[Pi]

OTHER_PUNCTUATION = 21

[Po]

OPEN_PUNCTUATION = 22

[Ps]

CURRENCY_SYMBOL = 23

[Sc]

MODIFIER_SYMBOL = 24

[Sk]

MATH_SYMBOL = 25

[Sm]

OTHER_SYMBOL = 26

[So]

LINE_SEPARATOR = 27

[Zl]

PARAGRAPH_SEPARATOR = 28

[Zp]

SPACE_SEPARATOR = 29

[Zs]

PRIVATE_USE = 3

[Co]

SURROGATE = 4

[Cs]

LOWERCASE_LETTER = 5

[Ll]

MODIFIER_LETTER = 6

[Lm]

OTHER_LETTER = 7

[Lo]

TITLECASE_LETTER = 8

[Lt]

UPPERCASE_LETTER = 9

[Lu]