[alt.sources] Postscript code for Composite characters comp.lang.postscript

coleman@lll-lcc.UUCP (Sam Coleman) (01/05/90)

Archive-name: ps-composite/release
Original-posting-by: coleman@lll-lcc.UUCP (Sam Coleman)
Original-subject: Composite characters
Original-message-id: <2708@lll-lcc.UUCP>
Reposted-by: emv@math.lsa.umich.edu (Edward Vielmetti)

[This is an experimental alt.sources re-posting from the newsgroup(s)
comp.lang.postscript. Comments on this service to emv@math.lsa.umich.edu 
(Edward Vielmetti).]


There was some discussion recently about composite characters.  Composites
are mentioned in sections 7.8 and 7.9 of the Green Book, but there's no
explanation of how to do it.

The Postscript code below represents one way to create composites, with two
or more standard characters or combinations of standard characters and
custom characters.  The sample below includes some accented characters and
some characters used in medieval texts.  There are actually four fonts,
with italic, bold, etc.  The code is loosely based on the sample on page
145 of the Green Book.  Incidently, the fonts also include some fractions.
It seems that within a font fractions are easier than program 8 in the Blue
Book.  I suppose that News will fold the lines that exceed 80 characters,
but hopefully it will still be readable.

I'd appreciate comments on other ways to create composites or improvements
to this code.

Sam Coleman
coleman@lll-lcc.llnl.gov

[Remainder deleted, fetch it from comp.lang.postscript (ca. 300 lines)].