1 <!-- ##### SECTION Title ##### -->
2 Deprecated X font backend
4 <!-- ##### SECTION Short_Description ##### -->
5 Font handling and rendering with the deprecated X font backend
7 <!-- ##### SECTION Long_Description ##### -->
9 The functions and macros in this section are for use with the old
10 X font backend which used server-side bitmap fonts. This font backend
11 is no longer supported, and attempts to use it will produce
12 unpredictable results. Use the <link linkend="pango-Xft-Fonts-and-Rendering">Xft</link>
13 or <link linkend="pango-Cairo-Rendering">Cairo</link> backend instead.
16 <!-- ##### SECTION See_Also ##### -->
21 <!-- ##### SECTION Stability_Level ##### -->
24 <!-- ##### MACRO PANGO_RENDER_TYPE_X ##### -->
26 A string constant identifying the X renderer. The associated quark (see
27 g_quark_from_string()) is used to identify the renderer in pango_find_map().
32 <!-- ##### FUNCTION pango_x_get_context ##### -->
41 <!-- ##### FUNCTION pango_x_context_set_funcs ##### -->
51 <!-- ##### USER_FUNCTION PangoGetGCFunc ##### -->
53 Specifies the type of the function used to create a new GC for a given
57 @context: a #PangoContext.
58 @color: the color to create a new GC for.
59 @base_gc: the GC to base the new GC on.
63 <!-- ##### USER_FUNCTION PangoFreeGCFunc ##### -->
65 Specifies the type of the function used to free a GC created with
66 the corresponding #PangoGetGCFunc function.
69 @context: a #PangoContext.
73 <!-- ##### FUNCTION pango_x_render ##### -->
87 <!-- ##### FUNCTION pango_x_render_layout_line ##### -->
100 <!-- ##### FUNCTION pango_x_render_layout ##### -->
113 <!-- ##### TYPEDEF PangoXSubfont ##### -->
115 The #PangoXSubFont type is an integer ID that identifies one
116 particular X font within the fonts referenced in a #PangoFont.
120 <!-- ##### MACRO PANGO_X_MAKE_GLYPH ##### -->
122 Make a glyph index from a #PangoXSubFont index and a index
123 of a character with the corresponding X font.
126 @subfont: a #PangoXSubfont index
127 @index_: the index of a character within an X font.
130 <!-- ##### MACRO PANGO_X_GLYPH_SUBFONT ##### -->
132 Extract the subfont index from a glyph index.
135 @glyph: a #PangoGlyphIndex
138 <!-- ##### MACRO PANGO_X_GLYPH_INDEX ##### -->
140 Extract the character index within the X font from a
144 @glyph: a #PangoGlyphIndex
147 <!-- ##### FUNCTION pango_x_load_font ##### -->
157 <!-- ##### FUNCTION pango_x_get_unknown_glyph ##### -->
166 <!-- ##### FUNCTION pango_x_has_glyph ##### -->
176 <!-- ##### FUNCTION pango_x_list_subfonts ##### -->
189 <!-- ##### FUNCTION pango_x_font_map_for_display ##### -->
198 <!-- ##### FUNCTION pango_x_shutdown_display ##### -->
206 <!-- ##### FUNCTION pango_x_font_map_get_font_cache ##### -->
215 <!-- ##### FUNCTION pango_x_font_subfont_xlfd ##### -->
225 <!-- ##### FUNCTION pango_x_find_first_subfont ##### -->
237 <!-- ##### FUNCTION pango_x_font_get_unknown_glyph ##### -->
247 <!-- ##### FUNCTION pango_x_apply_ligatures ##### -->
260 <!-- ##### FUNCTION pango_x_fallback_shape ##### -->
271 <!-- ##### STRUCT PangoXFontCache ##### -->
273 A #PangoXFontCache caches
274 <type>XFontStructs</type> for a single display by their XLFD name.
278 <!-- ##### FUNCTION pango_x_font_cache_new ##### -->
287 <!-- ##### FUNCTION pango_x_font_cache_free ##### -->
295 <!-- ##### FUNCTION pango_x_font_cache_load ##### -->
305 <!-- ##### FUNCTION pango_x_font_cache_unload ##### -->