Haskell TrueType font parser.
Go to file
2024-02-06 12:14:07 +01:00
lib/Graphics Add an option for dumping a single table 2024-02-06 12:14:07 +01:00
src Add an option for dumping a single table 2024-02-06 12:14:07 +01:00
.gitignore Initial commit 2023-03-13 10:51:25 +01:00
CHANGELOG.md Create a Metrics module 2024-02-04 11:07:15 +01:00
fountainhead.cabal Create a Metrics module 2024-02-04 11:07:15 +01:00
LICENSE Initial commit 2023-03-13 10:51:25 +01:00
README.md Add an option for dumping a single table 2024-02-06 12:14:07 +01:00

TrueType font parser

Fountainhead is a TrueType and OpenType font parser. Its main purpose is to extract information from the fonts to help to embed these fonts into PDF documents. It also supports dumping font information to the screen.

There is also an executable to dump fonts.

Installation

Add the library as dependency to your project. Alternatively build an executable with:

cabal build

The binary can be run with:

cabal run fountainhead -- myfont.ttf

or installed locally and executed just as:

fountainhead myfont.ttf

This command will output the contents of the font in a format similar to ttfdump from TeXLive.

See

fountainhead --help

for help.

Usage