pangomm 2.54.0
Classes | Typedefs | Enumerations | Functions | Variables
Pango Namespace Reference

Classes

class  Analysis
 A Pango::Analysis stores information about the properties of a segment of text. More...
 
class  AttrColor
 A Pango::AttrColor is used to represent an attribute which is a color. More...
 
class  AttrFloat
 A Pango::AttrFloat is used to represent an attribute with a float or double value. More...
 
class  AttrFontDesc
 A Pango::AttrFontDesc is used to represent an attribute that sets all aspects of the font description at once. More...
 
class  Attribute
 The Pango::Attribute structure represents the common portions of all attributes. More...
 
struct  AttributeTraits
 
class  AttrInt
 A Pango::AttrInt is used to represent an attribute with an integer or enumeration value. More...
 
class  AttrIter
 A Pango::AttrIter is used to represent an iterator through a Pango::AttrList. More...
 
class  AttrLanguage
 A Pango::AttrLanguage is used to represent an attribute that is a language. More...
 
class  AttrList
 A Pango::AttrList represents a list of attributes that apply to a section of text. More...
 
class  AttrShape
 A Pango::AttrShape structure is used to represent an attribute which imposes shape restrictions. More...
 
class  AttrString
 A Pango::AttrString is used to represent an attribute with a string value. More...
 
class  BaselineShift_Wrapper
 Wrapper for enum BaselineShift. More...
 
class  CairoFontMap
 Pango::CairoFontMap is an interface implemented by font maps for use with Cairo. More...
 
class  CairoFontMapImpl
 Gdk::CairoFontMapImpl is a Pango::FontMap that implements the Pango::CairoFontMap interface. More...
 
class  Color
 A Pango::Color is used to represent a color in an uncalibrated RGB colorspace. More...
 
class  Context
 A Pango::Context stores global information used to control the itemization process. More...
 
class  Coverage
 A Pango::Coverage represents a map from ISO-10646 character point to Pango::Coverage::Level. More...
 
class  Font
 A Pango::Font is used to represent a font in a rendering-system-independent matter. More...
 
class  FontDescription
 A Pango::FontDescription represents the description of an ideal font. More...
 
class  FontFace
 A Pango::FontFace is used to represent a group of fonts with the same family, slant, weight, width, but varying sizes. More...
 
class  FontFamily
 A Pango::FontFamily is used to represent a family of related font faces. More...
 
class  FontMap
 A Pango::FontMap represents the set of fonts available for a particular rendering system. More...
 
class  FontMetrics
 A Pango::FontMetrics holds the overall metric information for a font (possibly restricted to a script). More...
 
class  Fontset
 A Pango::Fontset is used to represent a set of fonts. More...
 
class  GlyphGeometry
 A Pango::GlyphGeometry contains width and positioning information for a single glyph. More...
 
class  GlyphInfo
 A Pango::GlyphInfo represents a single glyph together with positioning information and visual attributes. More...
 
class  GlyphItem
 A Pango::GlyphItem is a pair of a Pango::Item and the glyphs resulting from shaping the text corresponding to an item. More...
 
class  GlyphString
 A Pango::GlyphString is used to store strings of glyphs with geometry and visual attribute information. More...
 
class  Item
 A Pango::Item stores information about a segment of text. More...
 
class  Language
 A Pango::Language is used to represent a language. More...
 
class  Layout
 A Pango::Layout represents an entire paragraph of text. More...
 
class  LayoutIter
 A Pango::LayoutIter can be used to iterate over the visual extents of a Pango::Layout. More...
 
class  LayoutLine
 A Pango::LayoutLine represents one of the lines resulting from laying out a paragraph via Pango::Layout. More...
 
class  Rectangle
 A Pango::Rectangle represents a rectangle. More...
 
class  Renderer
 Pango::Renderer is a base class that contains the necessary logic for rendering a Pango::Layout or Pango::LayoutLine. More...
 
class  TabArray
 A Pango::TabArray contains an array of tab stops. More...
 
class  Weight_Wrapper
 Wrapper for enum Weight. More...
 

Typedefs

typedef PangoMatrix Matrix
 
using BaselineShift = BaselineShift_Wrapper::BaselineShift
 BaselineShift enumerators are scoped by the wrapper class and can be implicitly converted to int.
 
