@ -1034,6 +1034,10 @@ void UBSvgSubsetAdaptor::UBSvgSubsetWriter::writeSvgElement()
mXmlWriter . writeAttribute ( UBSettings : : uniboardDocumentNamespaceUri , " crossed-background " , mScene - > isCrossedBackground ( ) ? xmlTrue : xmlFalse ) ;
mXmlWriter . writeAttribute ( UBSettings : : uniboardDocumentNamespaceUri , " crossed-background " , mScene - > isCrossedBackground ( ) ? xmlTrue : xmlFalse ) ;
QDesktopWidget * desktop = UBApplication : : desktop ( ) ;
QDesktopWidget * desktop = UBApplication : : desktop ( ) ;
if ( UBSettings : : settings ( ) - > pageDpi - > get ( ) ! = 0 )
mXmlWriter . writeAttribute ( " pageDpi " , ( UBSettings : : settings ( ) - > pageDpi - > get ( ) ) . toString ( ) ) ;
else
mXmlWriter . writeAttribute ( " pageDpi " , QString ( " %1 " ) . arg ( ( desktop - > physicalDpiX ( ) + desktop - > physicalDpiY ( ) ) / 2 ) ) ;
mXmlWriter . writeAttribute ( " pageDpi " , QString ( " %1 " ) . arg ( ( desktop - > physicalDpiX ( ) + desktop - > physicalDpiY ( ) ) / 2 ) ) ;
mXmlWriter . writeStartElement ( " rect " ) ;
mXmlWriter . writeStartElement ( " rect " ) ;