[lltx] Problems with fontspec and ligatures

Philipp Gesang Philipp.Gesang at alumni.uni-heidelberg.de
Wed May 15 11:46:34 CEST 2013


···<Datum: Wednesday, 15. May 2013>···<Von: Ulrike Fischer>···

> I downloaded today a new luaotfload from the link mentioned in issue
> 72 as I had this problem too:
> https://github.com/lualatex/luaotfload/issues/72
> 
> Now if I run this document in a texlive 2013 pretest updated today:
> 
> \documentclass{book}
> \usepackage{fontspec}
> \usepackage{ifluatex}
> \begin{document}
> \fontspec[Ligatures=NoCommon]{Latin Modern Roman}
> off fit fly office baffle
> 
> \ifluatex
> \font\test="file:lmroman10-regular.otf:mode=node;script=latn;language=DFLT;+liga;"
> \test off fit fly office baffle
> 
> \font\test="file:lmroman10-regular.otf:mode=node;script=latn;language=DFLT;-liga;"
> \test off fit fly office baffle
> 
> \font\test="file:lmroman10-regular.otf:mode=node;-liga;"
> \test off fit fly office baffle
> \fi
> \end{document}
> 
> I get
> 
> Font LatinModernRoman does not contain any OpenType `Script'
> information.
> ...............................................
> 
> fontspec warning: "icu-feature-not-exist-in-font"
> * 
> * OpenType
> feature 'Ligatures=NoCommon' (-liga) not available for font
> *
> 'LatinModernRoman' with script '' and language ''.
> 
> 
> And the ligatures are not disabled (NoCommon doesn't work).
> 
> With xelatex there is no problem. 
> 
> Also calling the fonts with the low-level commands works as
> expected. So imho it is a fontspec problem ;-).

Indeed. But we have fallbacks, one of which was disabled because
of an unrelated issue. Can you test this file and report back:

    https://raw.github.com/phi-gamma/luaotfload/master/luaotfload-auxiliary.lua

Thank you
Philipp

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://tug.org/pipermail/lualatex-dev/attachments/20130515/8b461584/attachment.bin>


More information about the lualatex-dev mailing list