typedef PangoLogAttr LogAttr
 A Pango::LogAttr stores information about the attributes of a single character.
 
using Weight = Weight_Wrapper::Weight
 Weight enumerators are scoped by the wrapper class and can be implicitly converted to int.
 
typedef PangoGlyph Glyph
 A Pango::Glyph represents a single glyph in the output form of a string.
 
typedef PangoGlyphUnit GlyphUnit
 A Pango::GlyphUnit is used to store dimensions within Pango.
 
typedef PangoGlyphVisAttr GlyphVisAttr
 A Pango::GlyphVisAttr is used to communicate information between the shaping phase and the rendering phase.
 

Enumerations

enum class  AttrType {
  INVALID ,
  LANGUAGE ,
  FAMILY ,
  STYLE ,
  WEIGHT ,
  VARIANT ,
  STRETCH ,
  SIZE ,
  FONT_DESC ,
  FOREGROUND ,
  BACKGROUND ,
  UNDERLINE ,
  STRIKETHROUGH ,
  RISE ,
  SHAPE ,
  SCALE_FACTOR ,
  FALLBACK ,
  LETTER_SPACING ,
  UNDERLINE_COLOR ,
  STRIKETHROUGH_COLOR ,
  ABSOLUTE_SIZE ,
  GRAVITY ,
  GRAVITY_HINT ,
  FONT_FEATURES ,
  FOREGROUND_ALPHA ,
  BACKGROUND_ALPHA ,
  ALLOW_BREAKS ,
  SHOW ,
  INSERT_HYPHENS ,
  OVERLINE ,
  OVERLINE_COLOR ,
  LINE_HEIGHT ,
  ABSOLUTE_LINE_HEIGHT ,
  TEXT_TRANSFORM ,
  WORD ,
  SENTENCE ,
  BASELINE_SHIFT ,
  FONT_SCALE
}
 
enum class  Underline {
  NONE ,
  SINGLE ,
  DOUBLE ,
  LOW ,
  ERROR ,
  SINGLE_LINE ,
  DOUBLE_LINE ,
  ERROR_LINE
}
 
enum class  Overline {
  NONE ,
  SINGLE
}
 
enum class  ShowFlags {
  NONE = 0x0 ,
  SPACES = 1 << 0 ,
  LINE_BREAKS = 1 << 1 ,
  IGNORABLES = 1 << 2
}
 
enum class  TextTransform {
  NONE ,
  LOWERCASE ,
  UPPERCASE ,
  CAPITALIZE
}
 
enum class  FontScale {
  NONE ,
  SUPERSCRIPT ,
  SUBSCRIPT ,
  SMALL_CAPS
}
 
enum class  Direction {
  LTR ,
  RTL ,
  TTB_LTR ,
  TTB_RTL ,
  WEAK_LTR ,
  WEAK_RTL ,
  NEUTRAL
}
 
enum class  GravityHint {
  NATURAL ,
  STRONG ,
  LINE
}
 
enum class  Style {
  NORMAL ,
  OBLIQUE ,
  ITALIC
}
 
enum class  Variant {
  NORMAL ,
  SMALL_CAPS ,
  ALL_SMALL_CAPS ,
  PETITE_CAPS ,
  ALL_PETITE_CAPS ,
  UNICASE ,
  TITLE_CAPS
}
 
enum class  Stretch {
  ULTRA_CONDENSED ,
  EXTRA_CONDENSED ,
  CONDENSED ,
  SEMI_CONDENSED ,
  NORMAL ,
  SEMI_EXPANDED ,
  EXPANDED ,
  EXTRA_EXPANDED ,
  ULTRA_EXPANDED
}
 
enum class  FontMask {
  FAMILY = 1 << 0 ,
  STYLE = 1 << 1 ,
  VARIANT = 1 << 2 ,
  WEIGHT = 1 << 3 ,
  STRETCH = 1 << 4 ,
  SIZE = 1 << 5 ,
  GRAVITY = 1 << 6 ,
  VARIATIONS = 1 << 7
}
 
enum class  Gravity {
  SOUTH ,
  EAST ,
  NORTH ,
  WEST ,
  AUTO
}
 
