-
Bug
-
Resolution: Done
-
Not Evaluated
-
4.5.2
-
None
qtextodfwriter.cpp, line 553 +
if (format.hasProperty(QTextFormat::FontLetterSpacing))
writer.writeAttribute(foNS, QString::fromLatin1("letter-spacing"), pixelToPoint(format.fontLetterSpacing()) );
if (format.hasProperty(QTextFormat::FontWordSpacing))
writer.writeAttribute(foNS, QString::fromLatin1("letter-spacing"), pixelToPoint(format.fontWordSpacing()) );
When the format has property QTextFormat::FontWordSpacing, the node created should be "word-spacing", not "letter-spacing".