summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-09-30 03:43:42 -0700
committerPhilipp Gesang <phg42.2a@gmail.com>2013-09-30 03:43:42 -0700
commitdb337cd820ec04028e3fa4e0452512da6a5567f2 (patch)
treea425fd6f67b00a6580433263e3358f51b8a531df
parent2dd00a5ec511a797afe0bade4f481a2846976e64 (diff)
parent961e2948b95bb9074ff17aa2a95bf66f926ad0a9 (diff)
downloadluaotfload-db337cd820ec04028e3fa4e0452512da6a5567f2.tar.gz
Merge pull request #137 from phi-gamma/master
[features] add guillemets to tlig set
-rw-r--r--luaotfload-features.lua10
1 files changed, 7 insertions, 3 deletions
diff --git a/luaotfload-features.lua b/luaotfload-features.lua
index db0b1d0..3382edb 100644
--- a/luaotfload-features.lua
+++ b/luaotfload-features.lua
@@ -1423,9 +1423,13 @@ local tlig = {
[0x2014] = {0x002D, 0x002D, 0x002D}, -- emdash
[0x201C] = {0x2018, 0x2018}, -- quotedblleft
[0x201D] = {0x2019, 0x2019}, -- quotedblright
- [0x201E] = {0x002C, 0x002C}, -- quotedblbase
[0x00A1] = {0x0021, 0x2018}, -- exclamdown
[0x00BF] = {0x003F, 0x2018}, -- questiondown
+ --- next three originate in T1 encoding; Xetex applies
+ --- them too
+ [0x201E] = {0x002C, 0x002C}, -- quotedblbase
+ [0x00AB] = {0x003C, 0x003C}, -- LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+ [0x00BB] = {0x003E, 0x003E}, -- RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
},
flags = { },
},
@@ -1442,8 +1446,8 @@ local tlig = {
},
}
-otf.addfeature("tlig", tlig)
-otf.addfeature("trep", { }) -- empty, all in tlig now
+otf.addfeature ("tlig", tlig)
+otf.addfeature ("trep", { })
local anum_arabic = { --- these are the same as in font-otc
[0x0030] = 0x0660,