40 lines
619 B
Markdown
40 lines
619 B
Markdown
|
# 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 and run the executable with:
|
||
|
|
||
|
```sh
|
||
|
cabal build
|
||
|
```
|
||
|
|
||
|
The binary can be executed with:
|
||
|
|
||
|
```sh
|
||
|
cabal run fountainhead --
|
||
|
```
|
||
|
|
||
|
or installed locally and executed just as:
|
||
|
|
||
|
```sh
|
||
|
fountainhead
|
||
|
```
|
||
|
|
||
|
See
|
||
|
|
||
|
```sh
|
||
|
fountainhead --help
|
||
|
```
|
||
|
|
||
|
for help.
|
||
|
|
||
|
## Usage
|