t1reencode Manual |
t1reencodere-encode a PostScript Type 1 font SYNOPSISt1reencode -e ENCODING [OPTIONS...] font [outputfile] DESCRIPTIONT1reencode changes a PostScript Type 1 font’s embedded encoding. The re-encoded font is written to the standard output (but see the --output option). If no input font file is supplied, t1reencode reads a PFA or PFB font from the standard input. OPTIONS
RETURN VALUEST1reencode exits with value 0 if a re-encoded font was successfully generated, and 1 otherwise. NOTEST1reencode should be used only in special situations. It’s generally much better to use PostScript commands to re-encode a font; for instance, executing the PostScript commands to generate two differently-encoded versions of a single font will take up much less memory than loading two t1reencoded fonts. EXAMPLESThis command re-encodes Frutiger Roman in the ISO Latin 1 encoding. The new
font will have the PostScript name Frutiger-RomanISOLatin1Encoding.
t1reencode -e ISOLatin1Encoding FrutiRom.pfb \ -o FrutiRomISOL1.pfbThis series of commands, which use cfftot1(1) and otftotfm(1) as well as t1reencode itself, generate a version of Warnock Pro Regular with old-style figures in the slots for numbers (because of otftotfm’s -fonum option). The new font will be called WarnockPro-RegularOsF. otftotfm -fonum WarnockPro-Regular.otf \ --output-encoding /tmp/osf.enc cfftot1 WarnockPro-Regular.otf | t1reencode -e /tmp/osf.enc \ -n WarnockPro-RegularOsF -N "Warnock Pro Regular OsF" \ -o WarnoProRegOsF.pfb SEE ALSOAdobe Type 1 Font Format, dvips(1), cfftot1(1), otftotfm(1) AUTHOREddie Kohler (ekohler@gmail.com) |
Back to LCDF Type Software |