| Pango Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | ||||
PangoXftFont; PangoXftFontMap; #define PANGO_RENDER_TYPE_XFT PangoContext * pango_xft_get_context (Display *display,int screen); PangoFontMap * pango_xft_get_font_map (Display *display,int screen); void pango_xft_set_default_substitute (Display *display,int screen,PangoXftSubstituteFunc func,gpointer data,GDestroyNotify notify); void (*PangoXftSubstituteFunc) (FcPattern *pattern,gpointer data); void pango_xft_substitute_changed (Display *display,int screen); void pango_xft_shutdown_display (Display *display,int screen); XftFont * pango_xft_font_get_font (PangoFont *font); Display * pango_xft_font_get_display (PangoFont *font); gboolean pango_xft_font_has_char (PangoFont *font,gunichar wc); FT_Face pango_xft_font_lock_face (PangoFont *font); void pango_xft_font_unlock_face (PangoFont *font); guint pango_xft_font_get_glyph (PangoFont *font,gunichar wc); PangoGlyph pango_xft_font_get_unknown_glyph (PangoFont *font,gunichar wc); struct PangoXftRenderer; struct PangoXftRendererClass; PangoRenderer * pango_xft_renderer_new (Display *display,int screen); void pango_xft_renderer_set_draw (PangoXftRenderer *xftrenderer,XftDraw *draw); void pango_xft_renderer_set_default_color (PangoXftRenderer *xftrenderer,PangoColor *default_color); void pango_xft_render (XftDraw *draw,XftColor *color,PangoFont *font,PangoGlyphString *glyphs,gint x,gint y); void pango_xft_picture_render (Display *display,Picture src_picture,Picture dest_picture,PangoFont *font,PangoGlyphString *glyphs,gint x,gint y); void pango_xft_render_transformed (XftDraw *draw,XftColor *color,PangoMatrix *matrix,PangoFont *font,PangoGlyphString *glyphs,int x,int y); void pango_xft_render_layout_line (XftDraw *draw,XftColor *color,PangoLayoutLine *line,int x,int y); void pango_xft_render_layout (XftDraw *draw,XftColor *color,PangoLayout *layout,int x,int y);
GObject +----PangoFont +----PangoFcFont +----PangoXftFont
GObject +----PangoFontMap +----PangoFcFontMap +----PangoXftFontMap
GObject +----PangoRenderer +----PangoXftRenderer
The Xft library is a library for displaying fonts on the X window system; internally it uses the fontconfig library to locate font files, and the FreeType library to load and render fonts. The Xft backend is the recommended Pango font backend for screen display with X. (The Cairo back end is another possibility.)
Using the Xft backend is generally straightforward;
pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() creates a context for a specified display
and screen. You can then createode class="function">pango_xft_get_context() cr