fountainhead/README.md

43 lines
722 B
Markdown
Raw Normal View History

# TrueType font parser
2024-02-04 11:07:15 +01:00
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:
2024-02-04 11:07:15 +01:00
```sh
cabal build
```
The binary can be run with:
2024-02-04 11:07:15 +01:00
```sh
cabal run fountainhead -- myfont.ttf
2024-02-04 11:07:15 +01:00
```
or installed locally and executed just as:
```sh
fountainhead myfont.ttf
2024-02-04 11:07:15 +01:00
```
This command will output the contents of the font in a format similar to
ttfdump from TeXLive.
2024-02-04 11:07:15 +01:00
See
```sh
fountainhead --help
```
for help.
## Usage