Make variant selectors of A
and E
able to influence AE and OE letters (#1031).
This commit is contained in:
parent
6556e4f883
commit
ce12d99f53
7 changed files with 139 additions and 60 deletions
|
@ -3,7 +3,7 @@ extern Set
|
|||
|
||||
define MarkClasses {
|
||||
'above' 'below' 'overlay' 'slash' 'topright' 'bottomright'
|
||||
'trailing' 'lf' 'tieAbove' 'tieBelow' 'aboveBrace' 'belowBrace'
|
||||
'trailing' 'lf' 'tieAbove' 'tieBelow' 'aboveBrace' 'belowBrace' 'cvDecompose'
|
||||
'enclosureInner' 'enclosureInnerFirstHalf' 'enclosureInnerSecondHalf'
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import [add-common-feature add-feature add-lookup ChainRuleBuilder BeginLookupBlock EndLookupBlock] from "./table-util"
|
||||
import [add-common-feature add-feature add-lookup add-feature-lookup ChainRuleBuilder BeginLookupBlock EndLookupBlock] from "./table-util"
|
||||
import [AnyCv Dotless TieMark TieGlyph CcmpDecompose] from "../support/gr"
|
||||
extern Set
|
||||
|
||||
|
@ -227,10 +227,10 @@ export : define [buildCCMP sink glyphStore markGlyphs] : begin
|
|||
if (parts && parts.length) : set decompositions.(gid) parts
|
||||
|
||||
if [objectIsNotEmpty decompositions] : begin
|
||||
ccmp.lookups.push lookupCcmp-Decompose
|
||||
define lookupCcmp-Decompose : add-lookup sink : object
|
||||
.type 'gsub_multiple'
|
||||
.substitutions decompositions
|
||||
add-feature-lookup ccmp lookupCcmp-Decompose
|
||||
|
||||
add-common-feature sink ccmp
|
||||
EndLookupBlock rec sink
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue