Article View: comp.lang.postscript
Article #3410Composite fonts
From: John Mandler
Date: Fri, 19 Oct 1990 12:55
Date: Fri, 19 Oct 1990 12:55
21 lines
1316 bytes
1316 bytes
I am trying to create a composite font that contains characters I define
plus outlines from a built in font. I have no trouble creating the composite
font. But when I try to insert an character path from a built in font, no
visible marks are made on the page for that character
From the red PostScript book, the font chapter (5) defines the entries in
a built-in font . One of the elements is CharStrings. My understanding is that
the following code should place the character's shape desription on the stack where
I should be able to stroke it :
FontDirectory begin /Courier findfont 10000 scalefont begin CharStrings /b get end end 100 100 moveto stroke
I expect to get a 10 point lower case b at position 100,100 .
Any ideas ?
Thanks
----------------------------------------------------------------
John Mandler mandler@apollo.hp.com
HP/Apollo GTD East
508-256-6600
----------------------------------------------------------------
Technical Details
Message-ID:
<4d7da3e4.20b6d@apollo.HP.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!sdd.hp.com!apollo!mandlerShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!sdd.hp.com!apollo!mandler From: mandler@apollo.HP.COM (John Mandler) Newsgroups: comp.lang.postscript Subject: Composite fonts Message-ID: <4d7da3e4.20b6d@apollo.HP.COM> Date: 19 Oct 90 12:55:00 GMT Sender: root@apollo.HP.COM Lines: 21