Constants

Details

PangoFc.FONT_FEATURES = 'fontfeatures'

Fontconfig property that Pango reads from font patterns to populate list of OpenType features to be enabled for the font by default.

The property will have a number of string elements, each of which is the OpenType feature tag of one feature to enable.

This is equivalent to FC_FONT_FEATURES in versions of fontconfig that have that.

New in version 1.34.

PangoFc.FONT_VARIATIONS = 'fontvariations'

Fontconfig property that Pango reads from font patterns to populate list of OpenType font variations to be used for a font.

The property will have a string elements, each of which a comma-separated list of OpenType axis setting of the form AXIS=VALUE.

This is equivalent to FC_FONT_VARIATIONS in versions of fontconfig that have that.

PangoFc.GRAVITY = 'pangogravity'

Fontconfig property that Pango sets on any fontconfig pattern it passes to fontconfig if a PangoGravity other than Pango.Gravity.SOUTH is desired.

The property will have a PangoGravity value as a string, like “east”. This can be used to write fontconfig configuration rules to choose different fonts for horizontal and vertical writing directions.

New in version 1.20.

PangoFc.PRGNAME = 'prgname'

Fontconfig property that Pango sets on any fontconfig pattern it passes to fontconfig.

The property will have a string equal to what GLib.get_prgname() returns. This can be used to write fontconfig configuration rules that only affect certain applications.

This is equivalent to FC_PRGNAME in versions of fontconfig that have that.

New in version 1.24.

PangoFc.VERSION = 'pangoversion'

Fontconfig property that Pango sets on any fontconfig pattern it passes to fontconfig.

The property will have an integer value equal to what [func`Pango`.version] returns. This can be used to write fontconfig configuration rules that only affect certain pango versions (or only pango-using applications, or only non-pango-using applications).

New in version 1.20.