🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.postscript.programming
Article #606

Combine two files with bitmapped font

#606
From: Sergey_Tkachuk
Date: Tue, 18 May 2004 00:46
47 lines
2199 bytes
Hi!

I'm now trying to find a solution to the problem of combining two
postscript level 3 files. First of these two files contains a few
lines and plain text that uses Times font. Second file contains number
of images and texts (using several different fonts). Dictionaries of
these two files do not have identical names.

To combine the files I wrote an utility that joins the prologs of the
files and uses the following algorythm for each page:

%%Page: 1 1
save
[code from the first page of the first file]
restore
save
[code and resources from the first page of the second file]
restore
showpage

%%Page: 2 2
save
[code from the second page of the first file]
restore
save
[code and resources from the second page of the second file]
restore
showpage

If a text in the second file is written using a truetype font or is
converted to outlines, then everything works fine and combined file is
printed out without problem.

Problems come up if a text in the second file is written using a
bitmapped font. In that case GSview viewer shows the combined file
correctly. But a sort of error occurs when the combined file is
printed out to a real printer (Lexmark Optra S 1650 Laser Printer in
my case): only images are printed out, second file's text disappears.

Question: have anybody faced the above (or similar) problem? What's
the difference (fundamental) between vector and bitmap fonts in PS?

Are there any viewers (except for ghostscript) that 'understand'
postscript level 3 format?

Thanks
Sergey Tkachuk
Technical Details
Message-ID: <3bb42833.-1@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!ecngs!feeder.ecngs.de!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!webx

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10c61a,abc8c1e46c208070,start
X-Google-Attributes: gid10c61a,public
From: Sergey_Tkachuk@adobeforums.com
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!ecngs!feeder.ecngs.de!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.postscript.programming
Subject: Combine two files with bitmapped font
Message-ID: <3bb42833.-1@webx.la2eafNXanI>
Date: Mon, 17 May 2004 17:46:19 -0700
Lines: 47
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit