🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #7439

Fonts of PaintType 1

#7439
From: James Ashton
Date: Wed, 24 Aug 1988 05:21
19 lines
1738 bytes
I am interested in the mechanisms used to render fonts of different PaintTypes.
The procedures for PaintType 0 fairly obviously just create a new path which
can then be filled.  No further parameters are required.  For PaintType 3 the
procedure is itself entirely responsible for imaging so again no further
parameters are required.  The other two types however, require that a stroke
be done after the execution of the procedure.  The question is:  is the
procedure responsible for doing the setlinewidth, setlinecap, setlinejoin and
setmiterlimit calls or are the values for these parameters stored elsewhere
in the font dictionaries?  In the case of PaintType 2, or outlined fonts, the
dictionary contains the StrokeWidth entry but the other three parameters
do not seem to be specified.  For PaintType 1, or stroked characters, the
only thing I can find in the dictionaries is the UnderlineThickness entry
but I can't find any mention in the PostScript references as to whether this
is the value used for line widths for stroking the characters.  It's rather
frustrating that this aspect of font rendering is not documented as well
as other PostScript features are.  If anyone has stumbled across the answer
to my questions I'd be most interested to hear them.

						James Ashton.
Technical Details
Message-ID: <1425@basser.oz>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!munnari!basser!jaa

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!munnari!basser!jaa
From: jaa@basser.oz (James Ashton)
Newsgroups: comp.lang.postscript
Subject: Fonts of PaintType 1
Summary: What line width, join, cap and mitrelimit?
Keywords: Postscript Fonts
Message-ID: <1425@basser.oz>
Date: 24 Aug 88 05:21:45 GMT
Reply-To: jaa@basser.oz (James Ashton)
Followup-To: comp.lang.postscript
Organization: Dept of Comp Sci, Uni of Sydney, Australia
Lines: 19