From aefd8aafbae9531277b95e775b25a257e02a19ef Mon Sep 17 00:00:00 2001
From: Khaled Hosny <khaledhosny@eglug.org>
Date: Thu, 1 Apr 2010 22:33:45 +0200
Subject: Fix optical size with no range_top/bottom

Some fonts give only design size with no range, in this case we now will
assume range top == range bottom == design size.
---
 tests/opticalsize.tex | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 tests/opticalsize.tex

(limited to 'tests/opticalsize.tex')

diff --git a/tests/opticalsize.tex b/tests/opticalsize.tex
new file mode 100644
index 0000000..d19bb59
--- /dev/null
+++ b/tests/opticalsize.tex
@@ -0,0 +1,9 @@
+\input luaotfload.sty
+
+\font\testa={Latin Modern Roman/S=12} at 10pt
+\font\testb={Latin Modern Roman}      at 5pt
+\font\testc={Latin Modern Roman}      at 10pt
+\testa abcd ABCD \par
+\testb abcd ABCD \par
+\testc abcd ABCD \par
+\bye
-- 
cgit v1.2.3

