🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.postscript.programming
Article #959

Re: findfont cmd in Encapsulated Postscript

#959
From: landon g
Date: Fri, 02 May 2003 21:10
11 lines
1825 bytes
I don't think a printer has anything to do with this. I'm writing an Encapsulated Postscript file for import into other applications.

I know the OpenType font is installed because I can use it in Windows and see it listed in the font folder. My test app (MS Publisher) is able to use all of the fonts as well from it's user-interface so I know it's not a problem on that end.

I've found that without exception, *every* font I use that has no spaces in the name works fine while *every* font I use that has spaces in the name fails. I've tried 30-40 fonts now.

Too much of a coincidence for me. It's becoming clear that the problem is not font availability, but rather simply that there's no way to specify a font name whith embedded spaces in Postscript because it can't parse the name properly... probably because Postscript uses spaces as a special character for parsing seperate tokens, as it does with all of it's commands.

So far, I haven't found anyone who has sucessfully done this using the Encapsulated Postscript language.

Thoughts?
Technical Details
Message-ID: <1de8edf8.9@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!diablo.theplanet.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de8edf8.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10c61a,88d8f5984098dd18
X-Google-Attributes: gid10c61a,public
X-Google-ArrivalTime: 2003-05-02 14:37:45 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!diablo.theplanet.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.postscript.programming
Subject: Re: findfont cmd in Encapsulated Postscript
Message-ID: <1de8edf8.9@WebX.la2eafNXanI>
Date: Fri, 2 May 2003 14:10:37 -0700
References: <1de8edf8.-1@WebX.la2eafNXanI>
Lines: 23
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit