ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] ghostscript сломан?
@ 2006-06-06 19:17 Yura Zotov
  2006-06-07  7:59 ` Stanislav Ievlev
  0 siblings, 1 reply; 4+ messages in thread
From: Yura Zotov @ 2006-06-06 19:17 UTC (permalink / raw)
  To: Sisyphus List

Вот что я получаю:

$ gsx Untitled.ps
ESP Ghostscript 815.02 (2006-04-19)
Copyright (C) 2004 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Can't find (or can't open) font file n021003l.pfb.
Can't find (or can't open) font file /usr/share/ghostscript/8.15/Resource/Font/NimbusRomNo9L-Regu.
Can't find (or can't open) font file NimbusRomNo9L-Regu.
Can't find (or can't open) font file /usr/share/ghostscript/8.15/Resource/Font/NimbusRomNo9L-Regu.
Can't find (or can't open) font file NimbusRomNo9L-Regu.
Querying operating system for font files...
Didn't find this font on the system!
Substituting font Courier for NimbusRomNo9L-Regu.
Can't find (or can't open) font file n022003l.pfb.
Can't find (or can't open) font file /usr/share/ghostscript/8.15/Resource/Font/NimbusMonL-Regu.
Can't find (or can't open) font file NimbusMonL-Regu.
Can't find (or can't open) font file /usr/share/ghostscript/8.15/Resource/Font/NimbusMonL-Regu.
Can't find (or can't open) font file NimbusMonL-Regu.
Didn't find this font on the system!
Unable to substitute for font.
ERROR: /invalidfont in findfont
Operand stack:
   Times-Roman   Font   Times-Roman   317952   Times-Roman   --nostringval--   Times-Roman   NimbusRomNo9L-Regu   Courier   NimbusMonL-Regu
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1   3   %oparray_pop   1   3   %oparray_pop   1   3   %oparray_pop   1   3   %oparray_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   1   3   %oparray_pop   2   3   %oparray_pop   --nostringval--   --nostringval--   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   5   4   %oparray_pop   --nostringval--   --nostringval--   --nostringval--   1   -1   1   --nostringval--   %for_neg_int_continue
Dictionary stack:
   --dict:1118/1686(ro)(G)--   --dict:0/20(G)--   --dict:159/200(L)--   --dict:17/17(ro)(G)--   --dict:1118/1686(ro)(G)--
Current allocation mode is local
Current file position is 8440
ESP Ghostscript 815.02: Unrecoverable error, exit code 1

$ rpm -qa | grep ghostscript
ghostscript-module-X-8.15.2-alt0.1
ghostscript-utils-8.15.2-alt0.1
ghostscript-8.15.2-alt0.1
ghostscript-minimal-8.15.2-alt0.1
ghostscript-cups-8.15.2-alt0.1
ghostscript-classic-8.15.2-alt0.1
ghostscript-common-8.15.2-alt0.1
ghostscript-drivers-2006-alt1
ghostscript-gtk-8.15.2-alt0.1
ghostscript-lib-8.15.2-alt0.1

$ locate n021003l.pfb
/usr/local/opt/matlab/sys/ghostscript/fonts/n021003l.pfb
/usr/share/fonts/default/Type1/n021003l.pfb
/usr/share/grace/fonts/type1/n021003l.pfb


Этот ghostscript оффициально поломан или это только у меня? Может
кто-то знает как лечить?

Заранее спасибо за помощь.

--
Юрий А. Зотов



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [sisyphus] ghostscript сломан?
  2006-06-06 19:17 [sisyphus] ghostscript сломан? Yura Zotov
@ 2006-06-07  7:59 ` Stanislav Ievlev
  2006-06-07 16:58   ` Yura Zotov
  0 siblings, 1 reply; 4+ messages in thread
From: Stanislav Ievlev @ 2006-06-07  7:59 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

Официально не сломан, даже работает на Postscript файлах, которые мне
попадаются, но отдетектить данную проблему надо, пожайлуста посмотрите
(через strace например) где он пытается искать шрифты и где они у Вас в
системе реально находятся.

On Tue, Jun 06, 2006 at 11:17:42PM +0400, Yura Zotov wrote:
> Вот что я получаю:
> 
> $ gsx Untitled.ps
> ESP Ghostscript 815.02 (2006-04-19)
> Copyright (C) 2004 artofcode LLC, Benicia, CA.  All rights reserved.
> This software comes with NO WARRANTY: see the file PUBLIC for details.
> Can't find (or can't open) font file n021003l.pfb.
> Can't find (or can't open) font file /usr/share/ghostscript/8.15/Resource/Font/NimbusRomNo9L-Regu.
> Can't find (or can't open) font file NimbusRomNo9L-Regu.
> Can't find (or can't open) font file /usr/share/ghostscript/8.15/Resource/Font/NimbusRomNo9L-Regu.
> Can't find (or can't open) font file NimbusRomNo9L-Regu.
> Querying operating system for font files...
> Didn't find this font on the system!
> Substituting font Courier for NimbusRomNo9L-Regu.
> Can't find (or can't open) font file n022003l.pfb.
> Can't find (or can't open) font file /usr/share/ghostscript/8.15/Resource/Font/NimbusMonL-Regu.
> Can't find (or can't open) font file NimbusMonL-Regu.
> Can't find (or can't open) font file /usr/share/ghostscript/8.15/Resource/Font/NimbusMonL-Regu.
> Can't find (or can't open) font file NimbusMonL-Regu.
> Didn't find this font on the system!
> Unable to substitute for font.
> ERROR: /invalidfont in findfont
> Operand stack:
>    Times-Roman   Font   Times-Roman   317952   Times-Roman   --nostringval--   Times-Roman   NimbusRomNo9L-Regu   Courier   NimbusMonL-Regu
> Execution stack:
>    %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1   3   %oparray_pop   1   3   %oparray_pop   1   3   %oparray_pop   1   3   %oparray_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   1   3   %oparray_pop   2   3   %oparray_pop   --nostringval--   --nostringval--   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   5   4   %oparray_pop   --nostringval--   --nostringval--   --nostringval--   1   -1   1   --nostringval--   %for_neg_int_continue
> Dictionary stack:
>    --dict:1118/1686(ro)(G)--   --dict:0/20(G)--   --dict:159/200(L)--   --dict:17/17(ro)(G)--   --dict:1118/1686(ro)(G)--
> Current allocation mode is local
> Current file position is 8440
> ESP Ghostscript 815.02: Unrecoverable error, exit code 1
> 
> $ rpm -qa | grep ghostscript
> ghostscript-module-X-8.15.2-alt0.1
> ghostscript-utils-8.15.2-alt0.1
> ghostscript-8.15.2-alt0.1
> ghostscript-minimal-8.15.2-alt0.1
> ghostscript-cups-8.15.2-alt0.1
> ghostscript-classic-8.15.2-alt0.1
> ghostscript-common-8.15.2-alt0.1
> ghostscript-drivers-2006-alt1
> ghostscript-gtk-8.15.2-alt0.1
> ghostscript-lib-8.15.2-alt0.1
> 
> $ locate n021003l.pfb
> /usr/local/opt/matlab/sys/ghostscript/fonts/n021003l.pfb
> /usr/share/fonts/default/Type1/n021003l.pfb
> /usr/share/grace/fonts/type1/n021003l.pfb
> 
> 
> Этот ghostscript оффициально поломан или это только у меня? Может
> кто-то знает как лечить?
> 
> Заранее спасибо за помощь.
> 
> --
> Юрий А. Зотов
> 
> _______________________________________________
> Sisyphus mailing list
> Sisyphus@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/sisyphus


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [sisyphus] ghostscript сломан?
  2006-06-07  7:59 ` Stanislav Ievlev
