Module: PangoFc

Defined in:
pango/lib/pango.rb

Overview

Version:

  • 1.0

Defined Under Namespace

Classes: Decoder, Font, FontMap

Constant Summary collapse

FONT_FEATURES =

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.

fontfeatures
FONT_VARIATIONS =

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.

fontvariations
GRAVITY =

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.

pangogravity
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 g_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.

prgname
VERSION =

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).

pangoversion