Commit dd4e40c2 authored by staikos's avatar staikos
Browse files

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

git-svn-id: 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 64c14577
......@@ -52,6 +52,8 @@ void Font::drawGlyphs(GraphicsContext* graphicsContext, const FontData* font, co
// 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);
Supports Markdown
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