Skip to content
A TeX Font Metrics library for Common Lisp
Common Lisp Makefile Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
core
doc
make [Infrastructure] Set version to 1.0.4 "Artificial Uncial". Nov 8, 2019
setup [Infrastructure] Set version to 1.0.4 "Artificial Uncial". Nov 8, 2019
.gitignore
INSTALL [Infrastructure] Update TFM's homepage. Oct 9, 2019
LICENSE [Infrastructure] Big overhaul. Sep 11, 2019
Makefile
README.md [Infrastructure] Update TFM's homepage. Oct 9, 2019
net.didierverna.tfm.asd [Infrastructure] Update TFM's homepage. Oct 9, 2019

README.md

TFM

TFM (for TeX Font Metrics) is the standard font description format used by TeX. The TFM library parses and decodes TFM files into an abstract data structure, providing easy access to the corresponding font information in Common Lisp.

Quick Start

In your favorite Lisp REPL, type something like this:

(asdf:load-system :net.didierverna.tfm)
(net.didierverna.tfm:nickname-package)
(defvar *cmr10* (tfm:load-font #p"/path/to/cmr10.tfm"))

You will end up with a font object, containing the decoded font information, and stored in an easily accessible way. Inspect the object in question to familiarize yourself with its contents.

More information

TFM comes with both a user manual and a reference manual. Please see the projet's homepage for more information.

You can’t perform that action at this time.