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
|
@ -6,4 +6,5 @@
|
|||
* Fix missing variant of Latin Small Letter Ue (`U+1D6B`) (#1086).
|
||||
* Fix missing serif of Italic Latin Phi (#1087).
|
||||
* Remove `U+1FB93` ("Left Half Block and Right Half Inverse Medium Shade") since it is a reserved code point for now (#1088).
|
||||
* Add Black Rightwards Arrowhead (`U+27A4`) (#1090).
|
||||
* Add Black Rightwards Arrowhead (`U+27A4`) (#1090).
|
||||
* Fix regression of diacritic placement of over-the-tie marks (#1092).
|
|
@ -710,7 +710,6 @@ glyph-block AutoBuild-Enclosure : begin
|
|||
|
||||
do "triple-digit dashed-boxed"
|
||||
createDashedBoxedGlyphs 3 : list
|
||||
list 0x034F {'C.serifless' 'G.toothedSeriflessHooked' 'J.serifless'} WideWidth1
|
||||
list 0xFFFC {'O' 'B.standardSerifless' 'J.serifless'} WideWidth1
|
||||
|
||||
do "inset boxed"
|
||||
|
|
|
@ -41,6 +41,7 @@ glyph-block Symbol-Mosaic-NotDef : begin
|
|||
set currentGlyph.autoRefPriority (-9999)
|
||||
|
||||
alias 'nonmarkingreturn' 0x000D 'zwsp'
|
||||
alias 'cgj' 0x34F 'zwsp'
|
||||
alias 'nbsp' 0xA0 'space'
|
||||
|
||||
alias 'enquad' 0x2000 'sp1'
|
||||
|
|
|
@ -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}}
|
||||
|
|
|
@ -77,12 +77,12 @@ const TieMark = {
|
|||
|
||||
const TieGlyph = {
|
||||
get(glyph) {
|
||||
if (glyph && glyph.related) return glyph.related.TieMark;
|
||||
if (glyph && glyph.related) return glyph.related.TieGlyph;
|
||||
else return null;
|
||||
},
|
||||
set(glyph) {
|
||||
if (!glyph.related) glyph.related = {};
|
||||
glyph.related.TieMark = true;
|
||||
glyph.related.TieGlyph = true;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue