Constants

Details

PangoFc.FONT_FEATURES = 'fontfeatures'

String representing a fontconfig property name 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'

String representing a fontconfig property name 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.

PangoFc.GRAVITY = 'pangogravity'

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

The property will have a Pango.Gravity 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'

String representing a fontconfig property name 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'

String representing a fontconfig property name that Pango sets on any fontconfig pattern it passes to fontconfig.

The property will have an integer value equal to what 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.