Searched refs:defaultVerticalOrigin (Results 1 – 2 of 2) sorted by relevance
/external/fonttools/Lib/fontTools/varLib/ |
D | __init__.py | 213 def _get_phantom_points(font, glyphName, defaultVerticalOrigin=None): argument 233 assert defaultVerticalOrigin is not None 234 topSideY = defaultVerticalOrigin 245 def _GetCoordinates(font, glyphName, defaultVerticalOrigin=None): argument 263 phantomPoints = _get_phantom_points(font, glyphName, defaultVerticalOrigin) 323 defaultVerticalOrigin = font['hhea'].ascent 329 _GetCoordinates(m, glyph, defaultVerticalOrigin=defaultVerticalOrigin)
|
/external/fonttools/Lib/fontTools/ |
D | fontBuilder.py | 664 def setupVerticalOrigins(self, verticalOrigins, defaultVerticalOrigin=None): argument 672 if defaultVerticalOrigin is None: 681 defaultVerticalOrigin = sorted(bag, key=lambda vorg: bag[vorg], reverse=True)[0] 682 …_initTableWithValues("VORG", {}, dict(VOriginRecords={}, defaultVertOriginY=defaultVerticalOrigin))
|