enum class  ShapeFlags {
  NONE = 0x0 ,
  ROUND_POSITIONS = 1 << 0
}
 
enum class  Script {
  INVALID_CODE = -1 ,
  COMMON ,
  INHERITED ,
  ARABIC ,
  ARMENIAN ,
  BENGALI ,
  BOPOMOFO ,
  CHEROKEE ,
  COPTIC ,
  CYRILLIC ,
  DESERET ,
  DEVANAGARI ,
  ETHIOPIC ,
  GEORGIAN ,
  GOTHIC ,
  GREEK ,
  GUJARATI ,
  GURMUKHI ,
  HAN ,
  HANGUL ,
  HEBREW ,
  HIRAGANA ,
  KANNADA ,
  KATAKANA ,
  KHMER ,
  LAO ,
  LATIN ,
  MALAYALAM ,
  MONGOLIAN ,
  MYANMAR ,
  OGHAM ,
  OLD_ITALIC ,
  ORIYA ,
  RUNIC ,
  SINHALA ,
  SYRIAC ,
  TAMIL ,
  TELUGU ,
  THAANA ,
  THAI ,
  TIBETAN ,
  CANADIAN_ABORIGINAL ,
  YI ,
  TAGALOG ,
  HANUNOO ,
  BUHID ,
  TAGBANWA ,
  BRAILLE ,
  CYPRIOT ,
  LIMBU ,
  OSMANYA ,
  SHAVIAN ,
  LINEAR_B ,
  TAI_LE ,
  UGARITIC ,
  NEW_TAI_LUE ,
  BUGINESE ,
  GLAGOLITIC ,
  TIFINAGH ,
  SYLOTI_NAGRI ,
  OLD_PERSIAN ,
  KHAROSHTHI ,
  UNKNOWN ,
  BALINESE ,
  CUNEIFORM ,
  PHOENICIAN ,
  PHAGS_PA ,
  NKO ,
  KAYAH_LI ,
  LEPCHA ,
  REJANG ,
  SUNDANESE ,
  SAURASHTRA ,
  CHAM ,
  OL_CHIKI ,
  VAI ,
  CARIAN ,
  LYCIAN ,
  LYDIAN ,
  BATAK ,
  BRAHMI ,
  MANDAIC ,
  CHAKMA ,
  MEROITIC_CURSIVE ,
  MEROITIC_HIEROGLYPHS ,
  MIAO ,
  SHARADA ,
  SORA_SOMPENG ,
  TAKRI ,
  BASSA_VAH ,
  CAUCASIAN_ALBANIAN ,
  DUPLOYAN ,
  ELBASAN ,
  GRANTHA ,
  KHOJKI ,
  KHUDAWADI ,
  LINEAR_A ,
  MAHAJANI ,
  MANICHAEAN ,
  MENDE_KIKAKUI ,
  MODI ,
  MRO ,
  NABATAEAN ,
  OLD_NORTH_ARABIAN ,
  OLD_PERMIC ,
  PAHAWH_HMONG ,
  PALMYRENE ,
  PAU_CIN_HAU ,
  PSALTER_PAHLAVI ,
  SIDDHAM ,
  TIRHUTA ,
  WARANG_CITI ,
  AHOM ,
  ANATOLIAN_HIEROGLYPHS ,
  HATRAN ,
  MULTANI ,
  OLD_HUNGARIAN ,
  SIGNWRITING
}
 
enum class  Alignment {
  LEFT ,
  CENTER ,
  RIGHT
}
 
enum class  WrapMode {
  WORD ,
  CHAR ,
  WORD_CHAR
}
 
enum class  EllipsizeMode {
  NONE ,
  START ,
  MIDDLE ,
  END
}
 
enum class  TabAlign {
  LEFT ,
  RIGHT ,
  CENTER ,
  DECIMAL
}
 

Functions

void init ()
 Initialize pangomm.
 
ShowFlags operator| (ShowFlags lhs, ShowFlags rhs)
 
ShowFlags operator& (ShowFlags lhs, ShowFlags rhs)
 
ShowFlags operator^ (ShowFlags lhs, ShowFlags rhs)
 
ShowFlags operator~ (ShowFlags flags)
 
ShowFlagsoperator|= (ShowFlags & lhs, ShowFlags rhs)
 
