DevHeads.net

ghostscript not using tex fonts?

Hi,

I am trying to understand a build failure on rawhide [1]. The build is
failing during the conversion of a (LaTeX generated) ps file to a pdf
file using ps2pdf:

ps2pdf ufc-user-manual.ps ufc-user-manual.pdf
Error: /invalidfont in /findfont
Operand stack:
BitstreamVeraSans-Roman-ISOLatin1 BitstreamVeraSans-Roman
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval--
--nostringval-- 2 %stopped_push --nostringval--
--nostringval-- --nostringval-- false 1 %stopped_push 1894
1 3 %oparray_pop 1893 1 3 %oparray_pop 1877 1 3
%oparray_pop 1771 1 3 %oparray_pop --nostringval--
%errorexec_pop .runexec2 --nostringval-- --nostringval--
--nostringval-- 2 %stopped_push --nostringval--
--nostringval-- 1852 2 6 %oparray_pop
Dictionary stack:
--dict:1165/1684(ro)(G)-- --dict:1/20(G)-- --dict:82/200(L)--
--dict:5/6(ro)(L)-- --dict:219/300(L)-- --dict:63/200(L)--
Current allocation mode is local
Last OS error: No such file or directory
Current file position is 966165
GPL Ghostscript 9.06: Unrecoverable error, exit code 1
GPL Ghostscript 9.06: ERROR: A pdfmark destination page 58 points
beyond the last page 57.
make: *** [final] Error 1

I can't fathom whether this is a ghostscript bug or not? Should
ghostscript not be finding the relevant TeX fonts?

Cheers,
Jonathan

[1] <a href="http://koji.fedoraproject.org/koji/getfile?taskID=4899913&amp;name=build.log" title="http://koji.fedoraproject.org/koji/getfile?taskID=4899913&amp;name=build.log">http://koji.fedoraproject.org/koji/getfile?taskID=4899913&amp;name=build.log</a>

Comments

Re: ghostscript not using tex fonts?

By Jerry James at 01/25/2013 - 11:24

On Fri, Jan 25, 2013 at 7:42 AM, Jonathan Underwood
<jonathan. ... at gmail dot com> wrote:
Can ghostscript read any of the font formats provided by TeX?

In any case, adding a BR on bitstream-vera-sans-fonts leads to a good
build in mock.

Re: ghostscript not using tex fonts?

By Jonathan Underwood at 01/25/2013 - 11:46

On 25 January 2013 15:24, Jerry James < ... at gmail dot com> wrote:
No idea... I just know that previous to F18, it wasn't necessary to
install fonts to build these docs. I'll look into it some more.

Useful info, thanks a lot.

J.

Re: ghostscript not using tex fonts?

By Richard Shaw at 01/25/2013 - 11:04

On Fri, Jan 25, 2013 at 8:42 AM, Jonathan Underwood
<jonathan. ... at gmail dot com> wrote:
You probably need to BR: the new texlive package with the font(s) you
need. I remember reading a list message earlier today that as of F18
the texlive font packages were broken up into individual font
packages, or something like that.

Compare the output of:
# repoquery --releasever=16 texlive*
vs.
# repoquery --releasever=18 texlive*

Richard

Re: ghostscript not using tex fonts?

By Jonathan Underwood at 01/25/2013 - 12:00

On 25 January 2013 15:04, Richard Shaw < ... at gmail dot com> wrote:
Aha, thanks. Yeah. Having a BR for texlive-collection-fontsextra fixed
the build (but is probably too big of a hammer).