summaryrefslogtreecommitdiff
path: root/tests/opticalsize.tex
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2010-04-01 22:33:45 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2010-04-01 22:33:45 +0200
commitaefd8aafbae9531277b95e775b25a257e02a19ef (patch)
tree16e75b0bd0d70d859d3302a202158c54e60b33b9 /tests/opticalsize.tex
parent520eba1ac4dbda9d8c4720824777da5b56353f06 (diff)
downloadluaotfload-aefd8aafbae9531277b95e775b25a257e02a19ef.tar.gz
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.
Diffstat (limited to 'tests/opticalsize.tex')
-rw-r--r--tests/opticalsize.tex9
1 files changed, 9 insertions, 0 deletions
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