freetypy.Face.set_transform¶
-
Face.
set_transform
()¶ Set the transformation applied to glyph images.
Parameters: - matrix (2x2 sequence of floats, optional) –
A matrix of the form:
. [[xx, xy] . [yx, yy]]
- delta (2-sequence of floats, optional) –
Notes
The transformation is only applied to scalable image formats after the glyph has been loaded. It means that hinting is unaltered by the transformation and is performed on the character size given in the last call to
set_char_size
orset_pixel_sizes
.Note that this also transforms the
Face.glyph.advance
field, but not the values inFace.glyph.metrics
.- matrix (2x2 sequence of floats, optional) –