[VARC/instancer] Comment
This commit is contained in:
parent
38d190a3cc
commit
57dd288d1b
@ -468,6 +468,8 @@ class OverlapMode(IntEnum):
|
|||||||
def instantiateVARC(varfont, axisLimits):
|
def instantiateVARC(varfont, axisLimits):
|
||||||
log.info("Instantiating VARC tables")
|
log.info("Instantiating VARC tables")
|
||||||
|
|
||||||
|
# TODO(behdad) My confidence in this function is rather low
|
||||||
|
|
||||||
varc = varfont["VARC"].table
|
varc = varfont["VARC"].table
|
||||||
if varc.VarCompositeGlyphs:
|
if varc.VarCompositeGlyphs:
|
||||||
for glyph in varc.VarCompositeGlyphs.glyphs:
|
for glyph in varc.VarCompositeGlyphs.glyphs:
|
||||||
@ -488,7 +490,7 @@ def instantiateVARC(varfont, axisLimits):
|
|||||||
|
|
||||||
if varc.MultiVarStore:
|
if varc.MultiVarStore:
|
||||||
store = varc.MultiVarStore
|
store = varc.MultiVarStore
|
||||||
store.prune_regions()
|
store.prune_regions() # Needed?
|
||||||
|
|
||||||
fvar = varfont["fvar"]
|
fvar = varfont["fvar"]
|
||||||
location = axisLimits.pinnedLocation()
|
location = axisLimits.pinnedLocation()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user