🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.postscript.programming
Article #1145

findfont cmd in Encapsulated Postscript

#1145
From: landon g
Date: Tue, 29 Apr 2003 23:20
29 lines
1426 bytes
Hello, I'm writing an Encapsulated Postscript file containing text on a Window XP machine.

I'm using MS Publisher to test it by importing the file into a .pub doc.

I've found that any font name I use that has spaces in it (ie: Bookman Old Style) will not work. Only fonts that have no spaces in them will work.

For instance:

/Ariel findfont 100 scalefont setfont

works fine, while:

/Bookman Old Style findfont 100 scalefont set font

does not.

Note, I can use a '-' when modifying the font for Bold and Italic like so:

/Ariel-Bold findfont

But that does not work with the font name itself.

Can anyone tell me how to specify a font name that contains spaces in it such as:

/Bookman Old Style findfont

Thanks,

landon
Technical Details
Message-ID: <1de8edf8.-1@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10c61a,88d8f5984098dd18,start
X-Google-Attributes: gid10c61a,public
X-Google-ArrivalTime: 2003-04-29 16:37:43 PST
From: "landon g" <landon@aptech.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.postscript.programming
Subject: findfont cmd in Encapsulated Postscript
Message-ID: <1de8edf8.-1@WebX.la2eafNXanI>
Date: Tue, 29 Apr 2003 16:20:32 -0700
Lines: 35
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit