🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.postscript.programming
Article #958

Re: findfont cmd in Encapsulated Postscript

#958
From: Aandi Inston
Date: Fri, 02 May 2003 20:24
20 lines
1657 bytes
>How can I tell if a font exists by that name? Is there some Postscript command that will tell me?

In a sense, findfont will.  But it will return a default font
(Courier) if not found. You could test for courier.
>
>I've never used a Postscript string before, please provide an example for specifying a font name as a string variable.

Your first example was fine. Your problem is that you do not have a
font by that name.

Take a step back - a big step back.

Some fonts are built into the printer. For instance, Times-Roman.
Others are not. In the case where the font is not built in to the
printer, what are you doing, to make this print job work?  If the font
is not in the printer, how can it be printed?  I think you may have
missed out a big step - or else not explained what you are doing
fully.

Aandi Inston
Technical Details
Message-ID: <3eb2d3a2.1323777261@adobeforums.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de8edf8.-1@WebX.la2eafNXanI> <1de8edf8.7@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 13:37:56 PST
From: quite@dial.pipex.com (Aandi Inston)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!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: <3eb2d3a2.1323777261@adobeforums.com>
Date: Fri, 2 May 2003 13:24:58 -0700
References: <1de8edf8.-1@WebX.la2eafNXanI> <1de8edf8.7@WebX.la2eafNXanI>
Lines: 22
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