[luatex] [unimath] some bits of opentype math testing
ulrik.vieth at arcor.de
Mon Jul 26 00:10:44 CEST 2010
On 07/25/2010 10:39 PM, Khaled Hosny wrote:
> This is a kpathsea issue (TTC and TTF fonts are looked for in $TTFONTS
> not $OPENTYPEFONTS and thus the font names database generation code will
> not see cambria.ttc in the first case (you can check with kpsewhich).
So maybe this a TeXLive documentation issue: Where should users put
their OpenType fonts if they are in .ttf/.ttc format and not .otf?
>> - If euler.otf is installed in texmf-local/fonts/opentype,
>> Context fails to find the font, whereas luaotfload does find it.
> ConTeXt doesn't use kpathsea, luaotfload does.
> To check if ConTeXt can find a file try `luatools --find`.
I've checked it, but "luatoots --find-file euler.otf" doesn't find it.
It does find xits-math.otf and asana-math.otf in the texmf-dist tree,
but it doesn't find cambria.ttc and euler.otf in the texmf-local tree.
Nevertheless, context could use cambria.ttc but couldn't find euler.otf.
As I've checked, euler.otf is also listed in the luatex-cache files
of my texmf-local tree.
$ luatools --find-file euler.otf
LuaTools | fileio: loading 'files' for '/opt/texlive/texmf-local' from
$ grep euler.otf
$ grep -2 euler.otf
Something strange seems to be going on here!
>> Font loading issues (XeLaTeX):
> This is a known XeTeX bug (engine bug, no matter which of the two files
> fontspec will load).
Yes, I've also seen this bug before. Maybe it would be better
not to ship two different versions of the same font in TeXLive.
More information about the luatex