ShowFlagsoperator&= (ShowFlags & lhs, ShowFlags rhs)
 
ShowFlagsoperator^= (ShowFlags & lhs, ShowFlags rhs)
 
FontMask operator| (FontMask lhs, FontMask rhs)
 
FontMask operator& (FontMask lhs, FontMask rhs)
 
FontMask operator^ (FontMask lhs, FontMask rhs)
 
FontMask operator~ (FontMask flags)
 
FontMaskoperator|= (FontMask & lhs, FontMask rhs)
 
FontMaskoperator&= (FontMask & lhs, FontMask rhs)
 
FontMaskoperator^= (FontMask & lhs, FontMask rhs)
 
ShapeFlags operator| (ShapeFlags lhs, ShapeFlags rhs)
 
ShapeFlags operator& (ShapeFlags lhs, ShapeFlags rhs)
 
ShapeFlags operator^ (ShapeFlags lhs, ShapeFlags rhs)
 
ShapeFlags operator~ (ShapeFlags flags)
 
ShapeFlagsoperator|= (ShapeFlags & lhs, ShapeFlags rhs)
 
ShapeFlagsoperator&= (ShapeFlags & lhs, ShapeFlags rhs)
 
ShapeFlagsoperator^= (ShapeFlags & lhs, ShapeFlags rhs)
 

Variables

const int SCALE = 1024
 
const double SCALE_XX_SMALL = 0.5787037037037
 
const double SCALE_X_SMALL = 0.6444444444444
 
const double SCALE_SMALL = 0.8333333333333
 
const double SCALE_MEDIUM = 1.0
 
const double SCALE_LARGE = 1.2
 
const double SCALE_X_LARGE = 1.4399999999999
 
const double SCALE_XX_LARGE = 1.728
 

Typedef Documentation

◆ Glyph

typedef PangoGlyph Pango::Glyph

A Pango::Glyph represents a single glyph in the output form of a string.

◆ GlyphUnit

typedef PangoGlyphUnit Pango::GlyphUnit

A Pango::GlyphUnit is used to store dimensions within Pango.

Dimensions are stored in 1/64ths of a point.

◆ GlyphVisAttr

typedef PangoGlyphVisAttr Pango::GlyphVisAttr

A Pango::GlyphVisAttr is used to communicate information between the shaping phase and the rendering phase.

It's contents are still evolving.

◆ LogAttr

typedef PangoLogAttr Pango::LogAttr

A Pango::LogAttr stores information about the attributes of a single character.

◆ Matrix

typedef PangoMatrix Pango::Matrix

Enumeration Type Documentation

◆ Alignment

enum class Pango::Alignment
strong
Enumerator
LEFT 

Put all available space on the right.

The text appears to the right of the tab stop position.

CENTER 

Center the line within the available space.

The text is centered at the tab stop position until the available space is filled.

Since pangomm 1.50:
RIGHT 

Put all available space on the left.

The text appears to the left of the tab stop position until the available space is filled.

Since pangomm 1.50:

◆ AttrType

enum class Pango::AttrType
strong
Enumerator
INVALID 

Pango::AttrType distinguishes between different types of attributes.

Along with the predefined values, it is possible to allocate additional values for custom attributes using Pango::Attribute::register_type(). The predefined values are given below. The type of structure used to store the attribute is listed in parentheses after the description.

Does not happen.

LANGUAGE 

Language (Pango::AttrLanguage).

FAMILY 

Font family name list (Pango::AttrString).

The font family is specified.

STYLE 

Font slant style (Pango::AttrInt).

The font style is specified.

WEIGHT 

Font weight (Pango::AttrInt).

The font weight is specified.

VARIANT 

Font variant (normal or small caps) (Pango::AttrInt).

The font variant is specified.

STRETCH 

Font stretch (Pango::AttrInt).

The font stretch is specified.

SIZE 

Font size in points scaled by Pango::SCALE (Pango::AttrInt).

The font size is specified.

FONT_DESC 

Font description (Pango::AttrFontDesc).

FOREGROUND 

Foreground color (Pango::AttrColor).

BACKGROUND 

Background color (Pango::AttrColor).

UNDERLINE 

Whether the text has an underline (Pango::AttrInt).

