🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.lang.postscript
3 messages
3 total messages Started by Carson A. Gaspar Tue, 25 Aug 1992 20:33
How do I convert .pfb/.pfm files to .tfm files?
#1961
Author: Carson A. Gaspar
Date: Tue, 25 Aug 1992 20:33
11 lines
887 bytes
I know how to convert .afm files to .tfm files (via afm2tfm), but the
postscript fonts I have do not come with .afm files, only .pfb files
with occasional .pfm metrics.

I would like a general case solution, i.e. how to get from a .pfb to a
.tfm, but converting the .pfm files would be a good start.

-- 
			    Carson Gaspar
			carson@cs.columbia.edu
Re: How do I convert .pfb/.pfm files to .tfm files?
#1964
Author: David Dalton
Date: Tue, 25 Aug 1992 23:01
5 lines
848 bytes
You might be able to use a comination of pfbtogs  and  pstopk
which come with Ghostscript, but I'm not sure if pstopk generates
a tfm as well as a pk font file.

David <Dalton@Geop.UBC.CA>
Re: How do I convert .pfb/.pfm files to .tfm files?
#1966
Author: Berthold K.P. Horn
Date: Wed, 26 Aug 1992 00:57
21 lines
1462 bytes
In article <1992Aug25.203341.10026@ctr.columbia.edu> carson@cs.columbia.edu (Carson A. Gaspar) writes:

   I know how to convert .afm files to .tfm files (via afm2tfm), but the
   postscript fonts I have do not come with .afm files, only .pfb files
   with occasional .pfm metrics.

   I would like a general case solution, i.e. how to get from a .pfb to a
   .tfm, but converting the .pfm files would be a good start.

Actually, it is the other way around, you'd want to start with the PFM
files, since PFM files contain information not found in PFB files, such as
kerning information.  Use PFMtoAFM.  

Also chide the source of your fonts.  T1 fonts should ALWAYS come with AFM
files, since this is the only complete repository of metric information 
(PFM and TFM files for example have no information on unencoded characters
or on encoding).

Berthold K.P. Horn
Cambridge, Massachusetts, USA
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads