Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.14.2, 5.15
-
96cea3b1681dd24a0ec3a53078b78f902e3211a6 (qt/qtbase/dev) 31048d97ac4ebbacd47e8474887a2bf0c232f2dd (qt/qtbase/5.15)
Description
letter-spacing and word-spacing of QFont, when saved in html format, are not stored in String.
QFont myDatumSpezialFont = QFont("Arial", 12, QFont::Normal); myDatumSpezialFont.setLetterSpacing(QFont::AbsoluteSpacing, 13); myDatumSpezialFont.setWordSpacing(15); QTextDocument test("This is a test"); test.setDefaultFont(myDatumSpezialFont); QString s0 = test.toHtml();
Like with above code, we won’t see any information about letter-spacing or word-spacing in the saved HTML string
Attachments
Issue Links
- relates to
-
QTBUG-79410 paste() of QTextEdit doesn't apply all formats
- Reported
-
QTBUG-96448 Per-fragment letter-spacing in QTextDocument::toHtml()
- Reported