Use TrueType fonts with PostScript interpreters with TrueType rasterizers. (deprecated)
Switch branches/tags
Nothing to show
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.
cid
AUTHORS
ChangeLog
INSTALL
Makefile.am
NEWS
README.md
REFERENCES
THANKS
TODO
acidtocid.c
basename.c
cid-format
cid.h
cid_aread.c
cid_awrite.c
cid_decode.c
cid_mkmap.c
cid_read.c
cid_util.c
cid_write.c
cidtoacid.c
close_font.c
configure.ac
depcomp
encodings.c
ftxtbls.c
get_name.c
getopt.c
getopt.h
getopt1.c
init.c
install-sh
main.c
missing
mkfontmap
mkinstalldirs
names.c
open_font.c
pideid.c
pideid.h
strdup.c
strerror.c
substext.c
substext.h
t42.h
ttftot42.lsm
ttftot42.spec
util.c
write_afm.c
write_cid2.c
write_t42.c
xmalloc.c

README.md

Development on this project has stopped. It will no longer be updated.

This is ttftot42, a program to facilitate using TrueType fonts on PostScript interpreters with TrueType rasterizer.

You need the FreeType library to compile and use it.

TrueType fonts cannot be converted to Type 1 fonts without loss of quality, since conversion introduces rounding errors and loses hinting information. Therefore, newer PostScript interpreters (Adobe PostScript since version 2013, ghostscript since 5.03) include a TrueType rasterizers. To use a TrueType font with them, it has to be embedded in a PostScript font dictionary; this format is called Type 42.

This program generates such Type 42 fonts from TrueType fonts. It can also generate Adobe Font Metrics files (AFM files), including kerning information.

Support for the creation of CID keyed fonts from large TrueType fonts (East Asian or Unicode fonts) is included in this version, but it is far from finished: AFM files are not created and glyph substitution for vertical writing mode and alternative glyph forms (e. g. localized versions of kanji) is not done, since support for it is not implemented in FreeType 1.2. Thus, the resulting fonts cannot be used in vertical writing mode.

Not yet supported are TrueType Collections.

If you make a binary distribution, please include a pointer to the distribution site: https://nih.at/ttftot42

The latest version can always be found there.

Mail suggestions and bug reports to ttftot42@nih.at.