summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/luaotfload-features.lua17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/luaotfload-features.lua b/src/luaotfload-features.lua
index 5c35031..a57aac3 100644
--- a/src/luaotfload-features.lua
+++ b/src/luaotfload-features.lua
@@ -1288,6 +1288,10 @@ local tlig_specification = {
data = {
[0x2013] = {0x002D, 0x002D}, -- endash
[0x2014] = {0x002D, 0x002D, 0x002D}, -- emdash
+ [0x201C] = {0x2018, 0x2018}, -- quotedblleft
+ [0x201D] = {0x2019, 0x2019}, -- quotedblright
+ [0x00A1] = {0x0021, 0x2018}, -- exclamdown
+ [0x00BF] = {0x003F, 0x2018}, -- questiondown
--- next three originate in T1 encoding; Xetex applies
--- them too
[0x201E] = {0x002C, 0x002C}, -- quotedblbase
@@ -1298,6 +1302,19 @@ local tlig_specification = {
order = { "tlig" },
prepend = true,
},
+ {
+ type = "ligature",
+ features = everywhere,
+ data = {
+ [0x201C] = {0x0060, 0x0060}, -- quotedblleft
+ [0x201D] = {0x0027, 0x0027}, -- quotedblright
+ [0x00A1] = {0x0021, 0x0060}, -- exclamdown
+ [0x00BF] = {0x003F, 0x0060}, -- questiondown
+ },
+ flags = noflags,
+ order = { "tlig" },
+ prepend = true,
+ },
}
local rot13_specification = {