Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 256088 - media-fonts/gnu-gs-fonts-std-8.11: URW++ fonts overlap media-fonts/urw-fonts
Summary: media-fonts/gnu-gs-fonts-std-8.11: URW++ fonts overlap media-fonts/urw-fonts
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on: 247657 311923
Blocks:
  Show dependency tree
 
Reported: 2009-01-23 13:28 UTC by Martin Mokrejš
Modified: 2012-01-15 22:26 UTC (History)
5 users (show)

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


Attachments
a random file from arxiv.org (0803.2589.ps.gz,132.56 KB, application/octet-stream)
2010-04-11 09:04 UTC, Andrey Grozin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2009-01-23 13:28:18 UTC
ghostscript installs fonts from the media-fonts/urw-fonts-2.4.6. I think it might be easier to leave ghostscript to install the whole font bundle and just block media-fonts/urw-fonts. But, probably cleaner approach would be to depend on media-fonts/urw-fonts and fix the font paths for ghostscript.

# cd /usr/share/fonts/urw-fonts
# for f in *.pfb; do ls /usr/share/fonts/default/ghostscript/$f; done
/usr/share/fonts/default/ghostscript/a010013l.pfb
/usr/share/fonts/default/ghostscript/a010015l.pfb
/usr/share/fonts/default/ghostscript/a010033l.pfb
/usr/share/fonts/default/ghostscript/a010035l.pfb
/usr/share/fonts/default/ghostscript/b018012l.pfb
/usr/share/fonts/default/ghostscript/b018015l.pfb
/usr/share/fonts/default/ghostscript/b018032l.pfb
/usr/share/fonts/default/ghostscript/b018035l.pfb
/usr/share/fonts/default/ghostscript/c059013l.pfb
/usr/share/fonts/default/ghostscript/c059016l.pfb
/usr/share/fonts/default/ghostscript/c059033l.pfb
/usr/share/fonts/default/ghostscript/c059036l.pfb
/usr/share/fonts/default/ghostscript/d050000l.pfb
/usr/share/fonts/default/ghostscript/n019003l.pfb
/usr/share/fonts/default/ghostscript/n019004l.pfb
/usr/share/fonts/default/ghostscript/n019023l.pfb
/usr/share/fonts/default/ghostscript/n019024l.pfb
/usr/share/fonts/default/ghostscript/n019043l.pfb
/usr/share/fonts/default/ghostscript/n019044l.pfb
/usr/share/fonts/default/ghostscript/n019063l.pfb
/usr/share/fonts/default/ghostscript/n019064l.pfb
/usr/share/fonts/default/ghostscript/n021003l.pfb
/usr/share/fonts/default/ghostscript/n021004l.pfb
/usr/share/fonts/default/ghostscript/n021023l.pfb
/usr/share/fonts/default/ghostscript/n021024l.pfb
/usr/share/fonts/default/ghostscript/n022003l.pfb
/usr/share/fonts/default/ghostscript/n022004l.pfb
/usr/share/fonts/default/ghostscript/n022023l.pfb
/usr/share/fonts/default/ghostscript/n022024l.pfb
/usr/share/fonts/default/ghostscript/p052003l.pfb
/usr/share/fonts/default/ghostscript/p052004l.pfb
/usr/share/fonts/default/ghostscript/p052023l.pfb
/usr/share/fonts/default/ghostscript/p052024l.pfb
/usr/share/fonts/default/ghostscript/s050000l.pfb
/usr/share/fonts/default/ghostscript/z003034l.pfb
#

So no extra fonts are provided by urw-fonts package.

See also bugs #256087, #256084 and #256086.
Comment 1 Carl Michal 2009-08-27 23:16:10 UTC
A couple of the fonts in gnu-gs-fonts-std-8.11 are defective and cause problems in pdf viewers based on poppler, see bug #276588.

The urw-fonts are the better choice.
Comment 2 Dror Levin (RETIRED) gentoo-dev 2010-03-26 12:47:48 UTC
The newest revision of ghostscript-gpl depends on urw-fonts instead of gnu-gs-fonts-std and installs the symlink it needs, so we just need everything to go stable and we can close this bug.
Comment 3 Martin Mokrejš 2010-04-01 12:18:25 UTC
I just had a look into the README associated with gnu-gs-fonts-std and see:

<quote>
This is release 1.0.7pre22 of Valek Filippov's improved versions of the URW
type 1 font collection, repackaged for distribution with Ghostscript.

Cyrillized free URW fonts.

