summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2011-11-12 18:32:47 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2011-11-12 18:32:47 +0200
commit823364759f62647db4bd55eda93d3d6675655dff (patch)
treee836febb01e5da09863b3794efbe9c6cf9c9cc83
parent6325e68c7b767b2bb28d06c419cf08d3f3f3cf34 (diff)
downloadluaotfload-823364759f62647db4bd55eda93d3d6675655dff.tar.gz
Load font by name
-rw-r--r--tests/alternate_sub.tex12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/alternate_sub.tex b/tests/alternate_sub.tex
index c63d244..e646ddb 100644
--- a/tests/alternate_sub.tex
+++ b/tests/alternate_sub.tex
@@ -1,14 +1,14 @@
\input luaotfload.sty
-\font\0=file:ScheherazadeRegOT.ttf:mode=node;script=arab;salt=0 at 10pt
-\font\1=file:ScheherazadeRegOT.ttf:mode=node;script=arab;salt=1 at 10pt
-\font\2=file:ScheherazadeRegOT.ttf:mode=node;script=arab;salt=2 at 10pt
+\font\0=name:Scheherazade:mode=node;script=arab;salt=0 at 10pt
+\font\1=name:Scheherazade:mode=node;script=arab;salt=1 at 10pt
+\font\2=name:Scheherazade:mode=node;script=arab;salt=2 at 10pt
\0 \char"06DD
\1 \char"06DD
\2 \char"06DD
-\font\0=file:ScheherazadeRegOT.ttf:mode=base;script=arab;salt=0 at 10pt
-\font\1=file:ScheherazadeRegOT.ttf:mode=base;script=arab;salt=1 at 10pt
-\font\2=file:ScheherazadeRegOT.ttf:mode=base;script=arab;salt=2 at 10pt
+\font\0=name:Scheherazade:mode=base;script=arab;salt=0 at 10pt
+\font\1=name:Scheherazade:mode=base;script=arab;salt=1 at 10pt
+\font\2=name:Scheherazade:mode=base;script=arab;salt=2 at 10pt
\0 \char"06DD
\1 \char"06DD
\2 \char"06DD