Next: , Previous: , Up: Internal definitions   [Contents][Index]


6.2.5 Generic functions

Generic Function: extension-recipe OBJECT
Generic Function: (setf extension-recipe) NEW-VALUE OBJECT
Package

net.didierverna.tfm

Methods
Method: extension-recipe (CHARACTER-METRICS character-metrics)
Method: (setf extension-recipe) NEW-VALUE (CHARACTER-METRICS character-metrics)

The character’s extension recipe, or NIL.
This slot is non-null only if this character is extensible (see TeX: the Program [544]). It is mutually exclusive with the NEXT-CHARACTER slot, and also with the existence of a ligature or kerning program for this character.

Source

character.lisp (file)

Generic Function: kernings OBJECT
Generic Function: (setf kernings) NEW-VALUE OBJECT
Package

net.didierverna.tfm

Methods
Method: kernings (FONT font)
Method: (setf kernings) NEW-VALUE (FONT font)

The font’s kernings.
This is a hash table associating conses of characters with the corresponding kerning. They are expressed in design size units, or in TeX point units if the font is frozen.

Source

font.lisp (file)

Generic Function: ligatures OBJECT
Generic Function: (setf ligatures) NEW-VALUE OBJECT
Package

net.didierverna.tfm

Methods
Method: ligatures (FONT font)
Method: (setf ligatures) NEW-VALUE (FONT font)

The font’s ligatures.
This is a hash table associating conses of characters with the corresponding ligature.

Source

font.lisp (file)

Generic Function: parse-parameters LENGTH FONT

Parse a parameters section of LENGTH words from *STREAM* into FONT. Return remaining LENGTH.

Package

net.didierverna.tfm

Source

file.lisp (file)

Methods
Method: parse-parameters LENGTH FONT

Parse the 7 regular FONT parameters. Return remaining LENGTH.

Method: parse-parameters LENGTH (FONT math-symbols-font)

Parse the 15 additional TeX math symbols FONT parameters.

Method: parse-parameters LENGTH (FONT math-extension-font)

Parse the 6 additional TeX math extension FONT parameters.

Method: parse-parameters LENGTH FONT around

Read remaining parameters into a parameters array.

Generic Function: scale FONT FACTOR

Scale all FONT dimensions by FACTOR.

Package

net.didierverna.tfm

Source

font.lisp (file)

Methods
Method: scale (FONT math-extension-font) FACTOR around

Scaling method for MATH-EXTENSION-FONTs.

Method: scale (FONT math-symbols-font) FACTOR around

Scaling method for MATH-SYMBOL-FONTs.

Method: scale FONT FACTOR

Scaling method for regular FONTs.


Next: , Previous: , Up: Internal definitions   [Contents][Index]