projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Finished review of the first 1,000 lines of grid.h interface header.
[wxWidgets.git]
/
src
/
x11
/
pango_x.cpp
diff --git
a/src/x11/pango_x.cpp
b/src/x11/pango_x.cpp
index e3e12e3dec2937f00d08ac018aef71b902b4b77e..405514c43aa5a153dceb769f5f571bd4ec171329 100644
(file)
--- a/
src/x11/pango_x.cpp
+++ b/
src/x11/pango_x.cpp
@@
-2,6
+2,7
@@
* This file gets included from dcclient.cpp and implements
* the X11 interface to Pango.
* Copyright (C) Owen Taylor and Robert Roebling.
* 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 */
*/
/* Declaration */
@@
-63,6
+64,7
@@
x11_draw_glyphs( Drawable drawable,
PangoGlyphString *glyphs,
wxColour &colour )
{
PangoGlyphString *glyphs,
wxColour &colour )
{
+#ifdef HAVE_PANGO_XFT
if (PANGO_XFT_IS_FONT (font))
{
Display* xdisplay = wxGlobalDisplay();
if (PANGO_XFT_IS_FONT (font))
{
Display* xdisplay = wxGlobalDisplay();
@@
-83,6
+85,7
@@
x11_draw_glyphs( Drawable drawable,
XftDrawDestroy( draw );
}
else
XftDrawDestroy( draw );
}
else
+#endif
{
pango_x_render( wxGlobalDisplay(), drawable, gc, font, glyphs, x, y );
}
{
pango_x_render( wxGlobalDisplay(), drawable, gc, font, glyphs, x, y );
}