I’m looking for the most performant way to get the interpolated vertical metrics for an instance, via Python. I can get it like this…
myInstance.interpolatedFont.masters[0].ascender
…but the docs lead me to think that this might not be as performant as using interpolatedFontProxy. I don’t care about any glyph data, and don’t want to be slowed down by waiting for glyphs to interpolate. The problem is that interpolatedFontProxy.fontMasters() returns a list of multiple masters (like my original font) rather than a single interpolated master, like interpolatedFont does.
What’s the fastest approach for getting an instance’s interpolated vertical metrics?
Thanks, Georg! That method seems to return a tuple, so it needs a [0] at the end. But then it works. Out of curiosity, what does the thinTrue parameter mean?