Skip to content
This repository has been archived by the owner on Jan 7, 2020. It is now read-only.

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

Open
wspr opened this issue Oct 4, 2010 · 2 comments
Open

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

wspr opened this issue Oct 4, 2010 · 2 comments

Comments

@wspr
Copy link
Collaborator

wspr commented Oct 4, 2010

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
Copy link
Owner

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
Copy link
Owner

Will, is this still reproducible?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants