FL.objects.TTInfo.TTInfo
- class FL.objects.TTInfo.TTInfo(ttinfo: TTInfo | None = None)
Bases:
CopyableTTInfo - class to represent TrueType Information
All information about TTInfo is based on an eMail from Yuri and was valid for FontLab 4.0
- __init__(ttinfo: TTInfo | None = None) None
Never create TTInfo object explicitly - they must be obtained from the FontLab’s Font classes.
- Parameters:
ttinfo (TTInfo | None) – Copy attributes from TTInfo or create an empty TTInfo
Methods
__init__([ttinfo])Never create TTInfo object explicitly - they must be obtained from the FontLab's Font classes.
fake_deserialize(data)fake_deserialize_gasp(data)fake_deserialize_stems(data)fake_deserialize_vdmx(data)fake_deserialize_zone_deltas(data)fake_deserialize_zones(data)fake_get_binary(attr)fake_serialize()fake_serialize_gasp()fake_serialize_stem_ppems()fake_serialize_stem_ppems1()fake_serialize_stems()fake_serialize_vdmx()fake_serialize_zone_deltas()fake_serialize_zones()fake_set_binary(attr, data)Set a binary table (cvt, prep, fpgm) from the representation chosen in JSON.
Attributes
list 'VSICharArray'
list 'VSICharArray'
list of smoothing control records 'VSArray'
list 'VSBByteArray'
head_creationhead_flagshead_font_direction_hinthead_lowest_rec_ppemhead_mac_stylehead_units_per_emhhea_ascenderhhea_descenderhhea_line_gaplist of horizontal TrueType-Stems 'VExTTStemArray'
max_function_defsmax_instruction_defsmax_stack_elementsmax_storagemax_twilight_pointsmax_zonesos2_fs_selectionos2_fs_typeos2_s_family_classos2_s_typo_ascenderos2_s_typo_descenderos2_s_typo_line_gapos2_ul_code_page_range1os2_ul_code_page_range2os2_us_weight_classos2_us_width_classos2_us_win_ascentos2_us_win_descentos2_y_strikeout_positionos2_y_strikeout_sizeos2_y_subscript_x_offsetos2_y_subscript_x_sizeos2_y_subscript_y_offsetos2_y_subscript_y_sizeos2_y_superscript_x_offsetos2_y_superscript_x_sizeos2_y_superscript_y_offsetos2_y_superscript_y_sizelist 'VSICharArray'
list 'VSArray'
list of vertical TrueType-Stems 'VExTTStemArray'
- fake_set_binary(attr: str, data: str) None
Set a binary table (cvt, prep, fpgm) from the representation chosen in JSON.