summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElie Roux <elie.roux@telecom-bretagne.eu>2009-09-07 18:46:04 +0300
committerElie Roux <elie.roux@telecom-bretagne.eu>2009-09-07 18:46:04 +0300
commit2c62fc4c7df9005e289d59d51d7f7ee5f143b757 (patch)
tree5820fa255b441e03dcb31d40de03f393682968ff
parent3764ba4050304659ce657c42e8b9830d69c68dc3 (diff)
downloadluaotfload-2c62fc4c7df9005e289d59d51d7f7ee5f143b757.tar.gz
fixing another bug for ofm fonts
-rw-r--r--luaotfload.dtx4
1 files changed, 3 insertions, 1 deletions
diff --git a/luaotfload.dtx b/luaotfload.dtx
index ead8955..5d9d12d 100644
--- a/luaotfload.dtx
+++ b/luaotfload.dtx
@@ -428,13 +428,15 @@ function luaotfload.register_callbacks()
callback.add('pre_linebreak_filter', nodes.simple_font_handler, 'luaotfload.pre_linebreak_filter')
callback.add('hpack_filter', nodes.simple_font_handler, 'luaotfload.hpack_filter')
callback.reset('define_font')
- callback.add('define_font' , fonts.define.read, 'luaotfload.define_font', 1)
+ callback.add('define_font', fonts.define.read, 'luaotfload.define_font', 1)
+ callback.add('find_vf_file', fonts.vf.find, 'luaotfload.find_vf_file')
end
function luaotfload.unregister_callbacks()
callback.remove('pre_linebreak_filter', 'luaotfload.pre_linebreak_filter')
callback.remove('hpack_filter', 'luaotfload.hpack_filter')
callback.remove('define_font', 'luaotfload.define_font')
+ callback.remove('find_vf_file', 'luaotfload.find_vf_file')
end
% \end{macrocode}
% \iffalse