summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2012-03-26 00:54:35 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2012-03-27 08:19:01 +0200
commit5cd15c2c16065938ed6ce1bfcc999327ff85698f (patch)
tree2fec535171eef060790cf76bf0688a0e2850cab1
parent9bd0caac613f5d766a0a3b07835359ac0efade0a (diff)
downloadluaotfload-5cd15c2c16065938ed6ce1bfcc999327ff85698f.tar.gz
Enable italic correction feature by default
Conflicts: otfl-font-xtx.lua tests/itlc.tex
-rw-r--r--otfl-font-ltx.lua2
-rw-r--r--tests/itlc.tex8
2 files changed, 4 insertions, 6 deletions
diff --git a/otfl-font-ltx.lua b/otfl-font-ltx.lua
index f9d7fc4..2025db5 100644
--- a/otfl-font-ltx.lua
+++ b/otfl-font-ltx.lua
@@ -45,7 +45,7 @@ end
local defaults = {
dflt = {
"ccmp", "locl", "rlig", "liga", "clig",
- "kern", "mark", "mkmk",
+ "kern", "mark", "mkmk", 'itlc',
},
arab = {
"ccmp", "locl", "isol", "fina", "fin2",
diff --git a/tests/itlc.tex b/tests/itlc.tex
index 01f7a91..bff0c39 100644
--- a/tests/itlc.tex
+++ b/tests/itlc.tex
@@ -1,7 +1,5 @@
\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
+\font\testa={Latin Modern Roman:script=latn} at 10pt
+\font\testb={Latin Modern Roman/I:script=latn} at 10pt
+\testa ({\testb f\/})
\bye