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-26 00:59:18 +0200
commit092c9a84889683c8c72bfc1cef9b68cce17673a1 (patch)
treeac73cdacbae4bd31d4541286eabdb7e237079e9e
parente45ca32f3cc648e0b6e6fdd3d45758b51e051eee (diff)
downloadluaotfload-092c9a84889683c8c72bfc1cef9b68cce17673a1.tar.gz
Enable italic correction feature by default
-rw-r--r--otfl-font-xtx.lua2
-rw-r--r--tests/itlc.tex5
2 files changed, 6 insertions, 1 deletions
diff --git a/otfl-font-xtx.lua b/otfl-font-xtx.lua
index 8237851..40024ec 100644
--- a/otfl-font-xtx.lua
+++ b/otfl-font-xtx.lua
@@ -91,7 +91,7 @@ otf.tables = otf.tables or { }
otf.tables.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
new file mode 100644
index 0000000..bff0c39
--- /dev/null
+++ b/tests/itlc.tex
@@ -0,0 +1,5 @@
+\input luaotfload.sty
+\font\testa={Latin Modern Roman:script=latn} at 10pt
+\font\testb={Latin Modern Roman/I:script=latn} at 10pt
+\testa ({\testb f\/})
+\bye