freetypy.RENDER_MODE¶
-
class
freetypy.RENDER_MODE¶ A set of enumerations to select a bitmap renderer.
NORMAL: This is the default render mode; it corresponds to 8-bit anti-aliased bitmaps.LIGHT: This is equivalent toRENDER_MODE.NORMAL. It is only defined as a separate value because render modes are also used indirectly to define hinting algorithm selectors. SeeLOAD.TARGET_XXXfor details.MONO: This mode corresponds to 1-bit bitmaps (with 2 levels of opacity).LCD: This mode corresponds to horizontal RGB and BGR sub-pixel displays like LCD screens. It produces 8-bit bitmaps that are 3 times the width of the original glyph outline in pixels, and which use thePIXEL_MODE.LCDmode. On many freetype builds, this functionality will be disabled due to patent restrictions, in which case the resulting bitmap will be grayscale.LCD_V: This mode corresponds to vertical RGB and BGR sub-pixel displays (like PDA screens, rotated LCD displays, etc.). It produces 8-bit bitmaps that are 3 times the height of the original glyph outline in pixels and use thePIXEL_MODE.LCD_Vmode. On many freetype builds, this functionality will be disabled due to patent restrictions, in which case the resulting bitmap will be grayscale.
Attributes
LCDLCD_VLIGHTMONONORMAL