[Dev-luatex] Strange clipped text and overfull hboxes

Arthur Reutenauer arthur.reutenauer at normalesup.org
Fri Aug 10 02:15:41 CEST 2007


	Hello,

> If the number of visible files in the directory the luatex.fmt file is
> stored in is equal to six or lower, some strange overfull boxes
> are reported by LuaTeX, and the text is typeset as described above.

  I tried to reproduce the phenomenon and had the following results
(with TeX Live 2007 on Mac OS X Intel):

  • With the LuaTeX beta version and a standard configuration I get
    extremely weird output in the vein of what Jonathan observed (see
    FontExpandTest-beta.{log,pdf}).

  • I then tried to change the number of files in the directory where
    the format file lies like Jonathan did but could see no change.  In
    the process, though, I noticed that setting TEXFORMATS makes some of
    the problems disappear (FontExpandTest-current.{log,pdf}).

  • Then (actually in the first place) I made the same experiments with
    the current SVN trunk revision and the very weird problem of the
    first paragraph didn't show up anymore: setting TEXFORMATS or not made
    no difference and whatever I tried I got the output shown in
    FontExpand-current.pdf.  I didn't try very hard Jonathan's trick
    of changing the number of files in the directory where the format
    file is found, but it seems to me that it doesn't make any
    difference with my configuration.

  So, although the problems aren't all solved yet, it seems that some of
them have already disappeared in the latest revision; and even if I
couldn't reproduce the exact same behaviour as Jonathan reported, I'm
pretty confident that the problem with the six or seven files in the
web2c directory amounts to the same as the one I had with setting TEXFORMATS
(after all it's all about kpathsea search for the format file); and
subsequently, I'm strongly inclined to think that this weirdest of all
bugs has been fixed in the current SVN revision.

  I'm also attaching the TeX file I used for all my experiments; it's
only the extract from Jonathan's original e-mail but I put it here for
self-containedness.

	Arthur
-------------- next part --------------
This is luaTeX, Version 3.141592-beta-0.10.1-2007072303 (Web2C 7.5.6) (format=luatex 2007.8.10)  10 AUG 2007 00:03
**FontExpandTest
(FontExpandTest.tex
pdfTeX warning (font expansion): font should be expanded before its first use

pdfTeX warning (font expansion): font should be expanded before its first use

Overfull \hbox (71.97554pt too wide) in paragraph at lines 27--33
\tentt (-10) Just a test. Noth-ing more than a test. Just a test. Noth-|

\hbox(6.94444+1.94444)x469.75499, glue set - 1.0, direction TLT
.\tentt (-10) J
.\tentt (-10) u
.\tentt (-10) s
.\tentt (-10) t
.\glue 3.33333 plus 1.66666 minus 1.11111
.etc.


Overfull \hbox (71.97554pt too wide) in paragraph at lines 27--33
\tentt (-10) Just a test. Noth-ing more than a test. Just a test. Noth-|

\hbox(6.94444+1.94444)x469.75499, glue set - 1.0, direction TLT
.\tentt (-10) J
.\tentt (-10) u
.\tentt (-10) s
.\tentt (-10) t
.\glue 3.33333 plus 1.66666 minus 1.11111
.etc.


Overfull \hbox (71.97554pt too wide) in paragraph at lines 35--39
\tenrm Just a test. Noth-ing more than a test. Just a test. Noth-|

\hbox(6.94444+1.94444)x469.75499, glue set - 1.0, direction TLT
.\tenrm J
.\tenrm u
.\tenrm s
.\tenrm t
.\glue 3.33333 plus 1.66666 minus 1.11111
.etc.


Overfull \hbox (71.97554pt too wide) in paragraph at lines 35--39
\tenrm Just a test. Noth-ing more than a test. Just a test. Noth-|

\hbox(6.94444+1.94444)x469.75499, glue set - 1.0, direction TLT
.\tenrm J
.\tenrm u
.\tenrm s
.\tenrm t
.\glue 3.33333 plus 1.66666 minus 1.11111
.etc.

[1{/Users/arthur/TeX/luatex/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] )</U
sers/arthur/TeX/luatex/texmf-dist/fonts/type1/bluesky/cm/cmr10.pfb></Users/arth
ur/TeX/luatex/texmf-dist/fonts/type1/bluesky/cm/cmtt10.pfb>
Output written on FontExpandTest.pdf (1 page, 20353 bytes).
PDF statistics:
 14 PDF objects out of 1000 (max. 8388607)
 0 named destinations out of 1000 (max. 131072)
 4097 words of extra memory for PDF output out of 10000 (max. 10000000)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: FontExpandTest-beta.pdf
Type: application/pdf
Size: 20353 bytes
Desc: not available
Url : http://www.ntg.nl/mailman/private/dev-luatex/attachments/20070810/f329e6f5/attachment-0002.pdf 
-------------- next part --------------
This is luaTeX, Version 3.141592-beta-0.10.1-2007080912 (Web2C 7.5.6) (format=luatex 2007.8.10)  10 AUG 2007 00:06
**FontExpandTest.tex
(FontExpandTest.tex
pdfTeX warning (font expansion): font should be expanded before its first use

pdfTeX warning (font expansion): font should be expanded before its first use
[1{/Users/arthur/TeX/luatex/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] )</U
sers/arthur/TeX/luatex/texmf-dist/fonts/type1/bluesky/cm/cmr10.pfb></Users/arth
ur/TeX/luatex/texmf-dist/fonts/type1/bluesky/cm/cmtt10.pfb>
Output written on FontExpandTest.pdf (1 page, 20094 bytes).
PDF statistics:
 14 PDF objects out of 1000 (max. 8388607)
 0 named destinations out of 1000 (max. 131072)
 4097 words of extra memory for PDF output out of 10000 (max. 10000000)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: FontExpandTest-current.pdf
Type: application/pdf
Size: 20094 bytes
Desc: not available
Url : http://www.ntg.nl/mailman/private/dev-luatex/attachments/20070810/f329e6f5/attachment-0003.pdf 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FontExpandTest.tex
Type: text/x-tex
Size: 2127 bytes
Desc: not available
Url : http://www.ntg.nl/mailman/private/dev-luatex/attachments/20070810/f329e6f5/attachment-0001.bin 


More information about the dev-luatex mailing list