🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #4187

Generating AFM files for PD fonts

#4187
From: Alvin Austin
Date: Wed, 05 Dec 1990 20:38
24 lines
1599 bytes
Most wp programs require that an AFM file be provided with a
downloadable PS font so that the program can figure out how 
to do character spacing and line breaking.

For public domain fonts, these AFM files are often either 
non-existent or not included.

Has anyone come up with some code to produce at least a 
partial AFM file (which could then be hand-edited), either
by writing a stand-alone program, or maybe sending the 
font to the printer, then using 'stringwidth' (and other)
operators, and then capturing the 'print' output?

Any comments or suggestions welcome...

Thanks,
Alvin Austin
___________________________________________________________________________
Alvin Austin                                Email: austin@skorpio.USask.Ca
Department of Computational Science
(Mail) Room 1C101 Engineering Building     Office: Room 145.1 Arts Building
University of Saskatchewan              Telephone: (306) 966-4895
Saskatoon, Sask. CANADA  S7N 0W0              FAX: (306) 966-8709
___________________________________________________________________________
Technical Details
Message-ID: <1990Dec5.203819.9021@herald.usask.ca>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!peregrine!elroy.jpl.nasa.gov!sdd.hp.com!zaphod.mps.ohio-state.edu!van-bc!ubc-cs!alberta!herald.usask.ca!skorpio!austin

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!peregrine!elroy.jpl.nasa.gov!sdd.hp.com!zaphod.mps.ohio-state.edu!van-bc!ubc-cs!alberta!herald.usask.ca!skorpio!austin
From: austin@skorpio.USask.CA (Alvin Austin)
Newsgroups: comp.lang.postscript
Subject: Generating AFM files for PD fonts
Message-ID: <1990Dec5.203819.9021@herald.usask.ca>
Date: 5 Dec 90 20:38:19 GMT
Sender: news@herald.usask.ca (USENET News System)
Reply-To: austin@skorpio.USask.CA (Alvin Austin)
Organization: University of Saskatchewan
Lines: 24