restored wrongly removed code

preferencesAboutTextFull
Claudio Valerio 13 years ago
parent dc9dc97a7e
commit 0a839511c0
  1. 6
      src/adaptors/UBCFFSubsetAdaptor.cpp

@ -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);

Loading…
Cancel
Save