Article View: comp.text
Article #2379Help me write some DESC files for postscript
From: Bradley E. Smith
Date: Wed, 09 Jan 1991 17:59
Date: Wed, 09 Jan 1991 17:59
53 lines
1990 bytes
1990 bytes
Hi, I am try to write DESC & font files for postscript fonts we have
according to the ADOBE FONT METRIC FILES specifiaction (version 3.0)
"All measurements in an AFM and ACFM file are given in terms of units
equal to 1/1000 of the scale factor(point size) of the font program.
To compute actual sizes in a document, these amounts should be
multiplied by (scale factor of font)/1000."
Also characters are defined like the following:
C 33; WX 333; N excalm ; B 100 -15 233 683;
C 208; WX 1000; N emdash ; B 0 174 1000 228;
And also from Troff we get (in the DESC file)
res - is the machine resolution in units per inch
hor & vert - the minimum number of machine units that it is possible
to move
unitwidth - the point size at which the character widths map directly
into machine units.
Now that we have that the DESC files that came with 'tpscript' (for the apple
laser write have the following
res 720
hor 1
vert 1
unitwidth 10
and the 'R' file has the following as well (cut out a lot)
# Times-Roman
name R
internalname Roman
ligatures fi fl ff ffi ffl 0
spacewidth 25
charset
! 33 2 041
em 100 0 0320 emdash
-----------------
Now my question, do I just set unitwidth to 10 for all fonts? Do I divide the
width from the Adode font printout by 10 and use it? what about round off
is 339 the same 331 (ie 33, or should 339 be 34)? Can I set unitwidth to 1
and just use 333?
Thanks
Brad Smith
Bradley University
brad@bradley.bradley.edu
309-677-2337
Technical Details
Message-ID:
<1991Jan9.175920.20119@bradley.bradley.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!julius.cs.uiuc.edu!ux1.cso.uiuc.edu!bradley2.bradley.edu!bradShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!julius.cs.uiuc.edu!ux1.cso.uiuc.edu!bradley2.bradley.edu!brad From: brad@bradley.bradley.edu (Bradley E. Smith) Newsgroups: comp.text,comp.lang.postscript Subject: Help me write some DESC files for postscript Message-ID: <1991Jan9.175920.20119@bradley.bradley.edu> Date: 9 Jan 91 17:59:20 GMT Organization: Bradley University Lines: 53