featureVars: avoid duplicate refs to 'rvrn' feature in default langsys
the buildGSUB function creates an empty GSUB with no FeatureRecords, so the FeatureIndex list should be empty initially; the index of the newly created rvrn feature record will be appended later on by addFeatureVariationsRaw function.
This commit is contained in:
parent
bec188c816
commit
aa8a5bc616
@ -342,7 +342,7 @@ def buildGSUB():
|
|||||||
langrec = ot.LangSysRecord()
|
langrec = ot.LangSysRecord()
|
||||||
langrec.LangSys = ot.LangSys()
|
langrec.LangSys = ot.LangSys()
|
||||||
langrec.LangSys.ReqFeatureIndex = 0xFFFF
|
langrec.LangSys.ReqFeatureIndex = 0xFFFF
|
||||||
langrec.LangSys.FeatureIndex = [0]
|
langrec.LangSys.FeatureIndex = []
|
||||||
srec.Script.DefaultLangSys = langrec.LangSys
|
srec.Script.DefaultLangSys = langrec.LangSys
|
||||||
|
|
||||||
gsub.ScriptList.ScriptRecord.append(srec)
|
gsub.ScriptList.ScriptRecord.append(srec)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user