load_masters: actually assign font attributes

This commit is contained in:
Nikolaus Waxweiler 2019-01-30 15:15:28 +00:00
parent 7d975f7ada
commit ef1d4cd02d

View File

@ -886,7 +886,7 @@ def load_masters(designspace, master_finder=lambda s: s):
# 2. A SourceDescriptor's path might point an OpenType binary, a
# TTX file, or another source file (e.g. UFO), in which case we
# resolve the path using 'master_finder' function
font = _open_font(master.path, master_finder)
master.font = font = _open_font(master.path, master_finder)
master_fonts.append(font)
return master_fonts