STRIKETHROUGH 

Whether the text is struck-through (Pango::AttrInt).

RISE 

Baseline displacement (Pango::AttrInt).

SHAPE 

Shape (Pango::AttrShape).

SCALE_FACTOR 

Font size scale factor (Pango::AttrFloat).

FALLBACK 

Whether fallback is enabled (Pango::AttrInt).

LETTER_SPACING 

Letter spacing (Pango::PangoAttrInt).

UNDERLINE_COLOR 

Underline color (Pango::AttrColor).

STRIKETHROUGH_COLOR 

Strikethrough color (Pango::AttrColor).

ABSOLUTE_SIZE 

Font size in pixels scaled by Pango::SCALE (Pango::AttrInt).

GRAVITY 

Base text gravity (Pango::AttrInt).

The font gravity is specified (Since: 1.16.).

GRAVITY_HINT 

Gravity hint (Pango::AttrInt).

FONT_FEATURES 

OpenType font features (Pango::AttrFontFeatures).

Since pangomm 1.38:
FOREGROUND_ALPHA 

Foreground alpha (Pango::AttrInt).

Since pangomm 1.38:
BACKGROUND_ALPHA 

Background alpha (Pango::AttrInt).

Since pangomm 1.38:
ALLOW_BREAKS 

Whether breaks are allowed (Pango::AttrInt).

Since pangomm 1.44:
SHOW 

How to render invisible characters (Pango::AttrInt).

Since pangomm 1.44:
INSERT_HYPHENS 

Whether to insert hyphens at intra-word line breaks (Pango::AttrInt).

Since pangomm 1.44:
OVERLINE 

Whether the text has an overline (Pango::AttrInt).

Since pangomm 1.46:
OVERLINE_COLOR 

Overline color (Pango::AttrColor).

Since pangomm 1.46:
LINE_HEIGHT 

Line height factor (Pango::AttrFloat).

Since pangomm 1.50:
ABSOLUTE_LINE_HEIGHT 

Line height (Pango::AttrInt).

Since pangomm 1.50:
TEXT_TRANSFORM 
WORD 

Override segmentation to classify the range of the attribute as a single word (Pango::AttrInt).

Wrap lines at word boundaries.

Since pangomm 1.50:
SENTENCE 

Override segmentation to classify the range of the attribute as a single sentence (Pango::AttrInt).

Since pangomm 1.50:
BASELINE_SHIFT 

Baseline displacement (Pango::AttrInt).

Since pangomm 1.50:
FONT_SCALE 

Font-relative size change (Pango::AttrInt).

Since pangomm 1.50:

◆ Direction

enum class Pango::Direction
strong
Enumerator
LTR 

A strong left-to-right direction.

RTL 

A strong right-to-left direction.

TTB_LTR 

Deprecated value; treated the same as Pango::Direction::RTL.

TTB_RTL 

Deprecated value; treated the same as Pango::Direction::LTR.

WEAK_LTR 

A weak left-to-right direction.

WEAK_RTL 

A weak right-to-left direction.

NEUTRAL 

No direction specified.

◆ EllipsizeMode

enum class Pango::EllipsizeMode
strong
Enumerator
NONE 
START 

Omit characters at the start of the text.

MIDDLE 

Omit characters in the middle of the text.

END 

Omit characters at the end of the text.

◆ FontMask

enum class Pango::FontMask
strong
Enumerator
FAMILY 
STYLE 
VARIANT 
WEIGHT 
STRETCH 
SIZE 
GRAVITY 
VARIATIONS 

OpenType font variations are specified (Since: 1.42).

◆ FontScale

enum class Pango::FontScale
strong
Enumerator
NONE 
SUPERSCRIPT 

Change the font to a size suitable for superscripts.

SUBSCRIPT 

Change the font to a size suitable for subscripts.

SMALL_CAPS 

Change the font to a size suitable for Small Caps.

A font with the lower case characters replaced by smaller variants of the capital characters.

◆ Gravity

enum class Pango::Gravity
strong
Enumerator
SOUTH 

Glyphs stand upright (default)

.

EAST 

Glyphs are rotated 90 degrees counter-clockwise.

.

NORTH 

Glyphs are upside-down.

.

WEST 

