Bug#672742: /usr/bin/xetex: xetex fails to compile documents with defaultfontfeatures set
Package: texlive-binaries
Version: 2011.20120510-1
Severity: important
File: /usr/bin/xetex
Dear Maintainer,
After recent update of texlive, xetex fails to compile all my documents.
I've tracked the problem to the following minimal example:
---- 8< ---- (xetex-bug.tex)
\documentclass[12pt]{article}
\usepackage{polyglossia}
\setdefaultlanguage{russian}
% NOTE: without defaultfontfeatures it works
\defaultfontfeatures{Scale=MatchLowercase}
\setmainfont{Linux Libertine O}
%\setsansfont{Linux Biolinum O}
%\setmonofont[HyphenChar=None]{DejaVu Sans Mono}
\begin{document}
Привет Мир!
\end{document}
---- 8< ----
on which xelatex fails this way:
$ xelatex xetex-bug.tex
This is XeTeX, Version 3.1415926-2.3-0.9998 (TeX Live 2012/dev/Debian)
restricted \write18 enabled.
entering extended mode
(./xetex-bug.tex
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for english, dumylang, nohyphenation, et
hiopic, farsi, arabic, pinyin, croatian, bulgarian, ukrainian, russian, slovak,
czech, danish, dutch, usenglishmax, ukenglish, finnish, french, basque, ngerma
n, ngerman-x-2011-07-01, german, swissgerman, german-x-2011-07-01, monogreek, g
reek, ibycus, ancientgreek, hungarian, bengali, tamil, hindi, telugu, gujarati,
sanskrit, malayalam, kannada, assamese, marathi, oriya, panjabi, italian, lati
n, latvian, lithuanian, mongolian, mongolianlmc, nynorsk, bokmal, indonesian, e
speranto, lao, coptic, welsh, irish, interlingua, serbian, slovenian, serbianc,
romansh, estonian, romanian, armenian, uppersorbian, turkish, afrikaans, icela
ndic, kurmanji, friulan, polish, portuguese, galician, catalan, spanish, swedis
h, loaded.
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size12.clo))
(/usr/share/texlive/texmf-dist/tex/xelatex/polyglossia/polyglossia.sty
...
(/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec.cfg))))
(/usr/share/texlive/texmf-dist/tex/xelatex/polyglossia/gloss-russian.ldf
(/usr/share/texlive/texmf-dist/tex/xelatex/polyglossia/babelsh.def))
(./xetex-bug.aux) (/usr/share/texmf/tex/latex/tipa/t3cmr.fd)
! TeX capacity exceeded, sorry [input stack size=5000].
\tl_if_empty_return:o ...o_str:n \exp_after:wN {#1
}\q_nil \prg_return_true: ...
l.16 \end{document}
No pages of output.
Transcript written on xetex-bug.log.
NOTE that with \defaultfontfeatures commented out it works.
I've searched the web a bit, and it seems the bug, at least a very
similiar one, was already reported upstream in 2010:
http://tug.org/pipermail/tex-live/2010-October/027549.html
http://tug.org/pipermail/tex-live/2010-October/027582.html
It used to work with TeXLive 2009 in testing.
Thanks beforehand,
Kirill
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 3.4.0-rc5-netmini+ (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages texlive-binaries depends on:
ii dpkg 1.16.3
ii ed 1.6-1
ii install-info 4.13a.dfsg.1-10
ii libc6 2.13-32
ii libfontconfig1 2.9.0-3
ii libfreetype6 2.4.9-1
ii libgcc1 1:4.7.0-7
ii libgraphite3 1:2.3.1-0.2
ii libkpathsea6 2011.20120410-1
ii libpng12-0 1.2.49-1
ii libpoppler13 0.16.7-3
ii libptexenc1 2011.20120410-1
ii libstdc++6 4.7.0-7
ii libx11-6 2:1.4.99.901-2
ii libxaw7 2:1.0.10-2
ii libxmu6 2:1.1.1-1
ii libxpm4 1:3.5.10-1
ii libxt6 1:1.1.3-1
ii perl 5.14.2-9
ii tex-common 3.10
ii texlive-common 2011.20120509-1
ii zlib1g 1:1.2.6.dfsg-2
Versions of packages texlive-binaries recommends:
ii luatex 0.70.1-3
ii python 2.7.2-10
ii ruby 4.8
ii ruby1.8 [ruby] 1.8.7.352-2
ii texlive-base 2011.20120509-1
ii tk8.4 [wish] 8.4.19-4
ii tk8.5 [wish] 8.5.11-1
texlive-binaries suggests no packages.
-- debconf-show failed
Reply to: