Don't scale text items when importing a document

Just commented out the line since I'm not 100% sure it can be removed
(though I can't find a case where it is useful)
preferencesAboutTextFull
Craig Watson 9 years ago
parent 4f5cf9d1a5
commit 2c6ec356ea
  1. 2
      src/adaptors/UBSvgSubsetAdaptor.cpp

@ -828,7 +828,7 @@ UBGraphicsScene* UBSvgSubsetAdaptor::UBSvgSubsetReader::loadScene()
QDesktopWidget* desktop = UBApplication::desktop();
qreal currentDpi = (desktop->physicalDpiX() + desktop->physicalDpiY()) / 2;
qreal textSizeMultiplier = qreal(UBSettings::pageDpi)/currentDpi;
textDelegate->scaleTextSize(textSizeMultiplier);
//textDelegate->scaleTextSize(textSizeMultiplier);
}
if (textItem)

Loading…
Cancel
Save