From f7f60c1f72bb8c9cd64372c313e05cf46a570354 Mon Sep 17 00:00:00 2001
From: Khaled Hosny <khaledhosny@eglug.org>
Date: Mon, 31 May 2010 19:37:50 +0300
Subject: Handle bypassing TFM fonts properly

We now detect tfm fonts much earlier and force a file based lookup,
thus bypassing |names.resolve()| completely.

So, now |\font\tenrm=cmr10| is exactly the same as |\font\tenrm=file:cmr10|
as long as there is a tfm/ofm file named cmr10.
---
 tests/tfmofm.ltx | 6 ++++++
 1 file changed, 6 insertions(+)
 create mode 100644 tests/tfmofm.ltx

(limited to 'tests/tfmofm.ltx')

diff --git a/tests/tfmofm.ltx b/tests/tfmofm.ltx
new file mode 100644
index 0000000..0f9f904
--- /dev/null
+++ b/tests/tfmofm.ltx
@@ -0,0 +1,6 @@
+\documentclass{article}
+\usepackage{luaotfload}
+
+\begin{document}
+Hello \(1+1=\sqrt{4}\)
+\end{document}
-- 
cgit v1.2.3

