Move the glyph saving logic to MJS side (#2479)
This commit is contained in:
parent
499b97e3a1
commit
5ee209c97f
5 changed files with 84 additions and 68 deletions
|
@ -108,6 +108,11 @@ define [buildGDEF para glyphStore markGlyphs] : begin
|
|||
return GDEF
|
||||
|
||||
export : define [buildOtl para glyphStore] : begin
|
||||
# Link glyph pairs by suffix
|
||||
Gr.linkSuffixPairGr glyphStore 'NWID' 'WWID' Gr.Nwid Gr.Wwid
|
||||
Gr.linkSuffixPairGr glyphStore 'lnum' 'onum' Gr.Lnum Gr.Onum
|
||||
Gr.linkSuffixGr glyphStore 'aplForm' Gr.AplForm
|
||||
|
||||
local markGlyphs { .all [new Set] .markAttachClassDef [new Map] .markGlyphSets {} }
|
||||
local GPOS : buildGPOS para glyphStore markGlyphs
|
||||
local GDEF : buildGDEF para glyphStore markGlyphs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue