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

List:       kde-commits
Subject:    branches/work/unity
From:       Simon Hausmann <hausmann () kde ! org>
Date:       2006-07-11 19:17:19
Message-ID: 1152645439.424815.9117.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 561268 by hausmann:

 r235@rhea (orig r234):  shausman | 2006-07-09 19:27:39 +0200
 - get metrics for simple text working
 


 _M            . (directory)  
 M  +1 -1      WebKit/WebCore/platform/qt/FontDataQt.cpp  


--- branches/work/unity/WebKit/WebCore/platform/qt/FontDataQt.cpp #561267:561268
@@ -74,7 +74,7 @@
 
 float FontData::platformWidthForGlyph(Glyph glyph) const
 {
-   return 0.1;
+   return QFontMetricsF(m_font.font()).width(QChar(ushort(glyph)));
 }
 
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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