The math class of a glyph \DeclareMathSymbol’d from the math italic symbol font (letters), which decides the
shape a capital Greek letter takes (Font::specialize_letters).
The most parameters a font’s array may grow to: TeX’s font memory,
font_mem_size in TeX Live’s texmf.cnf, whose overflow stops TeX (tex.web
§580, “TeX capacity exceeded, sorry [font memory=8000000]”).
The glyph \char and a text \chardef print for character code code (Perl FontDecode, Package.pm:2871-2891):
up to 255 the current font’s slot; above it the code point itself, as XeTeX and LuaTeX print it. The pdfTeX persona
keeps it too, with a Warning naming cs where pdfTeX reports “Bad character code” and prints slot 0
(tex.web:8629-8635 scan_char_num; ruling D-42, OXIDIZED_DESIGN_DIVERGENCES #1191). A negative code, a surrogate or
one past U+10FFFF prints nothing. cs: None decodes without a Warning.
Decode a codepoint in encoding as font draws it: through the font family’s own map, when one is declared
(decoding_map). Perl FontDecode($n, $encoding, $font), as decodeMathChar calls it (Package.pm:2990): the
math character’s encoding is the font info’s, its family the font’s — \mathbb{R} under bbold is U in the
blackboard family, decoded through U_blackboard (bbold_sty.rs).
Decode a codepoint, returning a SymStr that may contain multiple characters.
This handles Perl font map entries like UTF(0xA0)."\x{0335}" (OT1 pos 32).
Perl: sub DEFSIZE() { return $STATE->lookupValue(‘NOMINAL_FONT_SIZE’) || 10; }
Reads NOMINAL_FONT_SIZE from state, defaulting to 10.0. Perl uses the value
directly as a float (Common/Font.pm:44) — the 11pt class option is
10.95 (LaTeX’s \@xipt), so this must NOT truncate via lookup_int (#542).
The TFM parameters \font gives a font of this name, per point of its
size — Perl’s getMetricForName (Common/Font.pm:551-562): the name’s own
metric, else its family at 10pt, else Computer Modern Roman at the name’s
size, else cmr10; the size is the name’s trailing digits (10 without). This
port’s size-less and hand-merged entries (cmr, cmbx, cmex, …) carry
no parameters and are passed over, as Perl has none of them. Perl’s Error
on the cmr10 fallback is not ported: it fires for valid fonts (ecrm1000).
Whether encoding’s slots are Unicode code points: TU, the encoding of
the Unicode engines (tuenc.def; fonttext.ltx:57-68,93). A slot past the
8-bit table is then the character itself, and the Latin Modern text fonts
of that format carry the TeX ligatures (tuenc.def:60 +tlig;).
The NFSS family code that selects an abstract font family: the inverse of
lookup_font_family, giving the code LaTeX’s own defaults would put in
\f@family (\rmdefaultcmr, \sfdefaultcmss, \ttdefaultcmtt,
all locked in sect13.rs; yfonts’ \gothdefault/\swabdefault) or the one
code the table maps to a symbol or display family. None for a family no
NFSS code selects — nullfont, graphic, math, and the binding-only
oldstyle, caligraphic, italic, smallcaps families: switching to it
leaves \f@family alone, as a raw TeX font switch does.
The NFSS shape code of an abstract shape (\updefaultn, \itdefaultit, \sldefaultsl, \scdefaultsc), inverse of
lookup_font_shape. normal is the upright shape plain’s \em switches
back to (plain_base.pool.ltxml:607).
The TeX font file of a text font, as \font names one: cmtt10, cmbx9,
and cmr10 loaded at 10.95pt (Some second part) for a size with no
file of its own — the Computer Modern font of the family, series and shape
(None for a combination with none). LaTeX’s OT1 .fd files pick the
nearest design size (ot1cmr.fd); this keeps the size or falls back to 10.