Deprecated X font backend
Font handling and rendering with the deprecated X font backend
The functions and macros in this section are for use with the old
X font backend which used server-side bitmap fonts. This font backend
is no longer supported, and attempts to use it will produce
unpredictable results. Use the Xft
or Cairo backend instead.
A string constant identifying the X renderer. The associated quark (see
g_quark_from_string()) is used to identify the renderer in pango_find_map().
@display:
@Returns:
@context:
@get_gc_func:
@free_gc_func:
Specifies the type of the function used to create a new GC for a given
color.
@context: a #PangoContext.
@color: the color to create a new GC for.
@base_gc: the GC to base the new GC on.
@Returns: the new GC.
Specifies the type of the function used to free a GC created with
the corresponding #PangoGetGCFunc function.
@context: a #PangoContext.
@gc: the GC to free.
@display:
@d:
@gc:
@font:
@glyphs:
@x:
@y:
@display:
@drawable:
@gc:
@line:
@x:
@y:
@display:
@drawable:
@gc:
@layout:
@x:
@y:
The #PangoXSubFont type is an integer ID that identifies one
particular X font within the fonts referenced in a #PangoFont.
Make a glyph index from a #PangoXSubFont index and a index
of a character with the corresponding X font.
@subfont: a #PangoXSubfont index
@index_: the index of a character within an X font.
Extract the subfont index from a glyph index.
@glyph: a #PangoGlyphIndex
Extract the character index within the X font from a
glyph index.
@glyph: a #PangoGlyphIndex
@display:
@spec:
@Returns:
@font:
@Returns:
@font:
@glyph:
@Returns:
@font:
@charsets:
@n_charsets:
@subfont_ids:
@subfont_charsets:
@Returns:
@display:
@Returns:
@display:
@font_map:
@Returns:
@font:
@subfont_id:
@Returns:
@font:
@charsets:
@n_charsets:
@rfont:
@Returns:
@font:
@wc:
@Returns:
@font:
@subfont:
@glyphs:
@n_glyphs:
@clusters:
@Returns:
@font:
@glyphs:
@text:
@n_chars:
A #PangoXFontCache caches
#XFontStructs for a single display by their XLFD name.
@display:
@Returns:
@cache:
@cache:
@xlfd:
@Returns:
@cache:
@fs: