Closed emojifreak closed 5 years ago
Fixed in master. However this only fixes loading the first cont in the collection, for proper fix see https://github.com/u-fischer/luaotfload/issues/66.
Loading TTC fonts should always work with 0.4.0, even without the luaotfload fix mentioned above.
Thanks. I could use Cambria Math having index 2 (in luaotfload-tool) as below.
\documentclass{minimal}
\usepackage{unicode-math}
\setmathfont{Cambria Math}
\setmainfont{Cambria}
\begin{document}
aaa $aaa$
\end{document}
Great, thanks for confirming.
When
harflatex
(This is HarfTeX, Version 0.3.0 (TeX Live 2020/dev)) processes the following file:harflatex
produces the following error and does not give a PDF file:Cambria is a ttc font bundled with MS Windows 10 (and earlier Windows). As far as I see, any ttc font produces the same error as above.
Both
This is LuaTeX, Version 1.10.0 (TeX Live 2019)
andThis is LuaHBTeX, Version 1.11.1 (TeX Live 2020/dev)
can correctly handle the above LaTeX file.