Skip to content
This repository has been archived by the owner on Aug 17, 2019. It is now read-only.

Commit

Permalink
Revert "[features] remove unneeded tlig features"
Browse files Browse the repository at this point in the history
This reverts commit 7250ac9.

As per issue lualatex#405.
  • Loading branch information
phi-gamma committed Feb 6, 2017
1 parent 0842c37 commit 9b70f2e
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/luaotfload-features.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 = {
Expand Down

0 comments on commit 9b70f2e

Please sign in to comment.