Create a new #PangoXftRenderer to allow rendering Pango objects
with the Xft library. You must call pango_xft_renderer_set_draw() before
using the renderer.
be freed with g_object_unref().
the newly created #PangoXftRenderer, which should
an X display
the index of the screen for @display to which rendering will be done
Sets the #XftDraw object that the renderer is drawing to.
The renderer must not be currently active.
a #XftDraw
Sets the default foreground color for a #XftRenderer.
the default foreground color
Retrieves a #PangoContext appropriate for rendering with
Xft fonts on the given screen of the given display.
pango_font_map_create_context() instead.
the new #PangoContext.
an X display.
an X screen.
Returns the #PangoXftFontmap for the given display and screen.
The fontmap is owned by Pango and will be valid until
the display is closed.
a #PangoFontMap object, owned by Pango.
an X display
the screen number of a screen within @display
Renders a #PangoGlyphString onto an Xrender <type>Picture</type> object.
an X display
the source picture to draw the string with
the destination picture to draw the string onto
the font in which to draw the string
the glyph string to draw
the x position of start of string (in pixels)
the y position of baseline (in pixels)
Renders a #PangoGlyphString onto an <type>XftDraw</type> object wrapping an X drawable.
the <type>XftDraw</type> object.
the color in which to draw the string
the font in which to draw the string
the glyph string to draw
the x position of start of string (in pixels)
the y position of baseline (in pixels)
Render a #PangoLayout onto a #XftDraw
an #XftDraw
the foreground color in which to draw the layout (may be overridden by color attributes)
a #PangoLayout
the X position of the left of the layout (in Pango units)
the Y position of the top of the layout (in Pango units)
Render a #PangoLayoutLine onto a #XftDraw
an #XftDraw
the foreground color in which to draw the layout line (may be overridden by color attributes)
a #PangoLayoutLine
the x position of start of string (in Pango units)
the y position of baseline (in Pango units)
Renders a #PangoGlyphString onto a #XftDraw, possibly
transforming the layed-out coordinates through a transformation
matrix. Note that the transformation matrix for @font is not
changed, so to produce correct rendering results, the @font
must have been loaded using a #PangoContext with an identical
transformation matrix to that passed in to this function.
an #XftDraw
the color in which to draw the glyphs
a #PangoMatrix, or %NULL to use an identity transformation
the font in which to draw the string
the glyph string to draw
the x position of the start of the string (in Pango units in user space coordinates)
the y position of the baseline (in Pango units in user space coordinates)
Sets a function that will be called to do final configuration
substitution on a #FcPattern before it is used to load
the font. This function can be used to do things like set
hinting and antialiasing options.
an X Display
the screen number of a screen within @display
function to call to to do final config tweaking on #FcPattern objects.
data to pass to @func
function to call when @data is no longer used.
Release any resources that have been cached for the
combination of @display and @screen. Note that when the
X display is closed, resources are released automatically,
without needing to call this function.
an X display
the screen number of a screen within @display
Call this function any time the results of the
default substitution function set with
pango_xft_set_default_substitute() change.
That is, if your substitution function will return different
results for the same input pattern, you must call this function.
an X Display
the screen number of a screen within @display