These fonts were made from the free URW fonts distributed with ghostcript.
There are NO changes in the latin part of them (I hope).
Cyrillic glyphs were added by copying suitable latin ones
and painting outlines of unique cyrillic glyphs in same style as the others.
For all modification pfaedit was used.
</quote>

If the goal is to drop media-fonts/gnu-gs-fonts-std package and keep only URW++ fonts whether the improvements to cyrillic will be lost. Personally, I don't care about cyrillic. Just a note from me.
Comment 4 Dror Levin (RETIRED) gentoo-dev 2010-04-01 13:02:42 UTC
The same note is in the README file in the urw-fonts packages, I guess it was added in some later version (urw-fonts is version 1.0.7pre44), so no improvements to Cyrillic are lost.
Comment 5 Andrey Grozin gentoo-dev 2010-04-10 16:47:19 UTC
After upgrading ghostscript-gpl to 8.71-r3 with urw-fonts instead of gnu-gs-fonts-std, I no longer can view any PostScript files with gs! (actually, I use gv, but this does not matter). I always get errors like

GPL Ghostscript 8.71 (2010-02-10)
Copyright (C) 2010 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Can't find (or can't open) font file /usr/share/ghostscript/8.71/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.71/Resource/Font/NimbusRomNo9L-Regu.
Can't find (or can't open) font file NimbusRomNo9L-Regu.


Another related problem: emerging, e.g., sci-mathematics/ginac fails. From the log:

Running /usr/bin/fig2dev -L png classhierarchy.fig classhierarchy.png...
Error: /invalidfont in /findfont
Operand stack:
   --nostringval--   Courier-Bold
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %s
topped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_p
ush   1862   1   3   %oparray_pop   1861   1   3   %oparray_pop   --nostringval--   1845
 1   3   %oparray_pop   1739   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .
runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nos
tringval--   1820   2   4   %oparray_pop
Dictionary stack:
   --dict:1158/1684(ro)(G)--   --dict:0/20(G)--   --dict:105/200(L)--   --dict:35/200(L)--
Current allocation mode is local
Last OS error: 2
GPL Ghostscript 8.71: Unrecoverable error, exit code 1
Error in ghostcript command
command was: gs -q -dSAFER -sDEVICE=png16m -r80 -g533x294 -sOutputFile=classhierarchy.png
Comment 6 Dror Levin (RETIRED) gentoo-dev 2010-04-10 17:38:22 UTC
(In reply to comment #5)
> After upgrading ghostscript-gpl to 8.71-r3 with urw-fonts instead of
> gnu-gs-fonts-std, I no longer can view any PostScript files with gs! (actually,
> I use gv, but this does not matter). I always get errors like
> [snip]

Please see bug 311923, try some workarounds proposed there and if nothing works please attach a testcase. Thanks.
Comment 7 Andrey Grozin gentoo-dev 2010-04-11 09:04:43 UTC
Created attachment 227353 [details]
a random file from arxiv.org

Any file from arxiv.org (the main source of information for physicists).

Another reproducible example: I cannot emerge ginac with USE=doc.

It seems that after the recent upgrade ghostscript-gpl has become useless :-(
Comment 8 orionbelt2 2010-06-09 14:12:11 UTC
xfig fails to install as of a couple of days ago, and i believe the subject of this bug report is the reason:

# emerge -a xfig

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] media-fonts/urw-fonts-2.4.9  USE="X"
[ebuild  N    ] media-gfx/xfig-3.2.5b
[blocks B     ] media-fonts/gnu-gs-fonts-std ("media-fonts/gnu-gs-fonts-std" is blocking media-fonts/urw-fonts-2.4.9)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  ('ebuild', '/', 'media-fonts/urw-fonts-2.4.9', 'merge') pulled in by
    media-fonts/urw-fonts required by ('ebuild', '/', 'media-gfx/xfig-3.2.5b', 'merge')

  ('installed', '/', 'media-fonts/gnu-gs-fonts-std-8.11', 'nomerge') pulled in by
    media-fonts/gnu-gs-fonts-std required by ('installed', '/', 'app-text/ghostscript-gpl-8.71-r1', 'nomerge')
Comment 9 orionbelt2 2010-06-15 11:22:41 UTC
I do not know what has changed, but "emerge xfig" now works.
Comment 10 Andreas K. Hüttel archtester gentoo-dev 2012-01-15 22:26:36 UTC
Well... a blocker between the packages is in place, and Ghostscript is one major version further. Time to resolve this.