moonbitlang/pdflite/font/truetype does not have a README file

    PdfTrueTypeCMapGlyph

    pub(all) struct PdfTrueTypeCMapGlyph {
    codepoint : Int
    glyph_index : Int
    } derive(Eq, ToJson,
    Debug
    )

    Mapping from a Unicode codepoint to a TrueType glyph index.

    PdfTrueTypeCMapGlyph::equal

    #deprecated("implicit trait-method promotion is being removed; call via the trait")
    fn PdfTrueTypeCMapGlyph::equal(PdfTrueTypeCMapGlyph, PdfTrueTypeCMapGlyph) -> Bool

    PdfTrueTypeCMapGlyph::not_equal

    #deprecated("implicit trait-method promotion is being removed; call via the trait")
    fn PdfTrueTypeCMapGlyph::not_equal(x : PdfTrueTypeCMapGlyph, y : PdfTrueTypeCMapGlyph) -> Bool

    PdfTrueTypeCMapGlyph::to_json

    #deprecated("implicit trait-method promotion is being removed; call via the trait")
    fn PdfTrueTypeCMapGlyph::to_json(PdfTrueTypeCMapGlyph) -> Json

    PdfTrueTypeCMapGlyph::to_repr

    #deprecated("implicit trait-method promotion is being removed; call via the trait")
    fn PdfTrueTypeCMapGlyph::to_repr(PdfTrueTypeCMapGlyph) ->
    Repr

    PdfTrueTypeDescriptorMetrics

    pub(all) struct PdfTrueTypeDescriptorMetrics {
    ascent : Int
    descent : Int
    capheight : Int
    xheight : Int
    avgwidth : Int
    italicangle : Int
    nonsymbolic_flags : Int
    symbolic_flags : Int
    } derive(Eq, ToJson,
    Debug
    )

    Font descriptor metrics derived from TrueType tables.

    PdfTrueTypeDescriptorMetrics::equal

    #deprecated("implicit trait-method promotion is being removed; call via the trait")
    fn PdfTrueTypeDescriptorMetrics::equal(PdfTrueTypeDescriptorMetrics, PdfTrueTypeDescriptorMetrics) -> Bool

    PdfTrueTypeDescriptorMetrics::not_equal

    #deprecated("implicit trait-method promotion is being removed; call via the trait")
    fn PdfTrueTypeDescriptorMetrics::not_equal(x : PdfTrueTypeDescriptorMetrics, y : PdfTrueTypeDescriptorMetrics) -> Bool

    PdfTrueTypeDescriptorMetrics::to_json

    #deprecated("implicit trait-method promotion is being removed; call via the trait")
    fn PdfTrueTypeDescriptorMetrics::to_json(PdfTrueTypeDescriptorMetrics) -> Json

    PdfTrueTypeDescriptorMetrics::to_repr

    #deprecated("implicit trait-method promotion is being removed; call via the trait")
    fn PdfTrueTypeDescriptorMetrics::to_repr(PdfTrueTypeDescriptorMetrics) ->
    Repr

    PdfTrueTypeGlyphByteRange

    pub(all) struct PdfTrueTypeGlyphByteRange {
    glyph_index : Int
    start_offset : Int
    end_offset : Int
    } derive(Eq, ToJson,
    Debug
    )

    Byte range for one glyph inside the TrueType glyf table.

    PdfTrueTypeGlyphByteRange::equal

    #deprecated("implicit trait-method promotion is being removed; call via the trait")
    fn PdfTrueTypeGlyphByteRange::equal(PdfTrueTypeGlyphByteRange, PdfTrueTypeGlyphByteRange) -> Bool

    PdfTrueTypeGlyphByteRange::not_equal

    #deprecated("implicit trait-method promotion is being removed; call via the trait")
    fn PdfTrueTypeGlyphByteRange::not_equal(x : PdfTrueTypeGlyphByteRange, y : PdfTrueTypeGlyphByteRange) -> Bool

    PdfTrueTypeGlyphByteRange::to_json

    #deprecated("implicit trait-method promotion is being removed; call via the trait")
    fn PdfTrueTypeGlyphByteRange::to_json(PdfTrueTypeGlyphByteRange) -> Json

    PdfTrueTypeGlyphByteRange::to_repr

    #deprecated("implicit trait-method promotion is being removed; call via the trait")
    fn PdfTrueTypeGlyphByteRange::to_repr(PdfTrueTypeGlyphByteRange) ->
    Repr

    PdfTrueTypeMetrics

    pub(all) struct PdfTrueTypeMetrics {
    units_per_em : Int
    minx : Int
    miny : Int
    maxx : Int
    maxy : Int
    index_to_loc_format : Int
    num_glyphs : Int
    num_of_long_hor_metrics : Int
    advance_widths : Array[Int]
    max_width : Int
    } derive(Eq, ToJson,
    Debug
    )

    Core metrics extracted from TrueType head, hhea, hmtx, and maxp.

    PdfTrueTypeMetrics::equal

    #deprecated("implicit trait-method promotion is being removed; call via the trait")
    fn PdfTrueTypeMetrics::equal(PdfTrueTypeMetrics, PdfTrueTypeMetrics) -> Bool

    PdfTrueTypeMetrics::not_equal

    #deprecated("implicit trait-method promotion is being removed; call via the trait")
    fn PdfTrueTypeMetrics::not_equal(x : PdfTrueTypeMetrics, y : PdfTrueTypeMetrics) -> Bool

    PdfTrueTypeMetrics::to_json

    #deprecated("implicit trait-method promotion is being removed; call via the trait")
    fn PdfTrueTypeMetrics::to_json(PdfTrueTypeMetrics) -> Json

    PdfTrueTypeMetrics::to_repr

    #deprecated("implicit trait-method promotion is being removed; call via the trait")
    fn PdfTrueTypeMetrics::to_repr(PdfTrueTypeMetrics) ->
    Repr

    PdfTrueTypeParsedSubset

    pub(all) struct PdfTrueTypeParsedSubset {
    flags : Int
    minx : Int
    miny : Int
    maxx : Int
    maxy : Int
    italicangle : Int
    ascent : Int
    descent : Int
    capheight : Int
    stemv : Int
    xheight : Int
    avgwidth : Int
    maxwidth : Int
    firstchar : Int
    lastchar : Int
    widths : Array[Int]
    subset_fontfile : Bytes
    subset : Array[Int]
    tounicode : Array[(Int, Bytes)]?
    } derive(Eq,
    Debug
    )

    One subset record returned by cpdf-style TrueType parsing.

    PdfTrueTypeParsedSubset::equal

    #deprecated("implicit trait-method promotion is being removed; call via the trait")
    fn PdfTrueTypeParsedSubset::equal(PdfTrueTypeParsedSubset, PdfTrueTypeParsedSubset) -> Bool

    PdfTrueTypeParsedSubset::not_equal

    #deprecated("implicit trait-method promotion is being removed; call via the trait")
    fn PdfTrueTypeParsedSubset::not_equal(x : PdfTrueTypeParsedSubset, y : PdfTrueTypeParsedSubset) -> Bool

    PdfTrueTypeParsedSubset::to_repr

    #deprecated("implicit trait-method promotion is being removed; call via the trait")
    fn PdfTrueTypeParsedSubset::to_repr(PdfTrueTypeParsedSubset) ->
    Repr

    PdfTrueTypeSubsetPartition

    pub(all) struct PdfTrueTypeSubsetPartition {
    main_subset : Array[Int]
    higher_subsets : Array[Array[Int]]
    } derive(Eq, ToJson,
    Debug
    )

    Result of splitting a TrueType Unicode subset into cpdf's main and higher subset groups.

    PdfTrueTypeSubsetPartition::equal

    #deprecated("implicit trait-method promotion is being removed; call via the trait")
    fn PdfTrueTypeSubsetPartition::equal(PdfTrueTypeSubsetPartition, PdfTrueTypeSubsetPartition) -> Bool

    PdfTrueTypeSubsetPartition::not_equal

    #deprecated("implicit trait-method promotion is being removed; call via the trait")
    fn PdfTrueTypeSubsetPartition::not_equal(x : PdfTrueTypeSubsetPartition, y : PdfTrueTypeSubsetPartition) -> Bool

    PdfTrueTypeSubsetPartition::to_json

    #deprecated("implicit trait-method promotion is being removed; call via the trait")
    fn PdfTrueTypeSubsetPartition::to_json(PdfTrueTypeSubsetPartition) -> Json

    PdfTrueTypeSubsetPartition::to_repr

    #deprecated("implicit trait-method promotion is being removed; call via the trait")
    fn PdfTrueTypeSubsetPartition::to_repr(PdfTrueTypeSubsetPartition) ->
    Repr

    PdfTrueTypeSubsetTable

    pub(all) struct PdfTrueTypeSubsetTable {
    length : Int
    bytes : Bytes
    } derive(Eq,
    Debug
    )

    Rebuilt subset-table bytes and their unpadded logical length.

    PdfTrueTypeSubsetTable::equal

    #deprecated("implicit trait-method promotion is being removed; call via the trait")
    fn PdfTrueTypeSubsetTable::equal(PdfTrueTypeSubsetTable, PdfTrueTypeSubsetTable) -> Bool

    PdfTrueTypeSubsetTable::not_equal

    #deprecated("implicit trait-method promotion is being removed; call via the trait")
    fn PdfTrueTypeSubsetTable::not_equal(x : PdfTrueTypeSubsetTable, y : PdfTrueTypeSubsetTable) -> Bool

    PdfTrueTypeSubsetTable::to_repr

    #deprecated("implicit trait-method promotion is being removed; call via the trait")
    fn PdfTrueTypeSubsetTable::to_repr(PdfTrueTypeSubsetTable) ->
    Repr

    PdfTrueTypeTableRecord

    pub(all) struct PdfTrueTypeTableRecord {
    tag : String
    checksum : UInt
    offset : Int
    length : Int
    } derive(Eq, ToJson,
    Debug
    )

    TrueType table-directory record.

    PdfTrueTypeTableRecord::equal

    #deprecated("implicit trait-method promotion is being removed; call via the trait")
    fn PdfTrueTypeTableRecord::equal(PdfTrueTypeTableRecord, PdfTrueTypeTableRecord) -> Bool

    PdfTrueTypeTableRecord::not_equal

    #deprecated("implicit trait-method promotion is being removed; call via the trait")
    fn PdfTrueTypeTableRecord::not_equal(x : PdfTrueTypeTableRecord, y : PdfTrueTypeTableRecord) -> Bool

    PdfTrueTypeTableRecord::to_json

    #deprecated("implicit trait-method promotion is being removed; call via the trait")
    fn PdfTrueTypeTableRecord::to_json(PdfTrueTypeTableRecord) -> Json

    PdfTrueTypeTableRecord::to_repr

    #deprecated("implicit trait-method promotion is being removed; call via the trait")
    fn PdfTrueTypeTableRecord::to_repr(PdfTrueTypeTableRecord) ->
    Repr