diff options
author | mathias <mathias> | 2004-11-19 12:00:20 (GMT) |
---|---|---|
committer | mathias <mathias> | 2004-11-19 12:00:20 (GMT) |
commit | 66a3fc1c4dfa2cb68e650257e0bd10f2906c0d39 (patch) | |
tree | 76f6052a4f5e52288107a78d4307fd719c20b5f6 /src/FbTk/XmbFontImp.hh | |
parent | 993c17cf2efd3caba5241276c268909197dd3681 (diff) | |
download | fluxbox-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/XmbFontImp.hh')
-rw-r--r-- | src/FbTk/XmbFontImp.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/FbTk/XmbFontImp.hh b/src/FbTk/XmbFontImp.hh index ac9f0ee..cba6001 100644 --- a/src/FbTk/XmbFontImp.hh +++ b/src/FbTk/XmbFontImp.hh | |||
@@ -42,10 +42,11 @@ public: | |||
42 | int ascent() const { return m_setextents ? -m_setextents->max_ink_extent.y : 0; } | 42 | int ascent() const { return m_setextents ? -m_setextents->max_ink_extent.y : 0; } |
43 | int descent() const { return m_setextents ? m_setextents->max_ink_extent.height + m_setextents->max_ink_extent.y : 0; } | 43 | int descent() const { return m_setextents ? m_setextents->max_ink_extent.height + m_setextents->max_ink_extent.y : 0; } |
44 | bool loaded() const { return m_fontset != 0; } | 44 | bool loaded() const { return m_fontset != 0; } |
45 | bool utf8() const { return m_utf8mode; } | ||
45 | private: | 46 | private: |
46 | XFontSet m_fontset; | 47 | XFontSet m_fontset; |
47 | XFontSetExtents *m_setextents; | 48 | XFontSetExtents *m_setextents; |
48 | const bool m_utf8mode; | 49 | bool m_utf8mode; |
49 | }; | 50 | }; |
50 | 51 | ||
51 | } // end namespace FbTk | 52 | } // end namespace FbTk |