Glyphs are rotated 90 degrees clockwise.

.

AUTO 

Gravity is resolved from the context matrix.

◆ GravityHint

enum class Pango::GravityHint
strong
Enumerator
NATURAL 

Scripts will take their natural gravity based on the base gravity and the script.

This is the default.

STRONG 

Always use the base gravity set, regardless of the script.

LINE 

For scripts not in their natural direction (eg.

Latin in East gravity), choose per-script gravity such that every script respects the line progression. This means, Latin and Arabic will take opposite gravities and both flow top-to-bottom for example.

◆ Overline

enum class Pango::Overline
strong
Enumerator
NONE 
SINGLE 

◆ Script

enum class Pango::Script
strong
Enumerator
INVALID_CODE 

A value never returned from pango_script_for_unichar().

COMMON 

A character used by multiple different scripts.

INHERITED 

A mark glyph that takes its script from the base glyph to which it is attached.

ARABIC 

Arabic.

ARMENIAN 

Armenian.

BENGALI 

Bengali.

BOPOMOFO 

Bopomofo.

CHEROKEE 

Cherokee.

COPTIC 

Coptic.

CYRILLIC 

Cyrillic.

DESERET 

Deseret.

DEVANAGARI 

Devanagari.

ETHIOPIC 

Ethiopic.

GEORGIAN 

Georgian.

GOTHIC 

Gothic.

GREEK 

Greek.

GUJARATI 

Gujarati.

GURMUKHI 

Gurmukhi.

HAN 

Han.

HANGUL 

Hangul.

HEBREW 

Hebrew.

HIRAGANA 

Hiragana.

KANNADA 

Kannada.

KATAKANA 

Katakana.

KHMER 

Khmer.

LAO 

Lao.

LATIN 

Latin.

MALAYALAM 

Malayalam.

MONGOLIAN 

Mongolian.

MYANMAR 

Myanmar.

OGHAM 

Ogham.

OLD_ITALIC 

Old Italic.

ORIYA 

Oriya.

RUNIC 

Runic.

SINHALA 

Sinhala.

SYRIAC 

Syriac.

TAMIL 

Tamil.

TELUGU 

Telugu.

THAANA 

Thaana.

THAI 

Thai.

TIBETAN 

Tibetan.

CANADIAN_ABORIGINAL 

Canadian Aboriginal.

YI 

Yi.

TAGALOG 

Tagalog.

HANUNOO 

Hanunoo.

BUHID 

Buhid.

TAGBANWA 

Tagbanwa.

BRAILLE 

Braille.

CYPRIOT 

Cypriot.

LIMBU 

Limbu.

OSMANYA 

Osmanya.

SHAVIAN 

Shavian.

LINEAR_B 

Linear B.

TAI_LE 

Tai Le.

UGARITIC 

Ugaritic.

NEW_TAI_LUE 

New Tai Lue.

Since pangomm 1.10:
BUGINESE 

Buginese.

Since pangomm 1.10:
GLAGOLITIC 

Glagolitic.

Since pangomm 1.10:
TIFINAGH 

Tifinagh.

Since pangomm 1.10:
SYLOTI_NAGRI 

Syloti Nagri.

Since pangomm 1.10:
OLD_PERSIAN 

Old Persian.

Since pangomm 1.10:
KHAROSHTHI 

Kharoshthi.

Since pangomm 1.10:
UNKNOWN 

An unassigned code point.

Since pangomm 1.14:
BALINESE 

Balinese.

Since pangomm 1.14:
CUNEIFORM 

Cuneiform.

Since pangomm 1.14:
PHOENICIAN 

Phoenician.

Since pangomm 1.14:
PHAGS_PA 

Phags-pa.

Since pangomm 1.14:
NKO 

N'Ko.

Since pangomm 1.14:
KAYAH_LI 

Kayah Li.

Since pangomm 1.20.1:
LEPCHA 

Lepcha.

Since pangomm 1.20.1:
REJANG 

Rejang.

Since pangomm 1.20.1:
SUNDANESE 

Sundanese.

Since pangomm 1.20.1:
SAURASHTRA 

Saurashtra.

Since pangomm 1.20.1:
CHAM 

Cham.

Since pangomm 1.20.1:
OL_CHIKI 

Ol Chiki.

Since pangomm 1.20.1:
VAI 

Vai.

Since pangomm 1.20.1:
CARIAN 

Carian.

Since pangomm 1.20.1:
LYCIAN 

Lycian.

Since pangomm 1.20.1:
LYDIAN 

Lydian.

Since pangomm 1.20.1:
BATAK 

Batak.

Since pangomm 1.32:
BRAHMI 

Brahmi.

Since pangomm 1.32:
MANDAIC 

Mandaic.

Since pangomm 1.32:
CHAKMA 

Chakma.

Since pangomm 1.32:
MEROITIC_CURSIVE 

Meroitic Cursive.

Since pangomm 1.32:
MEROITIC_HIEROGLYPHS 

Meroitic Hieroglyphs.

Since pangomm 1.32:
MIAO 

Miao.

Since pangomm 1.32:
SHARADA 

Sharada.

Since pangomm 1.32:
SORA_SOMPENG 

Sora Sompeng.

Since pangomm 1.32:
TAKRI 

Takri.

Since pangomm 1.32:
BASSA_VAH 

Bassa.

Since pangomm 1.40:
CAUCASIAN_ALBANIAN 

Caucasian Albanian.

Since pangomm 1.40:
DUPLOYAN 

Duployan.

Since pangomm 1.40:
ELBASAN 

Elbasan.

Since pangomm 1.40:
GRANTHA 

Grantha.

Since pangomm 1.40:
KHOJKI 

Kjohki.

Since pangomm 1.40:
KHUDAWADI 

Khudawadi, Sindhi.

Since pangomm 1.40:
LINEAR_A 

Linear A.

Since pangomm 1.40:
MAHAJANI 

Mahajani.

Since pangomm 1.40:
MANICHAEAN 

Manichaean.

Since pangomm 1.40:
MENDE_KIKAKUI 

Mende Kikakui.

Since pangomm 1.40:
MODI 

Modi.

Since pangomm 1.40:
MRO 

Mro.

Since pangomm 1.40:
NABATAEAN 

Nabataean.

Since pangomm 1.40:
OLD_NORTH_ARABIAN 

Old North Arabian.

Since pangomm 1.40:
OLD_PERMIC 

Old Permic.

Since pangomm 1.40:
PAHAWH_HMONG 

Pahawh Hmong.

Since pangomm 1.40:
PALMYRENE 

Palmyrene.

Since pangomm 1.40:
PAU_CIN_HAU 

Pau Cin Hau.

Since pangomm 1.40:
PSALTER_PAHLAVI 

Psalter Pahlavi.

Since pangomm 1.40:
SIDDHAM 

Siddham.

Since pangomm 1.40:
TIRHUTA 

Tirhuta.

Since pangomm 1.40:
WARANG_CITI 

Warang Citi.

Since pangomm 1.40:
AHOM 

Ahom.

Since pangomm 1.40:
ANATOLIAN_HIEROGLYPHS 

Anatolian Hieroglyphs.

Since pangomm 1.40:
HATRAN 

Hatran.

Since pangomm 1.40:
MULTANI 

Multani.

Since pangomm 1.40:
OLD_HUNGARIAN 

Old Hungarian.

Since pangomm 1.40:
SIGNWRITING 

Signwriting.

Since pangomm 1.40:

◆ ShapeFlags

enum class Pango::ShapeFlags
strong
Enumerator
NONE 
ROUND_POSITIONS 

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.

◆ ShowFlags

enum class Pango::ShowFlags
strong
Enumerator
NONE 
SPACES 

Render spaces, tabs and newlines visibly.

LINE_BREAKS 

Render line breaks visibly.

IGNORABLES 

Render default-ignorable Unicode characters visibly.

◆ Stretch

enum class Pango::Stretch
strong
Enumerator
ULTRA_CONDENSED 

Ultra condensed width.

EXTRA_CONDENSED 

Extra condensed width.

CONDENSED 

Condensed width.

SEMI_CONDENSED 

Semi condensed width.

NORMAL 
SEMI_EXPANDED 

Semi expanded width.

EXPANDED 

Expanded width.

EXTRA_EXPANDED 

Extra expanded width.

ULTRA_EXPANDED 

Ultra expanded width.

◆ Style

enum class Pango::Style
strong
Enumerator
NORMAL 

The font is upright.

The normal width.

A normal font.

OBLIQUE 

The font is slanted, but in a roman style.

ITALIC 

The font is slanted in an italic style.

◆ TabAlign

enum class Pango::TabAlign
strong
Enumerator
LEFT 
RIGHT 
CENTER 
DECIMAL 

Text before the first occurrence of the decimal point character appears to the left of the tab stop position (until the available space is filled), the rest to the right.

Since pangomm 1.50:

◆ TextTransform

enum class Pango::TextTransform
strong
Enumerator
NONE 
LOWERCASE 

Display letters and numbers as lowercase.

UPPERCASE 

Display letters and numbers as uppercase.

CAPITALIZE 

Display the first character of a word in titlecase.

◆ Underline

enum class Pango::Underline
strong
Enumerator
NONE 

No underline should be drawn.

No ellipsization.

Default value.

Leave the font size unchanged.

Leave text unchanged.

No special treatment for invisible characters.

No overline should be drawn.

SINGLE 

A single underline should be drawn.

Draw a single line above the ink extents of the text being underlined.

DOUBLE 

A double underline should be drawn.

LOW 

A single underline should be drawn at a position beneath the ink extents of the text being underlined.

This should be used only for underlining single characters, such as for keyboard accelerators. Pango::Underline::SINGLE should be used for extended portions of text.

ERROR 

An underline indicating an error should be drawn below.

The exact style of rendering is up to the Pango::Renderer in use, but typical styles include wavy or dotted lines. This underline is typically used to indicate an error such as a possible mispelling; in some cases a contrasting color may automatically be used. This type of underlining is available since Pango 1.4.

SINGLE_LINE 

Like PANGO_UNDERLINE_SINGLE, but drawn continuously across multiple runs.

This type of underlining is available since Pango 1.46.

DOUBLE_LINE 

Like PANGO_UNDERLINE_DOUBLE, but drawn continuously across multiple runs.

This type of underlining is available since Pango 1.46.

ERROR_LINE 

Like PANGO_UNDERLINE_ERROR, but drawn continuously across multiple runs.

This type of underlining is available since Pango 1.46.

◆ Variant

enum class Pango::Variant
strong
Enumerator
NORMAL 
SMALL_CAPS 
ALL_SMALL_CAPS 

A font with all characters replaced by smaller variants of the capital characters.

Since pangomm 1.50:
PETITE_CAPS 

A font with the lower case characters replaced by smaller variants of the capital characters.

Petite Caps can be even smaller than Small Caps.

Since pangomm 1.50:
ALL_PETITE_CAPS 

A font with all characters replaced by smaller variants of the capital characters.

Petite Caps can be even smaller than Small Caps.

Since pangomm 1.50:
UNICASE 

A font with the upper case characters replaced by smaller variants of the capital letters.

Since pangomm 1.50:
TITLE_CAPS 

A font with capital letters that are more suitable for all-uppercase titles.

Since pangomm 1.50:

◆ WrapMode

enum class Pango::WrapMode
strong
Enumerator
WORD 
CHAR 

Wrap lines at character boundaries.

WORD_CHAR 

Wrap lines at word boundaries, but fall back to character boundaries if there is not enough space for a full word.

Function Documentation

◆ init()

void Pango::init ( )

Initialize pangomm.

You may call this more than once. You do not need to call this if you are using Gtk::Main, because it calls it for you.

Variable Documentation

◆ SCALE

const int Pango::SCALE = 1024

◆ SCALE_LARGE

const double Pango::SCALE_LARGE = 1.2

◆ SCALE_MEDIUM

const double Pango::SCALE_MEDIUM = 1.0

◆ SCALE_SMALL

const double Pango::SCALE_SMALL = 0.8333333333333

◆ SCALE_X_LARGE

const double Pango::SCALE_X_LARGE = 1.4399999999999

◆ SCALE_X_SMALL

const double Pango::SCALE_X_SMALL = 0.6444444444444

◆ SCALE_XX_LARGE

const double Pango::SCALE_XX_LARGE = 1.728

◆ SCALE_XX_SMALL

const double Pango::SCALE_XX_SMALL = 0.5787037037037