🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #4915

Re: ZapfDingbats problem in FreeHand generated EPSF ?

#4915
From: Sang-Ho Lee
Date: Wed, 06 Mar 1991 12:14
35 lines
2354 bytes
>
>I have a problem with getting ZapfDingbats in EPSF files generated by
>Aldus FreeHand 2.0 on the Mac: they don't show up.
>
>Does anybody know what's going on here, is there a bug in the FreeHand
>EPSF header?
>

Probably.  I had the same problem with Canvas 2.1 (Canvas Separator). The
problem was that in the EPS prolog they define a procedure which changes the
encoding vector of whatever font is being used in the file.  They are trying
to make sure that the encoding vector conformes to the ASCII standard table
(thus, presumably, ensuring portability between different hardware platforms?).
Unfortunately, they do this indiscriminately, causing trouble with all fonts
that do not consist of the standard character set, like Symbol, Zapf Dingbats,
Sonata,...  For instance, for the Symbol font,  if you use /universal (the
inverted A, octal 042), then it will be included in your PostScript as " (that
is, (/042)), and since octal 042 has been reencoded as /quotedbl by the
prolog, the PostScript interpreter looks for /quotedbl, which the Symbol font
doesn't have, and.... (whew) finally, produces nothing on the printout!

Bye the way, almost all programs I've seen do this reencoding in the prolog,
including Apple's LaserPrep.  In the latter case, from what I can tell,
LaserWriter driver generates a flag (True or False) for each font, giving False
for those fonts whose encoding shouldn't be tampered with, and the procedure
defined in the LaserPrep changes the encoding only if the flag is not False.

So here is my question:  how does the LaserWriter driver figure that out?
Is there any information in the Mac FOND on whether the encoding is
"FontSpecific" (as would be specified in AFM files)?

>Svp mail me direct, I'll summarise for the net
>

(I am mailing a copy of this to him.)
Technical Details
Message-ID: <41247@ucbvax.BERKELEY.EDU>
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!bionet!agate!ucbvax!gandalf.Berkeley.EDU!sanglee
References: <1991Mar4.224652.2358@cs.nott.ac.uk>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!bionet!agate!ucbvax!gandalf.Berkeley.EDU!sanglee
From: sanglee@gandalf.Berkeley.EDU (Sang-Ho Lee)
Newsgroups: comp.lang.postscript,comp.sys.mac.apps,comp.sys.mac.misc
Subject: Re: ZapfDingbats problem in FreeHand generated EPSF ?
Message-ID: <41247@ucbvax.BERKELEY.EDU>
Date: 6 Mar 91 12:14:38 GMT
References: <1991Mar4.224652.2358@cs.nott.ac.uk>
Sender: usenet@ucbvax.BERKELEY.EDU
Organization: Dept. of Statistics, U. C. Berkeley
Lines: 35