diff options
author | simonb <simonb> | 2007-01-05 13:43:54 (GMT) |
---|---|---|
committer | simonb <simonb> | 2007-01-05 13:43:54 (GMT) |
commit | ad7fd2d8675141925bdef7c29d3392d6ac6b0db0 (patch) | |
tree | 776c13dccaecc0eeb54c514040ac00a74f347a99 /src/FbTk/XmbFontImp.hh | |
parent | 3a79de034f87df155f540af2186c5d87dc187b3b (diff) | |
download | fluxbox_pavel-ad7fd2d8675141925bdef7c29d3392d6ac6b0db0.zip fluxbox_pavel-ad7fd2d8675141925bdef7c29d3392d6ac6b0db0.tar.bz2 |
fix loading of rotated fonts on style change
Diffstat (limited to 'src/FbTk/XmbFontImp.hh')
-rw-r--r-- | src/FbTk/XmbFontImp.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbTk/XmbFontImp.hh b/src/FbTk/XmbFontImp.hh index 0c8e1a1..992fa90 100644 --- a/src/FbTk/XmbFontImp.hh +++ b/src/FbTk/XmbFontImp.hh | |||
@@ -36,7 +36,7 @@ public: | |||
36 | XmbFontImp(const char *fontname, bool utf8); | 36 | XmbFontImp(const char *fontname, bool utf8); |
37 | ~XmbFontImp(); | 37 | ~XmbFontImp(); |
38 | bool load(const std::string &name); | 38 | bool load(const std::string &name); |
39 | virtual void drawText(const FbDrawable &w, int screen, GC gc, const FbString &text, size_t len, int x, int y, FbTk::Orientation orient) const; | 39 | virtual void drawText(const FbDrawable &w, int screen, GC gc, const FbString &text, size_t len, int x, int y, FbTk::Orientation orient); |
40 | unsigned int textWidth(const FbString &text, unsigned int len) const; | 40 | unsigned int textWidth(const FbString &text, unsigned int len) const; |
41 | unsigned int height() const; | 41 | unsigned int height() const; |
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; } |