#PangoXftFont is an implementation of #PangoFcFont using the Xft
library for rendering. It is used in conjunction with #PangoXftFontMap.
Returns the X display of the XftFont of a font.
the X display of the XftFont associated to @font.
a #PangoFont.
Returns the XftFont of a font.
the XftFont associated to @font, or %NULL
if @font is %NULL.
a #PangoFont.
Gets the glyph index for a given Unicode character
for @font. If you only want to determine
whether the font has the glyph, use pango_xft_font_has_char().
Use pango_fc_font_get_glyph() instead.
the glyph index, or 0, if the Unicode
character does not exist in the font.
a #PangoFont for the Xft backend
Unicode codepoint to look up
Returns the index of a glyph suitable for drawing @wc as an
unknown character.
Use PANGO_GET_UNKNOWN_GLYPH() instead.
a glyph index into @font.
a #PangoFont.
the Unicode character for which a glyph is needed.
Determines whether @font has a glyph for the codepoint @wc.
Use pango_fc_font_has_char() instead.
%TRUE if @font has the requested codepoint.
a #PangoFont for the Xft backend
Unicode codepoint to look up
Gets the FreeType <type>FT_Face</type> associated with a font,
This face will be kept around until you call
pango_xft_font_unlock_face().
Use pango_fc_font_lock_face() instead.
the FreeType <type>FT_Face</type> associated with @font.
a #PangoFont.
Releases a font previously obtained with
pango_xft_font_lock_face().
Use pango_fc_font_unlock_face() instead.
a #PangoFont.
#PangoXftFontMap is an implementation of #PangoFcFontMap suitable for
the Xft library as the renderer. It is used in to create fonts of
type #PangoXftFont.
#PangoXftRenderer is a subclass of #PangoRenderer used for rendering
with Pango's Xft backend. It can be used directly, or it can be
further subclassed to modify exactly how drawing of individual
elements occurs.
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.
the newly created #PangoXftRenderer, which should
be freed with g_object_unref().
an X display
the index of the screen for @display to which rendering will be done
Sets the default foreground color for a #XftRenderer.
a #XftRenderer
the default foreground color
Sets the #XftDraw object that the renderer is drawing to.
The renderer must not be currently active.
a #PangoXftRenderer
a #XftDraw
The class structure for #PangoXftRenderer
Function type for doing final config tweaking on prepared FcPatterns.
the FcPattern to tweak.
user data.
Retrieves a #PangoContext appropriate for rendering with
Xft fonts on the given screen of the given display.
Use pango_xft_get_font_map() followed by
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