Re: Ghostscript/Fonts problem

2001-12-18 Thread Malcolm Gray
Thomas Hessling wrote
Hello everybody, I am using gnuplot to create EPS graphics which I
embed into my LaTeX
documents. That worked fine so far, but since the 'apt-get upgrade'
last
weekend I get the following error by GhostScript when trying to display
those graphics: Error: /invalidfont in findfont (plus the stack
stuff).
It doesn't matter which font I use (Helvetica, Times Roman, etc.), the
error always occurs. At first I checked if the files exist at all, but
they do and they're properly named in 'Fontmap.GS'. Dfontmgr also shows
them up... Has anybody encountered similar problems and has an idea or
even a
solution for this problem?

I had the same problem.  It appears that GS isn't finding the font
files.  Setting environment variables GS_LIB and/or GS_FONTPATH as per
the GS documentation fixes it.  I'm not sure whether this is the way the
packager intended things to work or why the upgrade broke it.

If you want more detail let me know - I'm not at my Linux box at the
moment.

Malcolm Gray

---
This email is from Analytic Outcomes Pty Ltd
Phone:  +61 2 6257 0366
Fax:+61 2 6257 0377
Email:  [EMAIL PROTECTED]
---
This message and any attachments are intended solely for the named
addressee, are confidential and may contain information that is
proprietary to Analytic Outcomes or its clients or information that is
privileged.  The disclosure, copying, taking action in reliance on or
distribution of them or any information they contain by anyone other
than the addressee is prohibited.  If you have received this message in
error, please let us know by telephone and destroy the message.
---



Re: Ghostscript/Fonts problem

2001-12-04 Thread Thomas Heßling
On Tue, 2001-12-04 at 00:43, Craig Dickson wrote:
 
 Yes, I got ghostscript working again by setting the GS_LIB environment
 variable in /etc/profile:
 
GS_LIB=/usr/share/gs/6.51:/usr/share/fonts/type1/gsfonts
export GS_LIB

The problem is gone. Thank you very much!


Thomas





Re: Ghostscript/Fonts problem

2001-12-04 Thread Thomas Heßling
Hi Timo,

On Tue, 2001-12-04 at 00:45, Timo Boewing wrote:
 
 dunno if that would help, but please try these:
 
 a) check if you have dir lines in /etc/X11/XftConfig (dunno if this 
 applies, had to use id for font AA in KDE...but am back to GNOME again 
 ;-]  )
 b) reinstall XFonts (quite large...if not using a fast inet conn)

Guess this won't help, cause GhostScript does not use the X11 fonts but
brings along it's own in the 'gsfonts' package.


 c) try to embed the fonts into the eps, well, not that elegantly

I have no idea how to do that...


Thanks,
Thomas


 P.S. you can visit me this weekend. one of the reasons to do that is 
 to investigate your LEGO stuff ;-) *g

Ok, seeya then, Senior desktop-switcher.



Re: Ghostscript/Fonts problem

2001-12-03 Thread Timo Boewing

Hi Thomas,

dunno if that would help, but please try these:

a) check if you have dir lines in /etc/X11/XftConfig (dunno if this 
applies, had to use id for font AA in KDE...but am back to GNOME again 
;-]  )


b) reinstall XFonts (quite large...if not using a fast inet conn)
c) try to embed the fonts into the eps, well, not that elegantly


hth,

Timo

P.S. you can visit me this weekend. one of the reasons to do that is 
to investigate your LEGO stuff ;-) *g




Re: Ghostscript/Fonts problem

2001-12-03 Thread Craig Dickson
Thomas He?ling wrote:

 I am using gnuplot to create EPS graphics which I embed into my LaTeX
 documents. That worked fine so far, but since the 'apt-get upgrade' last
 weekend I get the following error by GhostScript when trying to display
 those graphics: Error: /invalidfont in findfont (plus the stack
 stuff). 
 It doesn't matter which font I use (Helvetica, Times Roman, etc.), the
 error always occurs. At first I checked if the files exist at all, but
 they do and they're properly named in 'Fontmap.GS'. Dfontmgr also shows
 them up...
 
 Has anybody encountered similar problems and has an idea or even a
 solution for this problem?

Yes, I got ghostscript working again by setting the GS_LIB environment
variable in /etc/profile:

   GS_LIB=/usr/share/gs/6.51:/usr/share/fonts/type1/gsfonts
   export GS_LIB

Craig