aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/XftFontImp.hh
diff options
context:
space:
mode:
authormathias <mathias>2004-11-19 12:00:20 (GMT)
committermathias <mathias>2004-11-19 12:00:20 (GMT)
commit66a3fc1c4dfa2cb68e650257e0bd10f2906c0d39 (patch)
tree76f6052a4f5e52288107a78d4307fd719c20b5f6 /src/FbTk/XftFontImp.hh
parent993c17cf2efd3caba5241276c268909197dd3681 (diff)
downloadfluxbox-66a3fc1c4dfa2cb68e650257e0bd10f2906c0d39.zip
fluxbox-66a3fc1c4dfa2cb68e650257e0bd10f2906c0d39.tar.bz2
fixes fontsituations when text disappears in non-antialias mode
primary problem was to use utf8 when in fact the FontSet wasnt utf8.
Diffstat (limited to 'src/FbTk/XftFontImp.hh')
-rw-r--r--src/FbTk/XftFontImp.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/FbTk/XftFontImp.hh b/src/FbTk/XftFontImp.hh
index c04084d..466f58d 100644
--- a/src/FbTk/XftFontImp.hh
+++ b/src/FbTk/XftFontImp.hh
@@ -42,6 +42,7 @@ public:
42 int ascent() const { return m_xftfont ? m_xftfont->ascent : 0; } 42 int ascent() const { return m_xftfont ? m_xftfont->ascent : 0; }
43 int descent() const { return m_xftfont ? m_xftfont->descent : 0; } 43 int descent() const { return m_xftfont ? m_xftfont->descent : 0; }
44 bool loaded() const { return m_xftfont != 0; } 44 bool loaded() const { return m_xftfont != 0; }
45 bool utf8() const { return m_utf8mode; }
45private: 46private:
46 XftFont *m_xftfont; 47 XftFont *m_xftfont;
47 bool m_utf8mode; 48 bool m_utf8mode;