Commit 2c6ec356 authored by Craig Watson's avatar Craig Watson

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)
parent 4f5cf9d1
......@@ -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)
......
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