summaryrefslogtreecommitdiff
path: root/src/drivers/Xlib/Fl_Font.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/Xlib/Fl_Font.H')
-rw-r--r--src/drivers/Xlib/Fl_Font.H8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/drivers/Xlib/Fl_Font.H b/src/drivers/Xlib/Fl_Font.H
index d3b121bef..0bc4b200e 100644
--- a/src/drivers/Xlib/Fl_Font.H
+++ b/src/drivers/Xlib/Fl_Font.H
@@ -45,8 +45,12 @@ public:
Fl_Fontsize size; /**< font size */
#ifndef FL_DOXYGEN // don't bother with platorm dependant details in the doc.
# if USE_XFT
- XftFont* font;
- //const char* encoding;
+# if USE_PANGO
+ int descent_;
+ int height_;
+# else
+ XftFont* font;
+# endif
int angle;
FL_EXPORT Fl_Font_Descriptor(const char* xfontname, Fl_Fontsize size, int angle);
# else