Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Error: /invalidfont in /findfont in ghostscript [solved?]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Cazzantonio
Bodhisattva
Bodhisattva


Joined: 20 Mar 2004
Posts: 4498
Location: Somewere around the world

PostPosted: Sun Aug 29, 2010 4:19 pm    Post subject: Error: /invalidfont in /findfont in ghostscript [solved?] Reply with quote

Hi all. I got a problem with ghostscript with some kind of error about fonts.
This is an example:
Code:
ale@heavensdoor ~/articolomalbor $ ps2pdf Articolo.ps
Error: /invalidfont in /findfont
Operand stack:
   240   Helvetica   ISOLatin1Encoding   Helvetica   Helvetica
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1862   1   3   %oparray_pop   1861   1   3   %oparray_pop   1845   1   3   %oparray_pop   1739   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   1820   5   7   %oparray_pop
Dictionary stack:
   --dict:1159/1684(ro)(G)--   --dict:0/20(G)--   --dict:71/200(L)--   --dict:120/300(L)--   --dict:44/200(L)--   --dict:94/160(L)--   --dict:8/85(L)--
Current allocation mode is local
Last OS error: 2
Current file position is 339128
GPL Ghostscript 8.71: Unrecoverable error, exit code 1

Actually I have problems manipulating (visualizing too) any kind of ps or pdf document containing eps images. Basically evince, gv or other programs hangs up with the kind of error shown before.

Anyone can tell me what to to to solve this? Thanks.
I think I have all common fonts installed (except corefonts), also the problem arise even if I try to do those eps by myself (with matlab for example).
_________________
Any man's death diminishes me, because I am involved in mankind, and therefore never send to know for whom the bell tolls; it tolls for thee
-John Donne


Last edited by Cazzantonio on Thu Sep 02, 2010 3:05 pm; edited 1 time in total
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2152
Location: Berlin, Germany

PostPosted: Thu Sep 02, 2010 1:40 am    Post subject: Reply with quote

If Helvetica is not installed the ghostscript interpreter should replace it with Nimbus Sans. Ensure that media-fonts/gnu-gs-fonts-std is installed on your system.
Back to top
View user's profile Send private message
Cazzantonio
Bodhisattva
Bodhisattva


Joined: 20 Mar 2004
Posts: 4498
Location: Somewere around the world

PostPosted: Thu Sep 02, 2010 3:05 pm    Post subject: Reply with quote

gnu-gs-fonts-std is installed correctly, but the error still holds even if I try different fonts in the images. If I try to make an eps with liberation-sans fonts it's the same.

I tried check and even recompile single applications like ghostscript, fonts, evince etc... without results. In the end I got sick of this and I recompiled the whole system with emerge -e world. Now the problem is solved, but I don't know where it originated from.

My system is almost stable amd64 (with the exception of baselayout2 and openrc).

Code:
ale@heavensdoor ~ $ emerge --info
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop, gcc-4.4.3, glibc-2.11.2-r0, 2.6.34-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.34-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 02 Sep 2010 09:45:01 +0000
app-shells/bash:     4.0_p37
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.2
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -msse4.1 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -msse4.1 -O2 -pipe"
DISTDIR="/var/pkg/distfiles"
FEATURES="assume-digests distlocks fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://trumpetti.atm.tut.fi/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="it"
MAKEOPTS="-j3"
PKGDIR="/var/pkg/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/exclude_sync"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp_portage"
PORTDIR="/var/portage"
PORTDIR_OVERLAY="/var/pkg/overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb branding bzip2 cairo caps cdr cli consolekit cracklib crypt cups cxx dbus dga djvu dri dts dv dvd dvdr emboss encode exif fam fbcon ffmpeg firefox flac foomaticdb fortran gdbm gif gmp gnutls gpm gstreamer gtk iconv idn ieee1394 ipv6 jpeg kdehiddenvisibility latex lcms libnotify libsamplerate mad mikmod mmx modules mp3 mp4 mpeg mpi mudflap multilib ncurses nls nptl nptlonly offensive ogg opengl openmp pam pango pch pcre pdf perl png ppds pppd python readline reflection session smp speex spell spl sqlite sse sse2 ssl startup-notification svg sysfs tcpd theora threads tiff truetype udev unicode usb v4l2 vim-syntax vorbis wifi x264 xattr xcb xcomposite xml xorg xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

_________________
Any man's death diminishes me, because I am involved in mankind, and therefore never send to know for whom the bell tolls; it tolls for thee
-John Donne
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum