moonbit-community/harfbuzz/sfnt does not have a README file
pub enum AxisValue {
Format1(Int, Int, Int, Int)
Format2(Int, Int, Int, Int, Int, Int)
Format3(Int, Int, Int, Int, Int)
Format4(Int, Int, Array[AxisValueRecord])
} derive(Show, ToJson)pub struct BaseScript {
base_values : BaseValues?
default_min_max : MinMax?
lang_sys_records : Array[BaseLangSysRecord]
} derive(Show, ToJson)fn GlyfTable::glyph_bounds(self : GlyfTable, offset : Int, length : Int) -> Result[GlyphBounds?, SfntError]fn GlyfTable::glyph_composite_components(self : GlyfTable, offset : Int, length : Int) -> Result[Array[CompositeComponent]?, SfntError]fn GlyfTable::glyph_simple_points(self : GlyfTable, offset : Int, length : Int) -> Result[Array[GlyphPoint]?, SfntError]fn GlyphBounds::new(contours : Int, x_min : Int, y_min : Int, x_max : Int, y_max : Int) -> GlyphBoundspub struct JstfPriority {
shrinkage_enable_gsub : JstfModList?
shrinkage_disable_gsub : JstfModList?
shrinkage_enable_gpos : JstfModList?
shrinkage_disable_gpos : JstfModList?
shrinkage_jstf_max : JstfMax?
extension_enable_gsub : JstfModList?
extension_disable_gsub : JstfModList?
extension_enable_gpos : JstfModList?
extension_disable_gpos : JstfModList?
extension_jstf_max : JstfMax?
} derive(Show, ToJson)pub struct JstfScript {
extender_glyphs : Array[Int]
default_lang_sys : JstfLangSys?
lang_sys_records : Array[JstfLangSysRecord]
} derive(Show, ToJson)pub struct JstfTable {
major_version : Int
minor_version : Int
scripts : Array[JstfScriptRecord]
} derive(Show, ToJson)pub struct KernSubtable {
format : Int
horizontal : Bool
minimum : Bool
cross_stream : Bool
override_flag : Bool
pairs : Array[KernPair]
format2 : KernSubtableFormat2?
format3 : KernSubtableFormat3?
} derive(Show, ToJson)pub struct KernSubtableFormat2 {
row_width : Int
left : KernClassTable
right : KernClassTable
right_class_count : Int
values : Array[Int]
} derive(Show, ToJson)pub struct MathGlyphAssembly {
italics_correction : MathValueRecord
parts : Array[MathGlyphPartRecord]
} derive(Show, ToJson)pub struct MathGlyphConstruction {
glyph_assembly : MathGlyphAssembly?
variants : Array[MathGlyphVariantRecord]
} derive(Show, ToJson)pub struct MathGlyphInfo {
italics_correction : MathItalicsCorrectionInfo?
top_accent_attachment : MathTopAccentAttachment?
extended_shape_coverage_offset : Int
math_kern_info : MathKernInfo?
} derive(Show, ToJson)pub struct MathItalicsCorrectionInfo {
coverage_offset : Int
records : Array[MathValueRecord]
} derive(Show, ToJson)pub struct MathKernInfo {
coverage_offset : Int
records : Array[MathKernInfoRecord]
} derive(Show, ToJson)pub struct MathTable {
major_version : Int
minor_version : Int
constants : MathConstants?
glyph_info : MathGlyphInfo?
variants : MathVariants?
} derive(Show, ToJson)pub struct MathTopAccentAttachment {
coverage_offset : Int
records : Array[MathValueRecord]
} derive(Show, ToJson)pub struct MathVariants {
min_connector_overlap : Int
vert_coverage_offset : Int
horiz_coverage_offset : Int
vert_glyph_count : Int
horiz_glyph_count : Int
constructions : Array[MathGlyphConstruction?]
} derive(Show, ToJson)fn NameTable::find_name(self : NameTable, platform_id : Int, encoding_id : Int, language_id : Int, name_id : Int) -> NameRecord?pub struct Os2Table {
version : Int
weight_class : Int
width_class : Int
fs_type : Int
typo_ascender : Int
typo_descender : Int
typo_line_gap : Int
win_ascent : Int
win_descent : Int
code_page_range_1 : UInt?
code_page_range_2 : UInt?
x_height : Int?
cap_height : Int?
default_char : Int?
break_char : Int?
max_context : Int?
lower_optical_point_size : Int?
upper_optical_point_size : Int?
} derive(Show, ToJson)pub struct VorgTable {
major_version : Int
minor_version : Int
default_origin_y : Int
metrics : Array[VorgMetric]
} derive(Show, ToJson)MoonBit port of HarfBuzz.