From 2c62fc4c7df9005e289d59d51d7f7ee5f143b757 Mon Sep 17 00:00:00 2001
From: Elie Roux <elie.roux@telecom-bretagne.eu>
Date: Mon, 7 Sep 2009 18:46:04 +0300
Subject: fixing another bug for ofm fonts

---
 luaotfload.dtx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'luaotfload.dtx')

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
-- 
cgit v1.2.3

