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


6.2.4 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, in design size units.

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.


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