Commit fd21874a authored by Claudio Valerio's avatar Claudio Valerio

fixed text issues when changing os

parent 7a4af646
...@@ -677,9 +677,9 @@ bool UBCFFSubsetAdaptor::UBCFFSubsetReader::parseSvgTextarea(const QDomElement & ...@@ -677,9 +677,9 @@ bool UBCFFSubsetAdaptor::UBCFFSubsetReader::parseSvgTextarea(const QDomElement &
QTextCharFormat textFormat; QTextCharFormat textFormat;
textFormat.setFontPointSize(12 * 72 / QApplication::desktop()->physicalDpiY()); textFormat.setFontPointSize(12 * 72 / QApplication::desktop()->physicalDpiY());
textFormat.setForeground(qApp->palette().foreground().color()); textFormat.setForeground(qApp->palette().foreground().color());
textFormat.setFontFamily("Arial"); // textFormat.setFontFamily("Arial");
textFormat.setFontItalic(false); // textFormat.setFontItalic(false);
textFormat.setFontWeight(QFont::Normal); // textFormat.setFontWeight(QFont::Normal);
readTextBlockAttr(element, blockFormat); readTextBlockAttr(element, blockFormat);
readTextCharAttr(element, textFormat); readTextCharAttr(element, textFormat);
......
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