* This file gets included from dcclient.cpp and implements
* the X11 interface to Pango.
* Copyright (C) Owen Taylor and Robert Roebling.
+ * Licence: The wxWindows licence
*/
/* Declaration */
PangoGlyphString *glyphs,
wxColour &colour )
{
+#ifdef HAVE_PANGO_XFT
if (PANGO_XFT_IS_FONT (font))
{
Display* xdisplay = wxGlobalDisplay();
XftDrawDestroy( draw );
}
else
+#endif
{
pango_x_render( wxGlobalDisplay(), drawable, gc, font, glyphs, x, y );
}