[Dev-luatex] Assertion with font expansion
Jonathan Sauer
Jonathan.Sauer at silverstroke.com
Wed Feb 20 10:04:34 CET 2008
Hello,
while using font expansion I get an assertion at the end of the
following
PlainTeX document:
(note that I inserted some debugging messages [the 'luaTeX warning']
into
LuaTeX (and damn, does a recompile take long!))
------------------------------------------------------------------------
--
\pdfoutput1
\pdffontexpand\tenrm 30 10 10 autoexpand\relax
\pdfadjustspacing2 % A
\tenrm
\def\ldots{...}
\hsize=10cm
Die Strassenbahn ratterte ueber eine Weiche, weshalb die beiden Maedchen
wie auch die restlichen Passagiere in der halbvollen Bahn
durchgeschuettelt wurden. ``Ansonsten~\ldots'' Ataami hob die
Schultern. ``Der Schwarzfahrer hat ja nicht ihn angegriffen oder so.''
\bye
------------------------------------------------------------------------
--
jonathansauer$ luatex Assertion-20080215.tex
This is LuaTeX, Version snapshot-0.22.0-2008021521 (Web2C 7.5.6)
(Assertion-20080215.tex
[1{/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/
updmap/pdftex.map}] )
luaTeX warning: register_fo_entry: fo->fm->tfm_name: cmr10
luaTeX warning: register_fo_entry: fo->fm->tfm_name: cmr10
../../../../src/texk/web2c/luatexdir/font/writefont.c:378: failed
assertion
`lookup_fo_entry(fo->fm->tfm_name) == NULL'
Abort trap
------------------------------------------------------------------------
--
So for some reason, cmr10 is registered twice.
If I disable font expansion by setting \pdfadjustspacing to 0 in line A,
I
get the following:
------------------------------------------------------------------------
--
jonathansauer$ luatex Assertion-20080215.tex
This is LuaTeX, Version snapshot-0.22.0-2008021521 (Web2C 7.5.6)
(Assertion-20080215.tex
[1{/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/
updmap/pdftex.map}] )
luaTeX warning: register_fo_entry: fo->fm->tfm_name: cmr10
</usr/local/teTeX/share/texmf.tetex/fonts/type1/bluesky/cm/cmr10.pfb>
Output written on Assertion-20080215.pdf (1 page, 10546 bytes).
Transcript written on Assertion-20080215.log.
------------------------------------------------------------------------
--
Now cmr10 is only registered once, as it most likely should be.
Jonathan
More information about the dev-luatex
mailing list