Fix regression of diacritic placement of over-the-tie marks (#1092).
This commit is contained in:
parent
8f4c5e7ae3
commit
3e615f4329
5 changed files with 7 additions and 11 deletions
|
@ -138,21 +138,16 @@ export : define [buildCCMP sink glyphStore markGlyphs] : begin
|
|||
object [from {'revCommaAbove' 'perispomeniAbove'}] [to 'dasiaperispomeni']
|
||||
object [from {'cyrlPsiliAbove' 'cyrlPokrytieAbove'}] [to 'cyrlPsiliPokrytieAbove']
|
||||
|
||||
define gnCgjNwid 'dashed-boxed3{847}{C}{G}{J}.NWID'
|
||||
define gnCgjWwid 'dashed-boxed3{847}{C}{G}{J}.WWID'
|
||||
|
||||
define lookupCcmp-TieMarkLigature : add-lookup sink : object
|
||||
.type 'gsub_ligature'
|
||||
.substitutions : {}.concat
|
||||
TieMarkFrom.map : lambda [gnFrom idx]
|
||||
object [from {gnCgjNwid gnFrom}] [to TieMarkTo.(idx)]
|
||||
TieMarkFrom.map : lambda [gnFrom idx]
|
||||
object [from {gnCgjWwid gnFrom}] [to TieMarkTo.(idx)]
|
||||
object [from {'cgj' gnFrom}] [to TieMarkTo.(idx)]
|
||||
|
||||
define lookupCcmp-TieMarkContextual : add-lookup sink : object
|
||||
.type 'gsub_chaining'
|
||||
.rules : list : object
|
||||
match {[TieGlyphs.concat TieMarkTo] {gnCgjNwid gnCgjWwid} TieMarkFrom}
|
||||
match {[TieGlyphs.concat TieMarkTo] {'cgj'} TieMarkFrom}
|
||||
inputBegins 1
|
||||
inputEnds 3
|
||||
apply {{.at 1 .lookup lookupCcmp-TieMarkLigature}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue