🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.postscript.programming
Article #1150

Re: findfont cmd in Encapsulated Postscript

#1150
From: Aandi Inston
Date: Wed, 30 Apr 2003 18:25
23 lines
1508 bytes
Returning to your original question

>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.

Refer to the rules of PostScript syntax (PS Language Reference). A
name may not contain spaces. That is fact three separate names, one
literal, two not.

Fortunately, PostScript allows a string in place of a name in every
context, and so you can use a string instead. However, PostScript font
names very rarely contain spaces.

Aandi Inston
Technical Details
Message-ID: <3eb0149e.1143830691@adobeforums.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!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-04-30 11:38:07 PST
From: quite@dial.pipex.com (Aandi Inston)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!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: <3eb0149e.1143830691@adobeforums.com>
Date: Wed, 30 Apr 2003 11:25:40 -0700
References: <1de8edf8.-1@WebX.la2eafNXanI>
Lines: 25
X-Newsreader: Forte Free Agent 1.21/32.243
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit