(face: FT_Face) -> bool
#import "freetype";
Procedures#
(face: FT_Face) -> bool
(face: FT_Face) -> bool
(face: FT_Face) -> bool
(face: FT_Face) -> bool
(face: FT_Face) -> bool
(face: FT_Face) -> bool
(face: FT_Face) -> bool
(face: FT_Face) -> bool
(face: FT_Face) -> bool
(face: FT_Face) -> bool
(face: FT_Face) -> bool
(face: FT_Face) -> bool
(face: FT_Face) -> bool
(face: FT_Face) -> bool
(face: FT_Face) -> bool
(face: FT_Face) -> bool
(library: FT_Library) -> FT_Error
(library: FT_Library) -> FT_Error
(error_code: FT_Error) -> *u8
(error_code: FT_Error) -> *u8
(charmap: FT_CharMap) -> FT_Int
(charmap: FT_CharMap) -> FT_Int
(charmap: FT_CharMap) -> FT_Long
(charmap: FT_CharMap) -> FT_Long
(charmap: FT_CharMap) -> FT_ULong
(charmap: FT_CharMap) -> FT_ULong
(face: FT_Face) -> *u8
(face: FT_Face) -> *u8
(alibrary: *FT_Library) -> FT_Error
(alibrary: *FT_Library) -> FT_Error
(face: FT_Face, char_width: FT_F26Dot6, char_height: FT_F26Dot6, horz_resolution: FT_UInt, vert_resolution: FT_UInt) -> FT_Error
(face: FT_Face, char_width: FT_F26Dot6, char_height: FT_F26Dot6, horz_resolution: FT_UInt, vert_resolution: FT_UInt) -> FT_Error
Types#
:: struct
:: struct
- rows: u32
- width: u32
- pitch: s32
- buffer: *u8
- num_grays: u16
- pixel_mode: u8
- palette_mode: u8
- palette: *void
:: struct
:: struct
- face: FT_Face
- encoding: FT_Encoding
- platform_id: FT_UShort
- encoding_id: FT_UShort
:: struct
:: struct
:: enum
- NONE
- MS_SYMBOL
- UNICODE
- SJIS
- PRC
- BIG5
- WANSUNG
- JOHAB
- GB2312
- MS_SJIS
- MS_GB2312
- MS_BIG5
- MS_WANSUNG
- MS_JOHAB
- ADOBE_STANDARD
- ADOBE_EXPERT
- ADOBE_CUSTOM
- ADOBE_LATIN_1
- OLD_LATIN_2
- APPLE_ROMAN
- FT_ENCODING_NONE
- FT_ENCODING_MS_SYMBOL
- FT_ENCODING_UNICODE
- FT_ENCODING_SJIS
- FT_ENCODING_PRC
- FT_ENCODING_BIG5
- FT_ENCODING_WANSUNG
- FT_ENCODING_JOHAB
- FT_ENCODING_GB2312
- FT_ENCODING_MS_SJIS
- FT_ENCODING_MS_GB2312
- FT_ENCODING_MS_BIG5
- FT_ENCODING_MS_WANSUNG
- FT_ENCODING_MS_JOHAB
- FT_ENCODING_ADOBE_STANDARD
- FT_ENCODING_ADOBE_EXPERT
- FT_ENCODING_ADOBE_CUSTOM
- FT_ENCODING_ADOBE_LATIN_1
- FT_ENCODING_OLD_LATIN_2
- FT_ENCODING_APPLE_ROMAN
:: enum
- Ok
- Cannot_Open_Resource
- Unknown_File_Format
- Invalid_File_Format
- Invalid_Version
- Lower_Module_Version
- Invalid_Argument
- Unimplemented_Feature
- Invalid_Table
- Invalid_Offset
- Array_Too_Large
- Missing_Module
- Missing_Property
- Invalid_Glyph_Index
- Invalid_Character_Code
- Invalid_Glyph_Format
- Cannot_Render_Glyph
- Invalid_Outline
- Invalid_Composite
- Too_Many_Hints
- Invalid_Pixel_Size
- Invalid_SVG_Document
- Invalid_Handle
- Invalid_Library_Handle
- Invalid_Driver_Handle
- Invalid_Face_Handle
- Invalid_Size_Handle
- Invalid_Slot_Handle
- Invalid_CharMap_Handle
- Invalid_Cache_Handle
- Invalid_Stream_Handle
- Too_Many_Drivers
- Too_Many_Extensions
- Out_Of_Memory
- Unlisted_Object
- Cannot_Open_Stream
- Invalid_Stream_Seek
- Invalid_Stream_Skip
- Invalid_Stream_Read
- Invalid_Stream_Operation
- Invalid_Frame_Operation
- Nested_Frame_Access
- Invalid_Frame_Read
- Raster_Uninitialized
- Raster_Corrupted
- Raster_Overflow
- Raster_Negative_Height
- Too_Many_Caches
- Invalid_Opcode
- Too_Few_Arguments
- Stack_Overflow
- Code_Overflow
- Bad_Argument
- Divide_By_Zero
- Invalid_Reference
- Debug_OpCode
- ENDF_In_Exec_Stream
- Nested_DEFS
- Invalid_CodeRange
- Execution_Too_Long
- Too_Many_Function_Defs
- Too_Many_Instruction_Defs
- Table_Missing
- Horiz_Header_Missing
- Locations_Missing
- Name_Table_Missing
- CMap_Table_Missing
- Hmtx_Table_Missing
- Post_Table_Missing
- Invalid_Horiz_Metrics
- Invalid_CharMap_Format
- Invalid_PPem
- Invalid_Vert_Metrics
- Could_Not_Find_Context
- Invalid_Post_Table_Format
- Invalid_Post_Table
- DEF_In_Glyf_Bytecode
- Missing_Bitmap
- Missing_SVG_Hooks
- Syntax_Error
- Stack_Underflow
- Ignore
- No_Unicode_Glyph_Name
- Glyph_Too_Big
- Missing_Startfont_Field
- Missing_Font_Field
- Missing_Size_Field
- Missing_Fontboundingbox_Field
- Missing_Chars_Field
- Missing_Startchar_Field
- Missing_Encoding_Field
- Missing_Bbx_Field
- Bbx_Too_Big
- Corrupted_Font_Header
- Corrupted_Font_Glyphs
- Max
- FT_Err_Ok
- FT_Err_Cannot_Open_Resource
- FT_Err_Unknown_File_Format
- FT_Err_Invalid_File_Format
- FT_Err_Invalid_Version
- FT_Err_Lower_Module_Version
- FT_Err_Invalid_Argument
- FT_Err_Unimplemented_Feature
- FT_Err_Invalid_Table
- FT_Err_Invalid_Offset
- FT_Err_Array_Too_Large
- FT_Err_Missing_Module
- FT_Err_Missing_Property
- FT_Err_Invalid_Glyph_Index
- FT_Err_Invalid_Character_Code
- FT_Err_Invalid_Glyph_Format
- FT_Err_Cannot_Render_Glyph
- FT_Err_Invalid_Outline
- FT_Err_Invalid_Composite
- FT_Err_Too_Many_Hints
- FT_Err_Invalid_Pixel_Size
- FT_Err_Invalid_SVG_Document
- FT_Err_Invalid_Handle
- FT_Err_Invalid_Library_Handle
- FT_Err_Invalid_Driver_Handle
- FT_Err_Invalid_Face_Handle
- FT_Err_Invalid_Size_Handle
- FT_Err_Invalid_Slot_Handle
- FT_Err_Invalid_CharMap_Handle
- FT_Err_Invalid_Cache_Handle
- FT_Err_Invalid_Stream_Handle
- FT_Err_Too_Many_Drivers
- FT_Err_Too_Many_Extensions
- FT_Err_Out_Of_Memory
- FT_Err_Unlisted_Object
- FT_Err_Cannot_Open_Stream
- FT_Err_Invalid_Stream_Seek
- FT_Err_Invalid_Stream_Skip
- FT_Err_Invalid_Stream_Read
- FT_Err_Invalid_Stream_Operation
- FT_Err_Invalid_Frame_Operation
- FT_Err_Nested_Frame_Access
- FT_Err_Invalid_Frame_Read
- FT_Err_Raster_Uninitialized
- FT_Err_Raster_Corrupted
- FT_Err_Raster_Overflow
- FT_Err_Raster_Negative_Height
- FT_Err_Too_Many_Caches
- FT_Err_Invalid_Opcode
- FT_Err_Too_Few_Arguments
- FT_Err_Stack_Overflow
- FT_Err_Code_Overflow
- FT_Err_Bad_Argument
- FT_Err_Divide_By_Zero
- FT_Err_Invalid_Reference
- FT_Err_Debug_OpCode
- FT_Err_ENDF_In_Exec_Stream
- FT_Err_Nested_DEFS
- FT_Err_Invalid_CodeRange
- FT_Err_Execution_Too_Long
- FT_Err_Too_Many_Function_Defs
- FT_Err_Too_Many_Instruction_Defs
- FT_Err_Table_Missing
- FT_Err_Horiz_Header_Missing
- FT_Err_Locations_Missing
- FT_Err_Name_Table_Missing
- FT_Err_CMap_Table_Missing
- FT_Err_Hmtx_Table_Missing
- FT_Err_Post_Table_Missing
- FT_Err_Invalid_Horiz_Metrics
- FT_Err_Invalid_CharMap_Format
- FT_Err_Invalid_PPem
- FT_Err_Invalid_Vert_Metrics
- FT_Err_Could_Not_Find_Context
- FT_Err_Invalid_Post_Table_Format
- FT_Err_Invalid_Post_Table
- FT_Err_DEF_In_Glyf_Bytecode
- FT_Err_Missing_Bitmap
- FT_Err_Missing_SVG_Hooks
- FT_Err_Syntax_Error
- FT_Err_Stack_Underflow
- FT_Err_Ignore
- FT_Err_No_Unicode_Glyph_Name
- FT_Err_Glyph_Too_Big
- FT_Err_Missing_Startfont_Field
- FT_Err_Missing_Font_Field
- FT_Err_Missing_Size_Field
- FT_Err_Missing_Fontboundingbox_Field
- FT_Err_Missing_Chars_Field
- FT_Err_Missing_Startchar_Field
- FT_Err_Missing_Encoding_Field
- FT_Err_Missing_Bbx_Field
- FT_Err_Bbx_Too_Big
- FT_Err_Corrupted_Font_Header
- FT_Err_Corrupted_Font_Glyphs
- FT_Err_Max
:: struct
:: struct
- num_faces: FT_Long
- face_index: FT_Long
- face_flags: FT_Long
- style_flags: FT_Long
- num_glyphs: FT_Long
- family_name: *FT_String
- style_name: *FT_String
- num_fixed_sizes: FT_Int
- available_sizes: *FT_Bitmap_Size
- num_charmaps: FT_Int
- charmaps: *FT_CharMap
- generic: FT_Generic
- bbox: FT_BBox
- units_per_EM: FT_UShort
- ascender: FT_Short
- descender: FT_Short
- height: FT_Short
- max_advance_width: FT_Short
- max_advance_height: FT_Short
- underline_position: FT_Short
- underline_thickness: FT_Short
- glyph: FT_GlyphSlot
- size: FT_Size
- charmap: FT_CharMap
- driver: FT_Driver
- memory: FT_Memory
- stream: FT_Stream
- sizes_list: FT_ListRec
- autohint: FT_Generic
- extensions: *void
- internal: FT_Face_Internal
:: struct
- data: *void
- finalizer: FT_Generic_Finalizer
:: enum
- NONE
- COMPOSITE
- BITMAP
- OUTLINE
- PLOTTER
- SVG
- FT_GLYPH_FORMAT_NONE
- FT_GLYPH_FORMAT_COMPOSITE
- FT_GLYPH_FORMAT_BITMAP
- FT_GLYPH_FORMAT_OUTLINE
- FT_GLYPH_FORMAT_PLOTTER
- FT_GLYPH_FORMAT_SVG
:: struct
:: struct
- library: FT_Library
- face: FT_Face
- next: FT_GlyphSlot
- glyph_index: FT_UInt
- generic: FT_Generic
- metrics: FT_Glyph_Metrics
- linearHoriAdvance: FT_Fixed
- linearVertAdvance: FT_Fixed
- advance: FT_Vector
- format: FT_Glyph_Format
- bitmap: FT_Bitmap
- bitmap_left: FT_Int
- bitmap_top: FT_Int
- outline: FT_Outline
- num_subglyphs: FT_UInt
- subglyphs: FT_SubGlyph
- control_data: *void
- control_len: s64
- lsb_delta: FT_Pos
- rsb_delta: FT_Pos
- other: *void
- internal: FT_Slot_Internal
:: enum
- DEFAULT
- UNFITTED
- UNSCALED
- FT_KERNING_DEFAULT
- FT_KERNING_UNFITTED
- FT_KERNING_UNSCALED
:: struct
:: struct
- prev: FT_ListNode
- next: FT_ListNode
- data: *void
:: struct
- head: FT_ListNode
- tail: FT_ListNode
:: struct
:: struct
- user: *void
- alloc: FT_Alloc_Func
- free: FT_Free_Func
- realloc: FT_Realloc_Func
:: enum
- Base
- Autofit
- BDF
- Bzip2
- Cache
- CFF
- CID
- Gzip
- LZW
- OTvalid
- PCF
- PFR
- PSaux
- PShinter
- PSnames
- Raster
- SFNT
- Smooth
- TrueType
- Type1
- Type42
- Winfonts
- GXvalid
- Sdf
- Max
- FT_Mod_Err_Base
- FT_Mod_Err_Autofit
- FT_Mod_Err_BDF
- FT_Mod_Err_Bzip2
- FT_Mod_Err_Cache
- FT_Mod_Err_CFF
- FT_Mod_Err_CID
- FT_Mod_Err_Gzip
- FT_Mod_Err_LZW
- FT_Mod_Err_OTvalid
- FT_Mod_Err_PCF
- FT_Mod_Err_PFR
- FT_Mod_Err_PSaux
- FT_Mod_Err_PShinter
- FT_Mod_Err_PSnames
- FT_Mod_Err_Raster
- FT_Mod_Err_SFNT
- FT_Mod_Err_Smooth
- FT_Mod_Err_TrueType
- FT_Mod_Err_Type1
- FT_Mod_Err_Type42
- FT_Mod_Err_Winfonts
- FT_Mod_Err_GXvalid
- FT_Mod_Err_Sdf
- FT_Mod_Err_Max
:: struct
:: struct
:: struct
- n_contours: s16
- n_points: s16
- points: *FT_Vector
- tags: *u8
- contours: *s16
- flags: s32
:: struct
- move_to: FT_Outline_MoveToFunc
- line_to: FT_Outline_LineToFunc
- conic_to: FT_Outline_ConicToFunc
- cubic_to: FT_Outline_CubicToFunc
- shift: s32
- delta: FT_Pos
:: struct
- tag: FT_ULong
- data: FT_Pointer
:: enum
- NONE
- MONO
- GRAY
- GRAY2
- GRAY4
- LCD
- LCD_V
- BGRA
- MAX
- FT_PIXEL_MODE_NONE
- FT_PIXEL_MODE_MONO
- FT_PIXEL_MODE_GRAY
- FT_PIXEL_MODE_GRAY2
- FT_PIXEL_MODE_GRAY4
- FT_PIXEL_MODE_LCD
- FT_PIXEL_MODE_LCD_V
- FT_PIXEL_MODE_BGRA
- FT_PIXEL_MODE_MAX
:: struct
- glyph_format: FT_Glyph_Format
- raster_new: FT_Raster_NewFunc
- raster_reset: FT_Raster_ResetFunc
- raster_set_mode: FT_Raster_SetModeFunc
- raster_render: FT_Raster_RenderFunc
- raster_done: FT_Raster_DoneFunc
:: struct
- target: *FT_Bitmap
- source: *void
- flags: s32
- gray_spans: FT_SpanFunc
- black_spans: FT_SpanFunc
- bit_test: FT_Raster_BitTest_Func
- bit_set: FT_Raster_BitSet_Func
- user: *void
- clip_box: FT_BBox
:: struct
:: enum
- NORMAL
- LIGHT
- MONO
- LCD
- LCD_V
- SDF
- MAX
- FT_RENDER_MODE_NORMAL
- FT_RENDER_MODE_LIGHT
- FT_RENDER_MODE_MONO
- FT_RENDER_MODE_LCD
- FT_RENDER_MODE_LCD_V
- FT_RENDER_MODE_SDF
- FT_RENDER_MODE_MAX
:: struct
:: enum
- HEAD
- MAXP
- OS2
- HHEA
- VHEA
- POST
- PCLT
- MAX
- FT_SFNT_HEAD
- FT_SFNT_MAXP
- FT_SFNT_OS2
- FT_SFNT_HHEA
- FT_SFNT_VHEA
- FT_SFNT_POST
- FT_SFNT_PCLT
- FT_SFNT_MAX
:: struct
:: struct
:: enum
- NOMINAL
- REAL_DIM
- BBOX
- CELL
- SCALES
- MAX
- FT_SIZE_REQUEST_TYPE_NOMINAL
- FT_SIZE_REQUEST_TYPE_REAL_DIM
- FT_SIZE_REQUEST_TYPE_BBOX
- FT_SIZE_REQUEST_TYPE_CELL
- FT_SIZE_REQUEST_TYPE_SCALES
- FT_SIZE_REQUEST_TYPE_MAX
:: struct
- type: FT_Size_Request_Type
- width: FT_Long
- height: FT_Long
- horiResolution: FT_UInt
- vertResolution: FT_UInt
:: struct
- face: FT_Face
- generic: FT_Generic
- metrics: FT_Size_Metrics
- internal: FT_Size_Internal
:: struct
:: struct
- x: s16
- len: u16
- coverage: u8
:: union
- value: s64
- pointer: *void
:: struct
- base: *u8
- size: u64
- pos: u64
- descriptor: FT_StreamDesc
- pathname: FT_StreamDesc
- read: FT_Stream_IoFunc
- close: FT_Stream_CloseFunc
- memory: FT_Memory
- cursor: *u8
- limit: *u8
:: struct
:: struct
- x: FT_F2Dot14
- y: FT_F2Dot14
:: struct
:: struct
- Table_Version: FT_Fixed
- Font_Revision: FT_Fixed
- CheckSum_Adjust: FT_Long
- Magic_Number: FT_Long
- Flags: FT_UShort
- Units_Per_EM: FT_UShort
- Created: [2] FT_ULong
- Modified: [2] FT_ULong
- xMin: FT_Short
- yMin: FT_Short
- xMax: FT_Short
- yMax: FT_Short
- Mac_Style: FT_UShort
- Lowest_Rec_PPEM: FT_UShort
- Font_Direction: FT_Short
- Index_To_Loc_Format: FT_Short
- Glyph_Data_Format: FT_Short
:: struct
- Version: FT_Fixed
- Ascender: FT_Short
- Descender: FT_Short
- Line_Gap: FT_Short
- advance_Width_Max: FT_UShort
- min_Left_Side_Bearing: FT_Short
- min_Right_Side_Bearing: FT_Short
- xMax_Extent: FT_Short
- caret_Slope_Rise: FT_Short
- caret_Slope_Run: FT_Short
- caret_Offset: FT_Short
- Reserved: [4] FT_Short
- metric_Data_Format: FT_Short
- number_Of_HMetrics: FT_UShort
- long_metrics: *void
- short_metrics: *void
:: struct
- version: FT_Fixed
- numGlyphs: FT_UShort
- maxPoints: FT_UShort
- maxContours: FT_UShort
- maxCompositePoints: FT_UShort
- maxCompositeContours: FT_UShort
- maxZones: FT_UShort
- maxTwilightPoints: FT_UShort
- maxStorage: FT_UShort
- maxFunctionDefs: FT_UShort
- maxInstructionDefs: FT_UShort
- maxStackElements: FT_UShort
- maxSizeOfInstructions: FT_UShort
- maxComponentElements: FT_UShort
- maxComponentDepth: FT_UShort
:: struct
- version: FT_UShort
- xAvgCharWidth: FT_Short
- usWeightClass: FT_UShort
- usWidthClass: FT_UShort
- fsType: FT_UShort
- ySubscriptXSize: FT_Short
- ySubscriptYSize: FT_Short
- ySubscriptXOffset: FT_Short
- ySubscriptYOffset: FT_Short
- ySuperscriptXSize: FT_Short
- ySuperscriptYSize: FT_Short
- ySuperscriptXOffset: FT_Short
- ySuperscriptYOffset: FT_Short
- yStrikeoutSize: FT_Short
- yStrikeoutPosition: FT_Short
- sFamilyClass: FT_Short
- panose: [10] FT_Byte
- ulUnicodeRange1: FT_ULong
- ulUnicodeRange2: FT_ULong
- ulUnicodeRange3: FT_ULong
- ulUnicodeRange4: FT_ULong
- achVendID: [4] FT_Char
- fsSelection: FT_UShort
- usFirstCharIndex: FT_UShort
- usLastCharIndex: FT_UShort
- sTypoAscender: FT_Short
- sTypoDescender: FT_Short
- sTypoLineGap: FT_Short
- usWinAscent: FT_UShort
- usWinDescent: FT_UShort
- ulCodePageRange1: FT_ULong
- ulCodePageRange2: FT_ULong
- sxHeight: FT_Short
- sCapHeight: FT_Short
- usDefaultChar: FT_UShort
- usBreakChar: FT_UShort
- usMaxContext: FT_UShort
- usLowerOpticalPointSize: FT_UShort
- usUpperOpticalPointSize: FT_UShort
:: struct
- Version: FT_Fixed
- FontNumber: FT_ULong
- Pitch: FT_UShort
- xHeight: FT_UShort
- Style: FT_UShort
- TypeFamily: FT_UShort
- CapHeight: FT_UShort
- SymbolSet: FT_UShort
- TypeFace: [16] FT_Char
- CharacterComplement: [8] FT_Char
- FileName: [6] FT_Char
- StrokeWeight: FT_Char
- WidthType: FT_Char
- SerifStyle: FT_Byte
- Reserved: FT_Byte
:: struct
:: struct
- Version: FT_Fixed
- Ascender: FT_Short
- Descender: FT_Short
- Line_Gap: FT_Short
- advance_Height_Max: FT_UShort
- min_Top_Side_Bearing: FT_Short
- min_Bottom_Side_Bearing: FT_Short
- yMax_Extent: FT_Short
- caret_Slope_Rise: FT_Short
- caret_Slope_Run: FT_Short
- caret_Offset: FT_Short
- Reserved: [4] FT_Short
- metric_Data_Format: FT_Short
- number_Of_VMetrics: FT_UShort
- long_metrics: *void
- short_metrics: *void
:: #type (object: *void) -> void #c_call
:: #type (y: s32, x: s32, user: *void) -> void #c_call
:: #type (y: s32, x: s32, user: *void) -> s32 #c_call
:: #type (raster: FT_Raster) -> void #c_call
:: #type (stream: FT_Stream) -> void #c_call
:: struct
:: struct
- rows: u32
- width: u32
- pitch: s32
- buffer: *u8
- num_grays: u16
- pixel_mode: u8
- palette_mode: u8
- palette: *void
:: struct
:: *FT_Byte
:: *FT_CharMapRec_
:: struct
- face: FT_Face
- encoding: FT_Encoding
- platform_id: FT_UShort
- encoding_id: FT_UShort
:: struct
:: *FT_DriverRec_
:: enum
- NONE
- MS_SYMBOL
- UNICODE
- SJIS
- PRC
- BIG5
- WANSUNG
- JOHAB
- GB2312
- MS_SJIS
- MS_GB2312
- MS_BIG5
- MS_WANSUNG
- MS_JOHAB
- ADOBE_STANDARD
- ADOBE_EXPERT
- ADOBE_CUSTOM
- ADOBE_LATIN_1
- OLD_LATIN_2
- APPLE_ROMAN
- FT_ENCODING_NONE
- FT_ENCODING_MS_SYMBOL
- FT_ENCODING_UNICODE
- FT_ENCODING_SJIS
- FT_ENCODING_PRC
- FT_ENCODING_BIG5
- FT_ENCODING_WANSUNG
- FT_ENCODING_JOHAB
- FT_ENCODING_GB2312
- FT_ENCODING_MS_SJIS
- FT_ENCODING_MS_GB2312
- FT_ENCODING_MS_BIG5
- FT_ENCODING_MS_WANSUNG
- FT_ENCODING_MS_JOHAB
- FT_ENCODING_ADOBE_STANDARD
- FT_ENCODING_ADOBE_EXPERT
- FT_ENCODING_ADOBE_CUSTOM
- FT_ENCODING_ADOBE_LATIN_1
- FT_ENCODING_OLD_LATIN_2
- FT_ENCODING_APPLE_ROMAN
:: *FT_FaceRec_
:: struct
- num_faces: FT_Long
- face_index: FT_Long
- face_flags: FT_Long
- style_flags: FT_Long
- num_glyphs: FT_Long
- family_name: *FT_String
- style_name: *FT_String
- num_fixed_sizes: FT_Int
- available_sizes: *FT_Bitmap_Size
- num_charmaps: FT_Int
- charmaps: *FT_CharMap
- generic: FT_Generic
- bbox: FT_BBox
- units_per_EM: FT_UShort
- ascender: FT_Short
- descender: FT_Short
- height: FT_Short
- max_advance_width: FT_Short
- max_advance_height: FT_Short
- underline_position: FT_Short
- underline_thickness: FT_Short
- glyph: FT_GlyphSlot
- size: FT_Size
- charmap: FT_CharMap
- driver: FT_Driver
- memory: FT_Memory
- stream: FT_Stream
- sizes_list: FT_ListRec
- autohint: FT_Generic
- extensions: *void
- internal: FT_Face_Internal
:: struct
- data: *void
- finalizer: FT_Generic_Finalizer
:: enum
- NONE
- COMPOSITE
- BITMAP
- OUTLINE
- PLOTTER
- SVG
- FT_GLYPH_FORMAT_NONE
- FT_GLYPH_FORMAT_COMPOSITE
- FT_GLYPH_FORMAT_BITMAP
- FT_GLYPH_FORMAT_OUTLINE
- FT_GLYPH_FORMAT_PLOTTER
- FT_GLYPH_FORMAT_SVG
:: struct
:: *FT_GlyphSlotRec_
:: struct
- library: FT_Library
- face: FT_Face
- next: FT_GlyphSlot
- glyph_index: FT_UInt
- generic: FT_Generic
- metrics: FT_Glyph_Metrics
- linearHoriAdvance: FT_Fixed
- linearVertAdvance: FT_Fixed
- advance: FT_Vector
- format: FT_Glyph_Format
- bitmap: FT_Bitmap
- bitmap_left: FT_Int
- bitmap_top: FT_Int
- outline: FT_Outline
- num_subglyphs: FT_UInt
- subglyphs: FT_SubGlyph
- control_data: *void
- control_len: s64
- lsb_delta: FT_Pos
- rsb_delta: FT_Pos
- other: *void
- internal: FT_Slot_Internal
:: enum
- DEFAULT
- UNFITTED
- UNSCALED
- FT_KERNING_DEFAULT
- FT_KERNING_UNFITTED
- FT_KERNING_UNSCALED
:: *FT_LibraryRec_
:: *FT_ListRec_
:: *FT_ListNodeRec_
:: struct
- prev: FT_ListNode
- next: FT_ListNode
- data: *void
:: struct
- head: FT_ListNode
- tail: FT_ListNode
:: struct
:: *FT_MemoryRec_
:: *FT_ModuleRec_
:: struct
:: struct
- n_contours: s16
- n_points: s16
- points: *FT_Vector
- tags: *u8
- contours: *s16
- flags: s32
:: struct
- move_to: FT_Outline_MoveToFunc
- line_to: FT_Outline_LineToFunc
- conic_to: FT_Outline_ConicToFunc
- cubic_to: FT_Outline_CubicToFunc
- shift: s32
- delta: FT_Pos
:: struct
- tag: FT_ULong
- data: FT_Pointer
:: enum
- NONE
- MONO
- GRAY
- GRAY2
- GRAY4
- LCD
- LCD_V
- BGRA
- MAX
- FT_PIXEL_MODE_NONE
- FT_PIXEL_MODE_MONO
- FT_PIXEL_MODE_GRAY
- FT_PIXEL_MODE_GRAY2
- FT_PIXEL_MODE_GRAY4
- FT_PIXEL_MODE_LCD
- FT_PIXEL_MODE_LCD_V
- FT_PIXEL_MODE_BGRA
- FT_PIXEL_MODE_MAX
:: *void
:: *FT_RasterRec_
:: #type (raster: FT_Raster) -> void #c_call
:: struct
- glyph_format: FT_Glyph_Format
- raster_new: FT_Raster_NewFunc
- raster_reset: FT_Raster_ResetFunc
- raster_set_mode: FT_Raster_SetModeFunc
- raster_render: FT_Raster_RenderFunc
- raster_done: FT_Raster_DoneFunc
:: struct
- target: *FT_Bitmap
- source: *void
- flags: s32
- gray_spans: FT_SpanFunc
- black_spans: FT_SpanFunc
- bit_test: FT_Raster_BitTest_Func
- bit_set: FT_Raster_BitSet_Func
- user: *void
- clip_box: FT_BBox
:: enum
- NORMAL
- LIGHT
- MONO
- LCD
- LCD_V
- SDF
- MAX
- FT_RENDER_MODE_NORMAL
- FT_RENDER_MODE_LIGHT
- FT_RENDER_MODE_MONO
- FT_RENDER_MODE_LCD
- FT_RENDER_MODE_LCD_V
- FT_RENDER_MODE_SDF
- FT_RENDER_MODE_MAX
:: *FT_RendererRec_
:: enum
- HEAD
- MAXP
- OS2
- HHEA
- VHEA
- POST
- PCLT
- MAX
- FT_SFNT_HEAD
- FT_SFNT_MAXP
- FT_SFNT_OS2
- FT_SFNT_HHEA
- FT_SFNT_VHEA
- FT_SFNT_POST
- FT_SFNT_PCLT
- FT_SFNT_MAX
:: *FT_SizeRec_
:: struct
:: enum
- NOMINAL
- REAL_DIM
- BBOX
- CELL
- SCALES
- MAX
- FT_SIZE_REQUEST_TYPE_NOMINAL
- FT_SIZE_REQUEST_TYPE_REAL_DIM
- FT_SIZE_REQUEST_TYPE_BBOX
- FT_SIZE_REQUEST_TYPE_CELL
- FT_SIZE_REQUEST_TYPE_SCALES
- FT_SIZE_REQUEST_TYPE_MAX
:: struct
- type: FT_Size_Request_Type
- width: FT_Long
- height: FT_Long
- horiResolution: FT_UInt
- vertResolution: FT_UInt
:: struct
- face: FT_Face
- generic: FT_Generic
- metrics: FT_Size_Metrics
- internal: FT_Size_Internal
:: struct
- x: s16
- len: u16
- coverage: u8
:: *FT_StreamRec_
:: union
- value: s64
- pointer: *void
:: struct
- base: *u8
- size: u64
- pos: u64
- descriptor: FT_StreamDesc
- pathname: FT_StreamDesc
- read: FT_Stream_IoFunc
- close: FT_Stream_CloseFunc
- memory: FT_Memory
- cursor: *u8
- limit: *u8
:: *FT_SubGlyphRec_
:: struct
- x: FT_F2Dot14
- y: FT_F2Dot14
:: struct
:: struct
- Table_Version: FT_Fixed
- Font_Revision: FT_Fixed
- CheckSum_Adjust: FT_Long
- Magic_Number: FT_Long
- Flags: FT_UShort
- Units_Per_EM: FT_UShort
- Created: [2] FT_ULong
- Modified: [2] FT_ULong
- xMin: FT_Short
- yMin: FT_Short
- xMax: FT_Short
- yMax: FT_Short
- Mac_Style: FT_UShort
- Lowest_Rec_PPEM: FT_UShort
- Font_Direction: FT_Short
- Index_To_Loc_Format: FT_Short
- Glyph_Data_Format: FT_Short
:: struct
- Version: FT_Fixed
- Ascender: FT_Short
- Descender: FT_Short
- Line_Gap: FT_Short
- advance_Width_Max: FT_UShort
- min_Left_Side_Bearing: FT_Short
- min_Right_Side_Bearing: FT_Short
- xMax_Extent: FT_Short
- caret_Slope_Rise: FT_Short
- caret_Slope_Run: FT_Short
- caret_Offset: FT_Short
- Reserved: [4] FT_Short
- metric_Data_Format: FT_Short
- number_Of_HMetrics: FT_UShort
- long_metrics: *void
- short_metrics: *void
:: struct
- version: FT_Fixed
- numGlyphs: FT_UShort
- maxPoints: FT_UShort
- maxContours: FT_UShort
- maxCompositePoints: FT_UShort
- maxCompositeContours: FT_UShort
- maxZones: FT_UShort
- maxTwilightPoints: FT_UShort
- maxStorage: FT_UShort
- maxFunctionDefs: FT_UShort
- maxInstructionDefs: FT_UShort
- maxStackElements: FT_UShort
- maxSizeOfInstructions: FT_UShort
- maxComponentElements: FT_UShort
- maxComponentDepth: FT_UShort
:: struct
- version: FT_UShort
- xAvgCharWidth: FT_Short
- usWeightClass: FT_UShort
- usWidthClass: FT_UShort
- fsType: FT_UShort
- ySubscriptXSize: FT_Short
- ySubscriptYSize: FT_Short
- ySubscriptXOffset: FT_Short
- ySubscriptYOffset: FT_Short
- ySuperscriptXSize: FT_Short
- ySuperscriptYSize: FT_Short
- ySuperscriptXOffset: FT_Short
- ySuperscriptYOffset: FT_Short
- yStrikeoutSize: FT_Short
- yStrikeoutPosition: FT_Short
- sFamilyClass: FT_Short
- panose: [10] FT_Byte
- ulUnicodeRange1: FT_ULong
- ulUnicodeRange2: FT_ULong
- ulUnicodeRange3: FT_ULong
- ulUnicodeRange4: FT_ULong
- achVendID: [4] FT_Char
- fsSelection: FT_UShort
- usFirstCharIndex: FT_UShort
- usLastCharIndex: FT_UShort
- sTypoAscender: FT_Short
- sTypoDescender: FT_Short
- sTypoLineGap: FT_Short
- usWinAscent: FT_UShort
- usWinDescent: FT_UShort
- ulCodePageRange1: FT_ULong
- ulCodePageRange2: FT_ULong
- sxHeight: FT_Short
- sCapHeight: FT_Short
- usDefaultChar: FT_UShort
- usBreakChar: FT_UShort
- usMaxContext: FT_UShort
- usLowerOpticalPointSize: FT_UShort
- usUpperOpticalPointSize: FT_UShort
:: struct
- Version: FT_Fixed
- FontNumber: FT_ULong
- Pitch: FT_UShort
- xHeight: FT_UShort
- Style: FT_UShort
- TypeFamily: FT_UShort
- CapHeight: FT_UShort
- SymbolSet: FT_UShort
- TypeFace: [16] FT_Char
- CharacterComplement: [8] FT_Char
- FileName: [6] FT_Char
- StrokeWeight: FT_Char
- WidthType: FT_Char
- SerifStyle: FT_Byte
- Reserved: FT_Byte
:: struct
:: struct
- Version: FT_Fixed
- Ascender: FT_Short
- Descender: FT_Short
- Line_Gap: FT_Short
- advance_Height_Max: FT_UShort
- min_Top_Side_Bearing: FT_Short
- min_Bottom_Side_Bearing: FT_Short
- yMax_Extent: FT_Short
- caret_Slope_Rise: FT_Short
- caret_Slope_Run: FT_Short
- caret_Offset: FT_Short
- Reserved: [4] FT_Short
- metric_Data_Format: FT_Short
- number_Of_VMetrics: FT_UShort
- long_metrics: *void
- short_metrics: *void
Constants#
:: 500
:: 1000
:: 1667
:: 2333
:: 400
:: 275
:: 275
:: 0
:: 2
:: 12
:: 1
:: u8
:: u8
:: s8
:: 0x00
:: 0x00
:: 0x02
:: 0x02
:: 0x04
:: 0x01
:: 0x01
:: 0x08
:: 0x08
:: 0x10
:: 0x10
:: 0
:: s32
:: s64
:: s16
:: 1 << 12
:: 1 << 14
:: 1 << 10
:: 1 << 7
:: 1 << 1
:: 1 << 2
:: 1 << 9
:: 1 << 11
:: 1 << 4
:: 1 << 6
:: 1 << 8
:: 1 << 17
:: 1 << 18
:: 1 << 0
:: 1 << 3
:: 1 << 16
:: 1 << 13
:: 1 << 15
:: 1 << 5
:: s32
:: s64
:: 0x0200
:: 0x0008
:: 0x0000
:: 0x0100
:: 0x0004
:: 0x0002
:: s16
:: s32
:: s16
:: s32
:: s64
:: 1 << 8
:: 1 << 22
:: 1 << 20
:: 1 << 21
:: 1 << 6
:: 0x0
:: 1 << 5
:: 1 << 9
:: 1 << 11
:: 1 << 13
:: 1 << 12
:: 1 << 15
:: 1 << 3
:: 1 << 1
:: 1 << 10
:: 1 << 0
:: 1 << 7
:: 1 << 2
:: 1 << 14
:: 1 << 23
:: 1 << 4
:: s64
:: 32
:: u64
:: 0x8
:: 0x8
:: 0x1
:: 0x1
:: 0x10
:: 0x10
:: 0x4
:: 0x4
:: 0x2
:: 0x2
:: 0x2
:: 0x2
:: 0x100
:: 0x100
:: 0x8
:: 0x8
:: 0x20
:: 0x0
:: 0x0
:: 0x40
:: 0x1
:: 0x1
:: 0x4
:: 0x4
:: 0x200
:: 0x200
:: 0x10
:: s64
:: s64
:: 0x1
:: 0x1
:: 0x4
:: 0x4
:: 0x0
:: 0x0
:: 0x2
:: 0x2
:: 0x8
:: 16384
:: s16
:: u8
:: 1 << 1
:: 1 << 0
:: 0x80
:: 1
:: 2
:: 4
:: 8
:: 0x200
:: 0x40
:: u32
:: u32
:: u16
:: u32
:: u16
:: u32
:: u64
:: u64
:: u16
:: 256
:: 5
:: 16
:: 1000000
:: 2
:: 0xA56B6264
:: 0xA56C7374
:: 0x61766172
:: 0x42415345
:: 0x62646174
:: 0x42444620
:: 0x62686564
:: 0x626C6F63
:: 0x62736C6E
:: 0x43424454
:: 0x43424C43
:: 0x43464620
:: 0x43464632
:: 0x43494420
:: 0x636D6170
:: 0x434F4C52
:: 0x4350414C
:: 0x63766172
:: 0x63767420
:: 0x44534947
:: 0x45424454
:: 0x45424C43
:: 0x45425343
:: 0x66656174
:: 0x464F4E44
:: 0x6670676D
:: 0x66766172
:: 0x67617370
:: 0x47444546
:: 0x676C7966
:: 0x47504F53
:: 0x47535542
:: 0x67766172
:: 0x48564152
:: 0x68646D78
:: 0x68656164
:: 0x68686561
:: 0x686D7478
:: 0x4A535446
:: 0x6A757374
:: 0x6B65726E
:: 0x6C636172
:: 0x6C6F6361
:: 0x4C545348
:: 0x4C57464E
:: 0x4D415448
:: 0x6D617870
:: 0x4D455441
:: 0x4D4D4658
:: 0x4D4D5344
:: 0x6D6F7274
:: 0x6D6F7278
:: 0x4D564152
:: 0x6E616D65
:: 0x6F706264
:: 0x4F532F32
:: 0x4F54544F
:: 0x50434C54
:: 0x504F5354
:: 0x706F7374
:: 0x70726570
:: 0x70726F70
:: 0x73626978
:: 0x73666E74
:: 0x53494E47
:: 0x53564720
:: 0x7472616B
:: 0x74727565
:: 0x74746320
:: 0x74746366
:: 0x54595031
:: 0x74797031
:: 0x56444D58
:: 0x76686561
:: 0x766D7478
:: 0x56564152
:: 0x774F4646
:: 0x774F4632