class FontCharacter
😱 Types incomplete or incorrect? 🙏 Please contribute!
fields
FontCharacter.width
The character's width, in sp (default 0)
FontCharacter.height
The character's height, in sp (default 0)
FontCharacter.depth
The character's depth, in sp (default 0)
FontCharacter.italic
The character's italic correction, in sp (default zero)
FontCharacter.top_accent
The character's top accent alignment place, in sp (default zero)
FontCharacter.bot_accent
The character's bottom accent alignment place, in sp (default zero)
FontCharacter.left_protruding
The character's lpcode
FontCharacter.right_protruding
The character's rpcode
FontCharacter.expansion_factor
The character's efcode
FontCharacter.tounicode
The character's Unicode equivalent(s), in UTF-8-16BE hexadecimal format
FontCharacter.next
The “next larger” character index
FontCharacter.extensible
FontCharacter.extensible : FontCharacterExtensible {
top: integer,
mid: integer,
bot: integer,
rep: integer,
}
The constituent parts of an extensible recipe
FontCharacter.vert_variants
The constituent parts of a vertical variant set
FontCharacter.horiz_variants
The constituent parts of a horizontal variant set
FontCharacter.kerns
The kerning information. The kerns
table is a hash indexed by character index (and “character index” is defined as either a non-negative integer or the string value right_boundary
), with the values of the kerning to be applied, in scaled points.
FontCharacter.ligatures
The ligaturing information. The ligatures
table is a hash indexed by character index (and “character index” is defined as either a non-negative integer or the string value right_boundary
), with the values being yet another small hash.
FontCharacter.commands
The virtual font commands
FontCharacter.name
The character (PostScript) name
FontCharacter.index
The (OpenType or TrueType) font glyph index
FontCharacter.used
Already typeset (default: false)
FontCharacter.mathkern
The math cut-in specifications