Commit dd4e40c2 authored by staikos's avatar staikos

Add a comment since our current fix is not really acceptable.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20579 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 64c14577
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment