https://bugzilla.redhat.com/show_bug.cgi?id=1140865
Bug ID: 1140865 Summary: can't find Roman font in urw-fonts-1.10-1.fc22 Product: Fedora Version: rawhide Component: urw-fonts Assignee: than@redhat.com Reporter: m.a.young@durham.ac.uk QA Contact: extras-qa@fedoraproject.org CC: fonts-bugs@lists.fedoraproject.org, than@redhat.com
I am trying to build xen on rawhide, but when it tries to run fig2dev it fails and the build aborts. The relevant lines in the log are
/usr/bin/fig2dev -L png network-bridge.fig >network-bridge.png.tmp GPL Ghostscript 9.14: Unrecoverable error, exit code 1 Error in ghostcript command command was: gs -q -dSAFER -sDEVICE=png16m -r80 -g710x553 -sOutputFile=- -
fig2dev defaults to Roman, and the command works with the urw-fonts-2.4-19.fc21 but not with urw-fonts-1.10-1.fc22 and I think it is because it can't find the Roman font.
https://bugzilla.redhat.com/show_bug.cgi?id=1140865
--- Comment #1 from Michael Young m.a.young@durham.ac.uk --- I have investigated this further, and the issue is between ghostscript and urw-fonts. Ghostscript has the file /usr/share/ghostscript/9.14/Resource/Init/Fontmap.GS which translates well known font names (Times-Roman, Helvetica etc.) into the OS font name. Unfortunately urw-fonts has changed the name of many of these fonts so ghostscript translates such fonts into names that no longer exist.
https://bugzilla.redhat.com/show_bug.cgi?id=1140865
Jerry James loganjerry@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |loganjerry@gmail.com
--- Comment #2 from Jerry James loganjerry@gmail.com --- Is any fix for this on the horizon? I'm now hitting this problem when trying to build a new version of the remake package:
Error: /invalidfont in /findfont Operand stack: boxfont Times-Roman Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval- - 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- fa lse 1 %stopped_push 1951 1 3 %oparray_pop 1950 1 3 %oparray_ pop --nostringval-- 1934 1 3 %oparray_pop 1820 1 3 %oparray_po p --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringv al-- --nostringval-- 2 %stopped_push --nostringval-- 1903 2 3 %o parray_pop Dictionary stack: --dict:1185/1684(ro)(G)-- --dict:0/20(G)-- --dict:95/200(L)-- Current allocation mode is local Last OS error: Not a directory GPL Ghostscript 9.15: Unrecoverable error, exit code 1 epstopdf ($Id: epstopdf.pl 32701 2014-01-17 18:09:54Z karl $) 2.21 !!! Error: Writing to gs failed, error code 1 error: Problems running epstopdf. Check your TeX installation!
https://bugzilla.redhat.com/show_bug.cgi?id=1140865
Tom Yan tom.ty89@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tom.ty89@gmail.com
--- Comment #3 from Tom Yan tom.ty89@gmail.com --- (In reply to Michael Young from comment #1)
I have investigated this further, and the issue is between ghostscript and urw-fonts. Ghostscript has the file /usr/share/ghostscript/9.14/Resource/Init/Fontmap.GS which translates well known font names (Times-Roman, Helvetica etc.) into the OS font name. Unfortunately urw-fonts has changed the name of many of these fonts so ghostscript translates such fonts into names that no longer exist.
Not sure about your case or how fedora package ghostscript. However ghostscript comes with a set of equivalent pfb files in Resource/Font with their names changed to the old ones (e.g. Nimbus Roman No9 L).
Btw the maintainer seems to have plan to modify ghostscript to adapt to the new names in the future (For easier management I suppose, and Nimbus Sans Narrow is FINALLY a font family now).
https://bugzilla.redhat.com/show_bug.cgi?id=1140865
Pavel Šimerda (pavlix) psimerda@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugzilla.redhat.com | |/show_bug.cgi?id=1142817
https://bugzilla.redhat.com/show_bug.cgi?id=1140865
Pavel Šimerda (pavlix) psimerda@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1142817 See Also|https://bugzilla.redhat.com | |/show_bug.cgi?id=1142817 |
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1142817 [Bug 1142817] cyrus-imapd-2.4.17-9.fc22 FTBFS: Error: /invalidfont in /findfont
https://bugzilla.redhat.com/show_bug.cgi?id=1140865
--- Comment #4 from Jerry James loganjerry@gmail.com --- Same question as comment 1: what is the ETA for a fix for this? If help is needed, what can I do to help?
https://bugzilla.redhat.com/show_bug.cgi?id=1140865
--- Comment #5 from Ngo Than than@redhat.com --- I'm thinking about changing font's name to old name as before. It would fix the issue.
https://bugzilla.redhat.com/show_bug.cgi?id=1140865
--- Comment #6 from Tom Yan tom.ty89@gmail.com --- I'll say having this optimization held back until ghostscript adapt to the new font release is a better choice: http://pkgs.fedoraproject.org/cgit/ghostscript.git/tree/ghostscript.spec#n24...
If someone want to help, probably they should talk to upstream to see if what changes need to be made for the adaptation (other than Fontmap.GS, if any)
https://bugzilla.redhat.com/show_bug.cgi?id=1140865
--- Comment #7 from Tom Yan tom.ty89@gmail.com --- Created attachment 950298 --> https://bugzilla.redhat.com/attachment.cgi?id=950298&action=edit patched to new font names
if interested, see if this patch is enough for fixing your problem
https://bugzilla.redhat.com/show_bug.cgi?id=1140865
Tom Yan tom.ty89@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #950298|1 |0 is patch| |
https://bugzilla.redhat.com/show_bug.cgi?id=1140865
Tom Yan tom.ty89@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #950298|0 |1 is obsolete| |
--- Comment #8 from Tom Yan tom.ty89@gmail.com --- Created attachment 950300 --> https://bugzilla.redhat.com/attachment.cgi?id=950300&action=edit git diff
https://bugzilla.redhat.com/show_bug.cgi?id=1140865
--- Comment #9 from Jerry James loganjerry@gmail.com --- Same question as comment 4: when can we expect a fix for this? Multiple packages cannot be built in Rawhide due to this bug. When will they be buildable again? Today? In a week? In a month? In two months?
https://bugzilla.redhat.com/show_bug.cgi?id=1140865
Ngo Than than@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED
--- Comment #10 from Ngo Than than@redhat.com --- I'm working on it
https://bugzilla.redhat.com/show_bug.cgi?id=1140865
Ngo Than than@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Resolution|--- |DUPLICATE Last Closed| |2014-11-28 09:22:31
--- Comment #11 from Ngo Than than@redhat.com ---
*** This bug has been marked as a duplicate of bug 1160132 ***
fonts-bugs@lists.fedoraproject.org