Return KEY’s value in the current TFM configuration.
configuration.lisp
(file)
Set KEY to VALUE in the current TFM configuration.
configuration.lisp
(file)
Return T if CHARACTER has an extension recipe.
character.lisp
(file)
Freeze FONT.
Freezing a font means that all dimensions normally expressed in design size
units are multiplied by it, so as to lead values in TeX point units.
If FONT is already frozen, this function does nothing and returns NIL.
Otherwise, it returns T.
font.lisp
(file)
Return FONT’s CODE character, or NIL.
font.lisp
(file)
Return kerning for CHARACTER1 and CHARACTER2, or NIL.
If CHARACTER1 and CHARACTER2 don’t belong to the same font, signal a
DIFFERENT-FONTS error.
font.lisp
(file)
(setf kerning)
(function)
Set KERNING for CHARACTER1 and CHARACTER2.
Return ligature for CHARACTER1 and CHARACTER2, or NIL.
If CHARACTER1 and CHARACTER2 don’t belong to the same font, signal a
DIFFERENT-FONTS error.
font.lisp
(file)
(setf ligature)
(function)
Set LIGATURE for CHARACTER1 and CHARACTER2.
Load FILE into a new font, and return it.
- If provided, DESIGN-SIZE overrides the font’s original value. It must be a
real greater or equal to 1.
- When FREEZE (NIL by default), freeze the font immediately after creation.
See the eponymous function for more information.
Only actual TFM data is currently supported. If OFM or JFM data is detected,
this function signals an EXTENDED-TFM warning and returns NIL.
While loading TFM data, any signalled condition is restartable with CANCEL-LOADING, in which case this function simply returns NIL.
file.lisp
(file)
Add NICKNAME (:TFM by default) to the :NET.DIDIERVERNA.TFM package.
package.lisp
(file)
Unfreeze FONT.
Unfreezing means performing the inverse of what FREEZE does.
If FONT is not frozen, this function does nothing and returns NIL. Otherwise,
it returns T.
font.lisp
(file)
Return the current version of TFM.
TYPE can be one of :number, :short or :long.
A version number is computed as major*10000 + minor*100 + patchlevel, leaving
two digits for each level. Alpha, beta and rc status are ignored in version
numbers.
A short version is something like 1.3{a,b,rc}4, or 1.3.4 for patchlevel.
Alpha, beta or rc levels start at 1. Patchlevels start at 0 but are ignored
in the output, so that 1.3.0 appears as just 1.3.
A long version is something like
1.3 {alpha,beta,release candidate,patchlevel} 4 "Artificial Uncial".
As for the short version, a patchlevel of 0 is ignored in the output.
version.lisp
(file)