Module: PangoFc
- Defined in:
- lib/pango/fc-loader.rb,
lib/pango.rb
Overview
Copyright (C) 2021 Ruby-GNOME Project Team
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Defined Under Namespace
Classes: Decoder, Font, FontMap, Loader
Constant Summary collapse
- FONT_FEATURES =
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. fontfeatures- FONT_VARIATIONS =
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. fontvariations- GRAVITY =
Fontconfig property that Pango sets on any
fontconfig pattern it passes to fontconfig
if aPangoGravityother than %PANGO_GRAVITY_SOUTH
is desired.The property will have a
PangoGravityvalue 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 =
Fontconfig property 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 =
Fontconfig property that Pango sets on any
fontconfig pattern it passes to fontconfig.The property will have an integer value equal to what
[funcPango.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