-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [ thanks Helge for pointing this thread out to me. It was one of my "ignored" threads in kmail :) ] Le Tuesday 12 August 2003 19:36, Helge Deller a écrit : > On Tuesday 12 August 2003 11:15, Waldo Bastian wrote: > > On Tuesday 12 August 2003 08:38, Helge Deller wrote: > > > > > > - watching the PS file with kghostview gives the same error message > > > as I mentioned in my original mail: > > > > > > ESP Ghostscript 7.05.3: Unrecoverable error, exit code 1 > > > Error: /invalidfileaccess in --.libfile-- > > > Operand stack: > > > Helvetica-Uni-00 --nostringval-- --nostringval-- Helvetica > > > Helvetica Font Helvetica 514249 Helvetica --nostringval-- > > > Helvetica NimbusSanL-Regu > > > (/usr/X11R6/lib/X11/fonts/URW/n019003l.pfb) > > > > Ghostscripts security settings do not allow you to read > > /usr/X11R6/lib/X11/ fonts/URW/n019003l.pfb Yes, that's how I read it has well > > I find that somewhat strange since that font seems to be accessed from . > > libfile (?) and I would expect that ghostscript takes the necassery > > actions to be able to read its own font files. see below... > Thanks for the hint Waldo ! > > I looked into the kghostview sources and the attached patch fixes all > my kghostscript and print preview problems. > Maybe someone with enough expierience with gv might want to comment > and commit the right patch to CVS ? Your patch reverts the security updates which lead to KDE 3.1.1a (from 3.1.1). See http://www.kde.org/info/security/advisory-20030409-1.txt for more info. As Waldo says however, gs should be able to find its fonts. According to http://www.cs.wisc.edu/~ghost/doc/gnu/7.05/Language.htm , the .locksafe command should allow gs to read the paths contained in /FontResourceDir and FONTPATH. Therefore, this seems like it might be an instalation problem where you have gs malconfigured (in particular /FontResourceDir is not being set right). Maybe adding a couple of directories to your FONTPATH evnv var would fix the problems you are seeing. regards, - -- Luis Pedro Coelho The carrot tax, see: http://luispedro.journalspace.com/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE/O2YbGpBAvyRwXdgRAq7tAJ9KwHeS23pe7tTP9StG9vnNZ1aF+ACfQfFF O8W+NNN3mOK3LXLZuV73zpQ= =y8HK -----END PGP SIGNATURE-----