Flags¶
Details¶
- 
class Pango.FontMask(value)¶
- Bases: - GObject.GFlags- The bits in a - Pango.FontMaskcorrespond to fields in a- Pango.FontDescriptionthat have been set.- 
FAMILY= 1¶
- the font family is specified. 
 - 
VARIATIONS= 128¶
- OpenType font variations are specified - New in version 1.42. 
 - 
STRETCH= 16¶
- the font stretch is specified. 
 - 
STYLE= 2¶
- the font style is specified. 
 - 
SIZE= 32¶
- the font size is specified. 
 - 
VARIANT= 4¶
- the font variant is specified. 
 - 
GRAVITY= 64¶
- the font gravity is specified - New in version 1.16. 
 - 
WEIGHT= 8¶
- the font weight is specified. 
 
- 
- 
class Pango.ShapeFlags(value)¶
- Bases: - GObject.GFlags- Flags influencing the shaping process. These can be passed to - Pango.shape_with_flags().- 
NONE= 0¶
- Default value. 
 - 
ROUND_POSITIONS= 1¶
- Round glyph positions and widths to whole device units. This option should be set if the target renderer can’t do subpixel positioning of glyphs. 
 
- 
- 
class Pango.ShowFlags(value)¶
- Bases: - GObject.GFlags- These flags affect how Pango treats characters that are normally not visible in the output. - 
NONE= 0¶
- No special treatment for invisible characters 
 - 
SPACES= 1¶
- Render spaces, tabs and newlines visibly 
 - 
LINE_BREAKS= 2¶
- Render line breaks visibly 
 - 
IGNORABLES= 4¶
- Render default-ignorable Unicode characters visibly 
 
-