From 823364759f62647db4bd55eda93d3d6675655dff Mon Sep 17 00:00:00 2001
From: Khaled Hosny <khaledhosny@eglug.org>
Date: Sat, 12 Nov 2011 18:32:47 +0200
Subject: Load font by name

---
 tests/alternate_sub.tex | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

(limited to 'tests/alternate_sub.tex')

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

