freetypy.SUBGLYPH_FLAG¶
-
class
freetypy.SUBGLYPH_FLAG¶ A list of constants used to describe subglyphs.
ARGS_ARE_WORDS: If set,SubGlyph.arg1andSubGlyph.arg2are words, else bytes.ARGS_ARE_XY_VALUES: If set,SubGlyph.arg1andSubGlyph.arg2are xy values.ROUND_XY_TO_GRID: If set, round the xy values to grid.SCALE: If set, there is a simple scale for the component.XY_SCALE: If set, the x direction will use a different scale than the y direction.TWOXTWO: If set, there is a 2-by-2 transformation that will be used to scale the component. (⨎ This is named2X2in the underlying freetype library, but was renamed here so it doesn’t begin with a digit.)USE_MY_METRICS: Use metrics from this component for the compound glyph.
Attributes
ARGS_ARE_WORDSARGS_ARE_XY_VALUESROUND_XY_TO_GRIDSCALETWOXTWOUSE_MY_METRICSXY_SCALE