[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/lib/kotext
From:       David Faure <faure () kde ! org>
Date:       2003-01-29 12:14:20
[Download RAW message or body]

CVS commit by faure: 

Draw the hyphen as a hyphen...


  M +1 -1      kotextparag.cc   1.152


--- koffice/lib/kotext/kotextparag.cc  #1.151:1.152
@@ -870,5 +870,5 @@ void KoTextParag::drawParagStringInterna
             kdDebug(32500) << "drawing hyphen at x=" << startX+bw << endl;
 #endif
-            painter.drawText( startX + bw, lastY + baseLine, "\xad" );
+            painter.drawText( startX + bw, lastY + baseLine, "-" ); // \xad gives \
squares with some fonts (!?)  }
     }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic