[comp.lang.postscript] Fonts of PaintType 1

jaa@basser.oz (James Ashton) (08/24/88)

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.