X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Ffont.hh;h=2ffa39a51b2ecd40b483cb68f7d6b935aeb8ce60;hb=805a5dddce6d072c3a3e2485585ee5630688a845;hp=9091b9bcf857638ba9f3bbfb65147000fcfd7eac;hpb=8f8acc24933830d4f5784616b9b0c5896bde0b93;p=chaz%2Fopenbox diff --git a/otk/font.hh b/otk/font.hh index 9091b9bc..2ffa39a5 100644 --- a/otk/font.hh +++ b/otk/font.hh @@ -58,7 +58,7 @@ public: unsigned int maxCharWidth() const; unsigned int measureString(const std::string &string, - bool utf8 = false) const; + bool utf8 = true) const; //! Draws a string into an XftDraw object /*! @@ -66,7 +66,7 @@ public: different screens, you WILL have unpredictable results! :) */ void drawString(XftDraw *d, int x, int y, const Color &color, - const std::string &string, bool utf8 = false) const; + const std::string &string, bool utf8 = true) const; }; }