summaryrefslogtreecommitdiff
path: root/luaotfload-fonts.lua
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2010-05-11 14:20:37 +0300
committerKhaled Hosny <khaledhosny@eglug.org>2010-05-11 14:20:37 +0300
commit6c669a52cf5503bac7e507ccfb0ca04d0ddf3378 (patch)
tree9d3b2339453494607e2b3f451036e66c3958d8e7 /luaotfload-fonts.lua
parentee90fe0345edd9aef912bec57f952974d7c578b3 (diff)
downloadluaotfload-6c669a52cf5503bac7e507ccfb0ca04d0ddf3378.tar.gz
Make sure the font exists on the disk
Sometimes the database is outdated in the font no longer exits in the saved path, now we make sure the file exists before returning path to luatex. This way the user gets the good old "font not loadable" error, instead of mysterious backend error and program exit. Later we may try to update the database at this point.
Diffstat (limited to 'luaotfload-fonts.lua')
0 files changed, 0 insertions, 0 deletions