Skip to content

class TfmFont

😱 Types incomplete or incorrect? 🙏 Please contribute!


fields


TfmFont.name


TfmFont.name : string

metric (file) name

TfmFont.area


TfmFont.area : string

(directory) location, typically empty

TfmFont.used


TfmFont.used : boolean

Indicates usage (initial: false). The key used is set by the engine when a font is actively in use. This makes sure that the font's definition is written to the output file (DVI or PDF). The tfm reader sets it to false.

TfmFont.characters


TfmFont.characters : table<integer,FontCharacter>

the defined glyphs of this font

TfmFont.checksum


TfmFont.checksum : integer

default: 0

TfmFont.designsize


TfmFont.designsize : integer

expected size (default: 655360 == 10pt)

TfmFont.direction


TfmFont.direction : FontDirection

default: 0

TfmFont.parameters


TfmFont.parameters : FontParameters

default: 7 parameters, all zero

TfmFont.size


TfmFont.size : integer

the required scaling (by default the same as designsize)

TfmFont.tounicode


TfmFont.tounicode : integer

When this is set to 1 LuaTeX assumes per-glyph tounicode entries are present in the font.