From 2acd7771485e453bc4c4d1d5632bb03f274df911 Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Sun, 11 Mar 2012 22:11:18 +0200 Subject: Test for italic correction --- otfl-font-otf.lua | 1 + tests/itlc.tex | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 tests/itlc.tex 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 -- cgit v1.2.3