Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60097 - xpdf can't find core fonts after gs / gs fonts emerge
Summary: xpdf can't find core fonts after gs / gs fonts emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
: 61032 62335 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-08-11 16:11 UTC by Jonathan Hudson
Modified: 2004-09-29 06:11 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
updated /etc/xpdfrc (xpdfrc,1.07 KB, text/plain)
2004-08-24 01:03 UTC, Colin Macdonald
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Hudson 2004-08-11 16:11:44 UTC
~x86 ghostscript / gnu-gs-fonts-std-6.0 emerge breaks xpdf.
xpdf expects to find core fonts for t1lib in /usr/share/ghostscript/fonts (see /etc/xpdfrc). A recent and seeming unrelated emerge (ghostscript and gs-fonts are the prime suspects) moved the gs fonts to  /usr/share/fonts/default/ghostscript/.

This causes xpdf to emit messages like "Error: No display font for 'Helvetica'".

Replacing all instances in /etc/xpdfrc of /usr/share/ghostscript/fonts with/usr/share/fonts/default/ghostscript/ fixes the problem.
 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Relevant ebuilds are:

media-fonts/gnu-gs-fonts-std-6.0 
app-text/ghostscript-7.07.1-r5
app-text/xpdf-3.00-r1

This problem does not occur on my ~PPC box where 

app-text/ghostscript-7.05.6 

and the fonts are masked.
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2004-08-13 03:24:47 UTC
i'll fix xpdf soon, but the fonts shoudl be in /usr/share/fonts/ghostscript and not in /usr/share/fonts/default/ghostscript
Comment 2 Tobias Klausmann (RETIRED) gentoo-dev 2004-08-16 03:34:46 UTC
Why should they be?

My ghostscript 7.07.1-r5 has installed them in /usr/share/fonts/ghostscript. So I did the following as a preliminary fix:

# cd /usr/share/ghostscript/      
# ln -s /usr/share/fonts/ghostscript ./fonts

Is this a shortcoming of the ghostscript ebuild? If so, a bug against gs should be filed and this one could probably be closed.
Comment 3 Heinrich Wendel (RETIRED) gentoo-dev 2004-08-20 15:08:02 UTC
*** Bug 61032 has been marked as a duplicate of this bug. ***
Comment 4 jonathan 2004-08-20 20:25:52 UTC
Any progress on this? The one time I need xpdf no fonts show up. Same problems as everyone else will try the temp fix.

ghostscript : 7.07.1-r5
xpdf version: 3.00-r1

Thanks,

jonathan
Comment 5 Colin Macdonald 2004-08-24 01:03:04 UTC
Created attachment 38078 [details]
updated /etc/xpdfrc

Just replace /etc/xpdfrc with this attached one.

Also, this could be used to replace the one in app-text/xpdf/files to fix this
bug (but watch out if x86 also has the fonts moved like ~x86 does...)
Comment 6 Heinrich Wendel (RETIRED) gentoo-dev 2004-09-22 05:47:16 UTC
*** Bug 62335 has been marked as a duplicate of this bug. ***
Comment 7 Heinrich Wendel (RETIRED) gentoo-dev 2004-09-29 06:11:45 UTC
finally fixed in 3.00-r2