[NTG-pdftex] [ pdftex-Bugs-103 ] pdftex crashes when including a file featuring auto expansion

noreply at sarovar.org noreply at sarovar.org
Fri Aug 27 15:53:54 CEST 2004


Bugs item #103, was opened at 2004-08-26 22:56
You can respond by visiting: 
http://sarovar.org/tracker/?func=detail&atid=493&aid=103&group_id=106

Category: PDF inclusion
Group: v1.20a
Status: Closed
Resolution: Works For Me
Priority: 5
Submitted By: Nobody (None)
Assigned to: Martin Schröder (oneiros)
Summary: pdftex crashes when including a file featuring auto expansion

Initial Comment:
When including a pdf file that contains fonts created
with the autoexpand feature, pdftex will crash on the
including file. 

This does not happen if the expanded fonts are
available. Neither does it occur with the base 35 fonts
(well, I've only tested ptmr8r and phvr8r). 

Test case below.

Regards,
Robert.


plain tex file to be included (let's call it include.tex):
--------------------------------------------
\font\testfont=cmr10\testfont 
\pdfadjustspacing2
\pdffontexpand\font 20 20 5 autoexpand
\hsize=15em

Some characters that pretend to make up words
which pretend to make sense.
\bye
--------------------------------------------


latex file on which pdftex crashes:
--------------------------------------------
\documentclass{minimal}
\usepackage{graphics}
\begin{document}
\tracingall
\includegraphics{include.pdf}
\end{document}
--------------------------------------------


last lines of the online log (no log file created):
--------------------------------------------
Completed box being shipped out [1]
\vbox(578.15999+0.0)x469.75499
.\glue 0.0
.\vbox(578.15999+0.0)x469.75499
..\vbox(0.0+0.0)x469.75499
...\glue 0.0 plus 1.0fil
...\hbox(0.0+0.0)x469.75499
..\glue 0.0
..\glue(\lineskip) 0.0
..\vbox(578.15999+0.0)x469.75499
...\glue(\topskip) 0.0
...\hbox(845.04504+0.0)x469.75499
....\hbox(0.0+0.0)x20.0
....\hbox(845.04504+0.0)x597.50682
.....\hbox(845.0471+0.0)x597.50829
......\hbox(845.0471+0.0)x597.50829
.......\pdfliteral{ q 1 0 0 1 0 0 cm}
.......\hbox(845.0471+0.0)x0.0, glue set - 597.50829fil
........\hbox(845.0471+0.0)x597.50829
.........\pdfrefximage(845.0471+0.0)x597.50829
........\glue 0.0 plus 1.0fil minus 1.0fil
.......\pdfliteral{ Q}
....\penalty 10000
....\glue(\parfillskip) 0.0 plus 1.0fil
....\glue(\rightskip) 0.0
...\glue 0.0
..\glue(\baselineskip) 0.0
..\hbox(0.0+0.0)x469.75499

 <test-include.pdf{psfonts.map}
--------------------------------------------


----------------------------------------------------------------------

Comment By: Nobody (None)
Date: 2004-08-27 19:23

Message:
Logged In: NO 

Just wanted to confirm that this is solved in MiKTeX's
latest release from today (1.20a-rc7.2-2.1).

Sorry for the traffic,
Robert.


(With "expanded fonts are available" I meant that the fonts
cmr10+10 etc. exist.)


----------------------------------------------------------------------

Comment By: Martin Schröder (oneiros)
Date: 2004-08-27 13:18

Message:
Logged In: YES 
user_id=421

This does not crash with the latest teTeX and HEAD pdfTeX.
You mention that this does not crash if the expanded fonts
are available, but your example uses cm, which obviously
_is_ available. And the example works even with an empty map
file.

This is a MikTeX problem or a bug fixed just recently.

----------------------------------------------------------------------

Comment By: Nobody (None)
Date: 2004-08-26 23:00

Message:
Logged In: NO 

Sorry, forgot to mention my system:

This is pdfeTeX, Version 3.141592-1.20a-rc7.1-2.1 (MiKTeX 2.4)
output format initialized to PDF
entering extended mode
(bugs.tex
LaTeX2e <2003/12/01>


 *File List*
 minimal.cls    2001/05/25 Standard LaTeX minimal class
graphics.sty    2001/07/07 v1.0n Standard LaTeX Graphics
(DPC,SPQR)
    trig.sty    1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg    2003/03/12 v1.1 MiKTeX 'graphics' configuration
  pdftex.def    2002/06/19 v0.03k graphics/color for pdftex
supp-pdf.tex


----------------------------------------------------------------------

You can respond by visiting: 
http://sarovar.org/tracker/?func=detail&atid=493&aid=103&group_id=106


More information about the ntg-pdftex mailing list