🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.postscript.programming
Article #974

Re: findfont cmd in Encapsulated Postscript

#974
From: landon g
Date: Tue, 06 May 2003 20:55
17 lines
1904 bytes
Ok, I finally found the answer to the findfont/spaces issue. Adobe Tech note #5088 states spaces my not be used in the FontName which is used with the findfont cmd.

Regardless, it sounds like I've got to, as you've stated, embed the font to avoid relying on application dependencies in the Postscript interpreters.

I agree with you that this font embedding task is looking like a huge job. Maybe we can leverage the printer driver idea.

As a test, I installed a postscript printer driver and printed to a file. Interestingly, it converted the "Bookman Old Style" font name to "Bookman-Light" which displayed fine using Ghostscript on one of our unix boxes.

I then tried converting this Postscript file to an EPS file and failed in all cases to import. I figure there are too many differences between Postscript and EPS to make this an easy task.

Ok, so I then modified my Windows EPS file, which was failing with original name to "Bookman-Light" instead and findfont immediately worked.

So, how did the Postscript Printer driver know to convert the "Bookman Old Style" name to "Bookman-Light"?

Once I figure that out, I may be on my way.

landon
Technical Details
Message-ID: <1de8edf8.21@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!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-05-06 14:08:05 PST
From: "landon g" <landon@aptech.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!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: <1de8edf8.21@WebX.la2eafNXanI>
Date: Tue, 6 May 2003 13:55:46 -0700
References: <1de8edf8.-1@WebX.la2eafNXanI>
Lines: 29
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit