Namespace
Pango – 1.0
Internationalized text layout and rendering
Dependencies
GObject—2.0 | The base type system library |
Browse documentation | |
HarfBuzz—0.0 | A text shaping library |
Browse documentation |
Classes
Context | A |
Coverage | A |
Font | A |
FontFace | A |
FontFamily | A |
FontMap | A |
Fontset | A |
FontsetSimple |
|
Layout | A |
Renderer |
|
Structs
Analysis | The |
AttrClass | The |
AttrColor | The |
AttrFloat | The |
AttrFontDesc | The |
AttrFontFeatures | The |
Attribute | The |
AttrInt | The |
AttrIterator | A |
AttrLanguage | The |
AttrList | A |
AttrShape | The |
AttrSize | The |
AttrString | The |
Color | The |
FontDescription | A |
FontMetrics | A |
GlyphGeometry | The |
GlyphInfo | A |
GlyphItem | A |
GlyphItemIter | A |
GlyphString | A |
GlyphVisAttr | A |
Item | The |
Language | The |
LayoutIter | A |
LayoutLine | A |
LogAttr | The |
Matrix | A |
Rectangle | The |
ScriptIter | A |
TabArray | A |
Enumerations
Alignment |
|
AttrType | The |
BaselineShift | An enumeration that affects baseline shifts between runs. |
BidiType |
|
CoverageLevel |
|
Direction |
|
EllipsizeMode |
|
FontScale | An enumeration that affects font sizes for superscript and subscript positioning and for (emulated) Small Caps. |
Gravity |
|
GravityHint |
|
Overline | The |
RenderPart |
|
Script | The |
Stretch | An enumeration specifying the width of the font relative to other designs within a family. |
Style | An enumeration specifying the various slant styles possible for a font. |
TabAlign |
|
TextTransform | An enumeration that affects how Pango treats characters during shaping. |
Underline | The |
Variant | An enumeration specifying capitalization variant of the font. |
Weight | An enumeration specifying the weight (boldness) of a font. |
WrapMode |
|
Bitfields
FontMask | The bits in a |
LayoutDeserializeFlags | Flags that influence the behavior of |
LayoutSerializeFlags | Flags that influence the behavior of |
ShapeFlags | Flags influencing the shaping process. |
ShowFlags | These flags affect how Pango treats characters that are normally not visible in the output. |
Error Domains
LayoutDeserializeError | Errors that can be returned by |
Callbacks
AttrDataCopyFunc | Type of a function that can duplicate user data for an attribute. |
AttrFilterFunc | Type of a function filtering a list of attributes. |
FontsetForeachFunc | Callback used when enumerating fonts in a fontset. |
Functions
attr_allow_breaks_new | Create a new allow-breaks attribute. |
attr_background_alpha_new | Create a new background alpha attribute. |
attr_background_new | Create a new background color attribute. |
attr_baseline_shift_new | Create a new baseline displacement attribute. |
attr_break | Apply customization from attributes to the breaks in |
attr_fallback_new | Create a new font fallback attribute. |
attr_family_new | Create a new font family attribute. |
attr_font_scale_new | Create a new font scale attribute. |
attr_foreground_alpha_new | Create a new foreground alpha attribute. |
attr_foreground_new | Create a new foreground color attribute. |
attr_gravity_hint_new | Create a new gravity hint attribute. |
attr_gravity_new | Create a new gravity attribute. |
attr_insert_hyphens_new | Create a new insert-hyphens attribute. |
attr_letter_spacing_new | Create a new letter-spacing attribute. |
attr_line_height_new | Modify the height of logical line extents by a factor. |
attr_line_height_new_absolute | Override the height of logical line extents to be |
attr_overline_color_new | Create a new overline color attribute. |
attr_overline_new | Create a new overline-style attribute. |
attr_rise_new | Create a new baseline displacement attribute. |
attr_scale_new | Create a new font size scale attribute. |
attr_sentence_new | Marks the range of the attribute as a single sentence. |
attr_show_new | Create a new attribute that influences how invisible characters are rendered. |
attr_stretch_new | Create a new font stretch attribute. |
attr_strikethrough_color_new | Create a new strikethrough color attribute. |
attr_strikethrough_new | Create a new strike-through attribute. |
attr_style_new | Create a new font slant style attribute. |
attr_text_transform_new | Create a new attribute that influences how characters are transformed during shaping. |
attr_underline_color_new | Create a new underline color attribute. |
attr_underline_new | Create a new underline-style attribute. |
attr_variant_new | Create a new font variant attribute (normal or small caps). |
attr_weight_new | Create a new font weight attribute. |
attr_word_new | Marks the range of the attribute as a single word. |
break | Determines possible line, word, and character breaks for a string of Unicode text with a single analysis. |
default_break | This is the default break algorithm. |
extents_to_pixels | Converts extents from Pango units to device units. |
find_base_dir | Searches a string the first character that has a strong direction, according to the Unicode bidirectional algorithm. |
find_paragraph_boundary | Locates a paragraph boundary in |
get_log_attrs | Computes a |
get_mirror_char | Returns the mirrored character of a Unicode character. |
is_zero_width | Checks if a character that should not be normally rendered. |
itemize | Breaks a piece of text into segments with consistent directional level and font. |
itemize_with_base_dir | Like |
log2vis_get_embedding_levels | Return the bidirectional embedding levels of the input paragraph. |
markup_parser_finish | Finishes parsing markup. |
markup_parser_new | Incrementally parses marked-up text to create a plain-text string and an attribute list. |
parse_enum | Parses an enum type and stores the result in |
parse_markup | Parses marked-up text to create a plain-text string and an attribute list. |
parse_stretch | Parses a font stretch. |
parse_style | Parses a font style. |
parse_variant | Parses a font variant. |
parse_weight | Parses a font weight. |
quantize_line_geometry | Quantizes the thickness and position of a line to whole device pixels. |
read_line | Reads an entire line from a file into a buffer. |
reorder_items | Reorder items from logical order to visual order. |
scan_int | Scans an integer. |
scan_string | Scans a string into a |
scan_word | Scans a word into a |
shape | Convert the characters in |
shape_full | Convert the characters in |
shape_item | Convert the characters in |
shape_with_flags | Convert the characters in |
skip_space | Skips 0 or more characters of white space. |
split_file_list | Splits a |
tailor_break | Apply language-specific tailoring to the breaks in |
trim_string | Trims leading and trailing whitespace from a string. |
unichar_direction | Determines the inherent direction of a character. |
units_from_double | Converts a floating-point number to Pango units. |
units_to_double | Converts a number in Pango units to floating-point. |
version | Returns the encoded version of Pango available at run-time. |
version_check | Checks that the Pango library in use is compatible with the given version. |
version_string | Returns the version of Pango available at run-time. |
Function Macros
ASCENT | Extracts the ascent from a |
DESCENT | Extracts the descent from a |
LBEARING | Extracts the left bearing from a |
PIXELS | Converts a dimension to device units by rounding. |
PIXELS_CEIL | Converts a dimension to device units by ceiling. |
PIXELS_FLOOR | Converts a dimension to device units by flooring. |
RBEARING | Extracts the right bearing from a |
UNITS_CEIL | Rounds a dimension up to whole device units, but does not convert it to device units. |
UNITS_FLOOR | Rounds a dimension down to whole device units, but does not convert it to device units. |
UNITS_ROUND | Rounds a dimension to whole device units, but does not convert it to device units. |
VERSION_CHECK | Checks that the version of Pango available at compile-time is not older than the provided version number. |
VERSION_ENCODE | This macro encodes the given Pango version into an integer. The numbers
returned by |
Constants
ANALYSIS_FLAG_CENTERED_BASELINE | Whether the segment should be shifted to center around the baseline. |
ANALYSIS_FLAG_IS_ELLIPSIS | Whether this run holds ellipsized text. |
ANALYSIS_FLAG_NEED_HYPHEN | Whether to add a hyphen at the end of the run during shaping. |
ATTR_INDEX_FROM_TEXT_BEGINNING | Value for |
ATTR_INDEX_TO_TEXT_END | Value for |
GLYPH_EMPTY | A |
GLYPH_INVALID_INPUT | A |
GLYPH_UNKNOWN_FLAG | Flag used in |
SCALE | The scale between dimensions used for Pango distances and device units. |
VERSION_MAJOR | The major component of the version of Pango available at compile-time. |
VERSION_MICRO | The micro component of the version of Pango available at compile-time. |
VERSION_MINOR | The minor component of the version of Pango available at compile-time. |
VERSION_STRING | A string literal containing the version of Pango available at compile-time. |