[lltx] Problems with fontspec and ligatures
Ulrike Fischer
news3 at nililand.de
Wed May 15 11:16:45 CEST 2013
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 ;-).
--
Ulrike Fischer
http://www.troubleshooting-tex.de/
More information about the lualatex-dev
mailing list