There is a bug report filed against Ghostscript about
a file generated by ivtools. In fact Ghostscript is OK.
The sample file is incorrect. It assumes that FontBBox is
an executable array. Although many fonts are designed
this way there is no such requiriment in the spec
Probably, different RH versions install different
fonts. The
file should be changed as following to work with both
executable and literal arrays
*** test.ps Mon Oct 14 00:02:53 2002
--- test-hacked.ps Mon Oct 14 00:53:20 2002
***************
*** 362,368 ****
gsave
fgred fggreen fgblue setrgbcolor
/fontDict printFont printSize scalefont dup setfont def
! /descender fontDict begin 0 [FontBBox] 1 get
FontMatrix end
transform exch pop def
/vertoffset 1 printSize sub descender sub def {
0 vertoffset moveto show
--- 362,368 ----
gsave
fgred fggreen fgblue setrgbcolor
/fontDict printFont printSize scalefont dup setfont def
! /descender fontDict begin 0 /FontBBox load 1 get
FontMatrix end
transform exch pop def
/vertoffset 1 printSize sub descender sub def {
0 vertoffset moveto show
.
sample file
Logged In: YES
user_id=406
Alex,
Thanks for illuminating us on this compatiblity problem
between the decade-old idraw EPS format and newer versions
of ghostscript. I've asked Raph if anything can be done
about this. I will modify my version of idraw to support
executable fonts, but there is little help to the academic
users all over the world that have accumulated years of
course notes in idraw format, and now find them unable to
render in ghostscript (Adobe PostScript renderers do not
have this problem). If you can see the way to removing this
backward incompatibility from ghostscript many would
appreciate it.
Scott Johnston
Logged In: YES
user_id=65750
The EPS header is incompatible with some fonts installed on
Red Hat Linux. The PS interpreter make or version is not
important.
Unfortunately, the header doesn't use "bind" operator. So
the work-around based on "Idion Recognition" is not possible.
The only possible work-around is to change the fonts..
Logged In: YES
user_id=406
Do you mean that one of the classic X fonts used by idraw
has changed form from literal to executable under RedHat?
Helvetica is available in both ways?
Logged In: YES
user_id=406
ivtools copy of idraw modified as suggested. This
increments the version number of the idraw format supported
by ivtools to 13. Older versions can still be read, and
will be upgraded to the new version when written out.
This change is to support X11 fonts in RedHat that have
changed from their classic static nature to dynamic
executable fonts. It seems to be backward compatible (or
rather compatible) with the normal version of these fonts.
This change has been committed to the ivtools cvs
repository, and will show up in the next release (either
1.0.7 or 1.1).
Logged In: YES
user_id=107639
To convert EPS files generated by idraw do:
sed 's/\[FontBBox\]/\/FontBBox load/' oldfile > newfile