Add a comment since our current fix is not really acceptable.
authorstaikos <staikos@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 29 Mar 2007 19:00:27 +0000 (19:00 +0000)
committerstaikos <staikos@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 29 Mar 2007 19:00:27 +0000 (19:00 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@20579 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/platform/qt/FontQt.cpp

index 06189fe890606c740131d673ceef98620b51099c..7d7c4c1f05c9ccd66a88018665b11aab9f72cdeb 100644 (file)
@@ -52,6 +52,8 @@ void Font::drawGlyphs(GraphicsContext* graphicsContext, const FontData* font, co
     p.setPen(QColor(color));
     p.setFont(font->platformData().font());
 
+    // TODO: rework this to make justified text work.  Qt doesn't provide a good
+    // API to solve this problem yet.
     const QChar* buffer = reinterpret_cast<const QChar*>(glyphBuffer.glyphs(from));
     QString str = QString::fromRawData(buffer, numGlyphs);