Fix Fixed custom building when not using derivation (#1428)

This commit is contained in:
be5invis 2022-10-04 22:07:48 -07:00
parent cc7fc85133
commit a4d0240b8f
4 changed files with 14 additions and 6 deletions

View file

@ -13,7 +13,6 @@ define [CvLookupName tag] : 'lookup_cv_' + tag
define [SsLookupName tag] : 'lookup_ss_' + tag
export : define [buildCVSS sink para glyphStore] : begin
if [not para.enableCvSs] : return nothing
define {chain-rule} : ChainRuleBuilder sink
local rec : BeginLookupBlock sink

View file

@ -22,15 +22,17 @@ define [buildGSUB para glyphStore markGlyphs] : begin
define gsub : CreateEmptyTable
# NWID / WWID
buildGrFeature gsub glyphStore Gr.Nwid
buildGrFeature gsub glyphStore Gr.Wwid
if para.enableNwidWwid : begin
buildGrFeature gsub glyphStore Gr.Nwid
buildGrFeature gsub glyphStore Gr.Wwid
# lnum / onum
buildGrFeature gsub glyphStore Gr.Lnum
buildGrFeature gsub glyphStore Gr.Onum
# APLF
buildGrFeature gsub glyphStore Gr.AplForm
if para.enableCvSs : begin
buildGrFeature gsub glyphStore Gr.AplForm
# numr / dnom
buildGrFeature gsub glyphStore Gr.NumeratorForm
@ -53,7 +55,8 @@ define [buildGSUB para glyphStore markGlyphs] : begin
buildGsubThousands gsub para glyphStore
# cv##, ss##
buildCVSS gsub para glyphStore
if para.enableCvSs : begin
buildCVSS gsub para glyphStore
# locl
# Builds last, but the lookups are added into the beginning of the lookup list