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

Commit

Permalink
[features] remove unneeded tlig features
Browse files Browse the repository at this point in the history
Fix #397

These four features should not be inserted automatically.
  • Loading branch information
phi-gamma committed Feb 2, 2017
1 parent 9bc0020 commit 7250ac9
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions src/luaotfload-features.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1288,10 +1288,6 @@ 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 @@ -1302,19 +1298,6 @@ 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

2 comments on commit 7250ac9

@eg9
Copy link

@eg9 eg9 commented on 7250ac9 Feb 6, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Too drastic: you have removed the Spanish ligatures.

@davidcarlisle
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also the standard ligatures for double left and right quotes have gone.

Please sign in to comment.