Utilize hb.js for building compatibility ligatures.
This commit is contained in:
parent
d35b849f68
commit
74846d3113
8 changed files with 99 additions and 101 deletions
|
@ -11,7 +11,6 @@ import [buildCVSS] from"./gsub-cv-ss.mjs"
|
|||
import [buildLOCL] from"./gsub-locl.mjs"
|
||||
import [buildGsubThousands] from"./gsub-thousands.mjs"
|
||||
import [buildMarkMkmk] from"./gpos-mark-mkmk.mjs"
|
||||
import [BuildCompatLigatures] from"./compat-ligature.mjs"
|
||||
|
||||
define GDEF_SIMPLE 1
|
||||
define GDEF_LIGATURE 2
|
||||
|
@ -113,8 +112,4 @@ export : define [buildOtl para glyphStore] : begin
|
|||
foreach gnMark markGlyphs.all : begin
|
||||
Gr.Joining.or [glyphStore.queryByName gnMark] Gr.Joining.Classes.Left
|
||||
|
||||
# Build compatibility ligatures
|
||||
if (para.enableLigation && para.compLig) : begin
|
||||
BuildCompatLigatures para glyphStore GSUB GDEF para.compLig
|
||||
|
||||
return [object GSUB GPOS GDEF]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue