summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2012-03-11 22:11:18 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2012-03-11 22:11:18 +0200
commit2acd7771485e453bc4c4d1d5632bb03f274df911 (patch)
tree2ef6d2664c53d2a427b612a3607ce0d282bafc4e
parente343512839e6f17fcdfcf2d50942d12b0103c55b (diff)
downloadluaotfload-2acd7771485e453bc4c4d1d5632bb03f274df911.tar.gz
Test for italic correction
-rw-r--r--otfl-font-otf.lua1
-rw-r--r--tests/itlc.tex7
2 files changed, 8 insertions, 0 deletions
diff --git a/otfl-font-otf.lua b/otfl-font-otf.lua
index 27a64e9..9bfebc1 100644
--- a/otfl-font-otf.lua
+++ b/otfl-font-otf.lua
@@ -1137,6 +1137,7 @@ local function t_hashed(t,cache)
local ht = { }
for i=1,#t do
local ti = t[i]
+print(ti)
local tih = cache[ti]
if not tih then
tih = { }
diff --git a/tests/itlc.tex b/tests/itlc.tex
new file mode 100644
index 0000000..01f7a91
--- /dev/null
+++ b/tests/itlc.tex
@@ -0,0 +1,7 @@
+\input luaotfload.sty
+\font\testa={file:lmroman10-italic:script=latn} at 10pt
+\font\testb={file:lmroman10-italic:script=latn;+itlc} at 10pt
+
+{\testa f\/}!\par
+{\testb f\/}!\par
+\bye