khaledhosny / luaotfload

Moved to https://github.com/latex3/luaotfload
23 stars 15 forks source link

Font can't be loaded by filename if already cached #19

Open wspr opened 14 years ago

wspr commented 14 years ago

Asana Math is already present in my texmf tree, but I'd to install a development version for testing. So:

\input luaotfload.sty
\font\1={file:/Users/will/Library/Fonts/Asana-Math.otf}
\1 x
\bye

But this is the log file: (emphasis mine)

(/Users/will/Library/texmf/tex/luatex/luaotfload/luaotfload.lua)(using cache: / Users/will/Library/texlive/2010/texmf-var/luatex-cache/generic))(load: /Users/w ill/Library/texlive/2010/texmf-var/luatex-cache/generic/fonts/otf/temp-asana-ma th.lua) [1{/usr/local/texlive/2010/texmf-var/fonts/map/pdftex/updmap/pdftex.map }] ) \ </usr/local/texlive/2010/texmf-dist/fonts/opentype/public/Asana-Math/Asana- Math.otf>** </usr/local/texlive/2010/texmf-dist/fonts/type1/public/amsfonts/cm/cmr 10.pfb>

I guess this is another case where the caching is too aggressive.

khaledhosny commented 13 years ago

I cannot reproduce this, luaotfload loads the font specified and caches it. Is your /Users/will/Library/texlive/2010/texmf-var/luatex-cache/generic/fonts/otf/ writeable?

khaledhosny commented 13 years ago

Will, is this still reproducible?