@ 2006-06-07 16:58   ` Yura Zotov
  2006-06-07 17:58     ` Sergey Vlasov
  0 siblings, 1 reply; 4+ messages in thread
From: Yura Zotov @ 2006-06-07 16:58 UTC (permalink / raw)
  To: sisyphus

On Wed, Jun 07, 2006 at 11:59:20AM +0400, Stanislav Ievlev wrote:
> Официально не сломан, даже работает на Postscript файлах, которые мне
> попадаются, но отдетектить данную проблему надо, пожайлуста посмотрите
> (через strace например) где он пытается искать шрифты и где они у Вас в
> системе реально находятся.

Ну, в общем, понятно. Там, где шрифт лежит, ghostscript его и не
пытается искать.

open("./n021003l.pfb", O_RDONLY)        = -1 ENOENT (No such file or directory)
open("/usr/local/mathematica/SystemFiles/Fonts/Type1/n021003l.pfb", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/ghostscript/8.15/lib/n021003l.pfb", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/ghostscript/8.15/Resource/n021003l.pfb", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/ghostscript/fonts/n021003l.pfb", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/fonts/default/n021003l.pfb", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/fonts/type1/n021003l.pfb", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/fonts/type1/urw/n021003l.pfb", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/fonts/n021003l.pfb", O_RDONLY) = -1 ENOENT (No such file or directory) 

А лежат они в 
/usr/share/fonts/default/Type1/n021003l.pfb

urw-fonts-2.0-alt25

Может это где-то прописывается?


И ещё вдогонку крутой глюк:

Error during EXPORT.  Messages:
ESP Ghostscript 815.02: Unrecoverable error, exit code 1
Error in ghostcript command
command was: gs -q -dSAFER -sDEVICE=png16m -r80 -g361x257 -sOutputFile=test.png -
*** glibc detected *** double free or corruption (!prev): 0x080ba050 ***

Это вываливается в Xfig при экспорте картинки с текстом.

--
Юрий А. Зотов



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [sisyphus] ghostscript сломан?
  2006-06-07 16:58   ` Yura Zotov
@ 2006-06-07 17:58     ` Sergey Vlasov
  0 siblings, 0 replies; 4+ messages in thread
From: Sergey Vlasov @ 2006-06-07 17:58 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

[-- Attachment #1: Type: text/plain, Size: 1779 bytes --]

On Wed, Jun 07, 2006 at 08:58:06PM +0400, Yura Zotov wrote:
> On Wed, Jun 07, 2006 at 11:59:20AM +0400, Stanislav Ievlev wrote:
> > Официально не сломан, даже работает на Postscript файлах, которые мне
> > попадаются, но отдетектить данную проблему надо, пожайлуста посмотрите
> > (через strace например) где он пытается искать шрифты и где они у Вас в
> > системе реально находятся.
> 
> Ну, в общем, понятно. Там, где шрифт лежит, ghostscript его и не
> пытается искать.
> 
> open("./n021003l.pfb", O_RDONLY)        = -1 ENOENT (No such file or directory)
> open("/usr/local/mathematica/SystemFiles/Fonts/Type1/n021003l.pfb", O_RDONLY) = -1 ENOENT (No such file or directory)
> open("/usr/share/ghostscript/8.15/lib/n021003l.pfb", O_RDONLY) = -1 ENOENT (No such file or directory)
> open("/usr/share/ghostscript/8.15/Resource/n021003l.pfb", O_RDONLY) = -1 ENOENT (No such file or directory)
> open("/usr/share/ghostscript/fonts/n021003l.pfb", O_RDONLY) = -1 ENOENT (No such file or directory)
> open("/usr/share/fonts/default/n021003l.pfb", O_RDONLY) = -1 ENOENT (No such file or directory)
> open("/usr/share/fonts/type1/n021003l.pfb", O_RDONLY) = -1 ENOENT (No such file or directory)
> open("/usr/share/fonts/type1/urw/n021003l.pfb", O_RDONLY) = -1 ENOENT (No such file or directory)
> open("/usr/share/fonts/n021003l.pfb", O_RDONLY) = -1 ENOENT (No such file or directory) 
> 
> А лежат они в 
> /usr/share/fonts/default/Type1/n021003l.pfb
> 
> urw-fonts-2.0-alt25

Вместо этого пакета нужно установить fonts-type1-urw (пакет очередной
раз переименован, и шрифты переехали в /usr/share/fonts/type1/urw).
apt-get dist-upgrade этого не предлагает?  Впрочем, в любом случае
получается, что где-то в ghostscript не хватает зависимостей на
шрифты.

[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-06-07 17:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-06 19:17 [sisyphus] ghostscript сломан? Yura Zotov
2006-06-07  7:59 ` Stanislav Ievlev
2006-06-07 16:58   ` Yura Zotov
2006-06-07 17:58     ` Sergey Vlasov

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git