[luatex] Combining diacritics in some fonts: "(linebreak): invalid list tail, probably missing glue"
Nikola Lečić
nikola.lecic at anthesphoria.net
Wed May 10 14:33:57 CEST 2017
On Wed, 10 May 2017 12:48:37 +0200
Ulrike Fischer <luatex at nililand.de> wrote:
> Am Wed, 10 May 2017 01:51:15 +0300 schrieb Nikola Lečić:
>
> > Hi,
> >
> > If you compile this document twice
> >
> > \documentclass{article}
> > \usepackage{polyglossia}
> > \setmainlanguage{serbian}
> > \setmainfont{Old Standard}
> > \begin{document}
> > ко\char"0302 д
> > \end{document}
> >
> > you should get
> >
> > ! error: (linebreak): invalid list tail, probably missing glue
> > ! ==> Fatal error occurred, no output PDF file produced!
> >
> > It happens only with some fonts, not with others.
>
> I have reduced it to this plain tex example
>
> \catcode`\@=11
> \input switch.def
> \input babel.def
> \input luaotfload.sty
>
> \bbl at patterns@lua{serbian}
> \righthyphenmin=3
> \catcode`\@=12
>
> %\font\test={OldStandard:mode=node;script=cyrl.SRB;language=DFLT;+tlig;}
> %works
> \font\test={OldStandard:mode=node;script=latn;language=DFLT;+tlig;}
> %fail
>
> \test
>
> oo^^^^0302xx
>
> \bye
>
> The chars are all ascii, no cyrillic involved.
>
> I have also reduced the pattern: One can remove almost everything
> from (local copies ...) of hyph-sh-latn.tex and hyph-sh-cyrl.tex. It
> breaks if this pattern remains:
>
> \patterns{
> 2o1
> }
Just for the record, the same will happen with any diacritic sign that
can appear in Serbian (\char"0300, \char"0301, \char"\0302, \char"030F,
\char"0304, \char"0306) if they appear in the middle of a hyphen-able
word.
--
Nikola Lečić = Никола Лечић
fingerprint : FEF3 66AF C90E EDC3 D878 7CDC 956D F4AB A377 1C9B
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 331 bytes
Desc: OpenPGP digital signature
URL: <http://tug.org/pipermail/luatex/attachments/20170510/1ece1390/attachment.sig>
More information about the luatex
mailing list