Debian Codegraph @

doc/sphinx/fontutils.rst

raw
1 Utilities for examining fonts
2 =============================
3
4 A number of utilities are bundled in the source distribution of FontForge.
5 These may be found here:
6 https://github.com/fontforge/fontforge/tree/master/contrib/fonttools
7
8 .. toctree::
9 :glob:
10
11 fontutils/*
12
13 ShowTTF
14 -------
15
16 ``showttf`` is a program which will decompose a truetype (or opentype) font file
17 into its various tables and display the contents of those tables as best it can.
18 It will also point out the errors it finds in the file. This is similar to
19 fontTools `ttx <https://fonttools.readthedocs.io/en/latest/ttx.html#module-fontTools.ttx>`_
20 utility, and to Apple's `ftxdumperfuser <https://developer.apple.com/download/all/?q=font>`_
21 (except mine shows some OpenType tables which Apple's ignores). And, of course,
22 mine is open source and runs on most any system.
23
24 ::
25
26 showttf fontfile
27
28
29 Ttf2Eps
30 -------
31
32 ``ttf2eps`` will allow you to extract one (or all) glyphs from a font and convert
33 them into eps files.
34
35
36 PfaDecrypt
37 -----------
38
39 ``pfadecrypt`` will undo Adobe's encryption on pfa/pfb files and converts the byte
40 codes into readable postscript like instructions.
41
42
43 Pcl2Ttf
44 --------
45
46 Will extract ttf or bitmap fonts embedded in an hp pcl file. Bitmap fonts become
47 bdf fonts (I don't have any examples of run length encoded bitmap fonts, and do
48 not currently support them. If you have an rle bitmap pcl font please send it to
49 me). I have neither documentation on nor examples of the "Intellifont" format,
50 so these fonts are not supported.