]> Dogcows Code - chaz/openbox/blobdiff - otk/font.hh
default to drawing as utf8
[chaz/openbox] / otk / font.hh
index 9091b9bcf857638ba9f3bbfb65147000fcfd7eac..2ffa39a51b2ecd40b483cb68f7d6b935aeb8ce60 100644 (file)
@@ -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;
 };
 
 }
This page took 0.021979 seconds and 4 git commands to generate.