Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/ad18a5f46a5bc7db3a2a9dcce252f17687e11d8b?style=unified&whitespace=show-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
16 additions and
16 deletions
src/adaptors/UBSvgSubsetAdaptor.cpp
@ -2314,6 +2314,22 @@ UBGraphicsTextItem* UBSvgSubsetAdaptor::UBSvgSubsetReader::textItemFromSvg()
QStringRef ubFillOnDarkBackground = mXmlReader . attributes ( ) . value ( mNamespaceUri , " fill-on-dark-background " ) ;
QStringRef ubFillOnLightBackground = mXmlReader . attributes ( ) . value ( mNamespaceUri , " fill-on-light-background " ) ;
if ( ! ubFillOnDarkBackground . isNull ( ) ) {
QColor color ;
color . setNamedColor ( ubFillOnDarkBackground . toString ( ) ) ;
if ( ! color . isValid ( ) )
color = Qt : : white ;
textItem - > setColorOnDarkBackground ( color ) ;
}
if ( ! ubFillOnLightBackground . isNull ( ) ) {
QColor color ;
color . setNamedColor ( ubFillOnLightBackground . toString ( ) ) ;
if ( ! color . isValid ( ) )
color = Qt : : black ;
textItem - > setColorOnLightBackground ( color ) ;
}
QString text ;
while ( ! ( mXmlReader . isEndElement ( ) & & ( mXmlReader . name ( ) = = " font " | | mXmlReader . name ( ) = = " foreignObject " ) ) )
@ -2382,22 +2398,6 @@ UBGraphicsTextItem* UBSvgSubsetAdaptor::UBSvgSubsetReader::textItemFromSvg()
textItem - > setDefaultTextColor ( textColor ) ;
}
if ( ! ubFillOnDarkBackground . isNull ( ) ) {
QColor color ;
color . setNamedColor ( ubFillOnDarkBackground . toString ( ) ) ;
if ( ! color . isValid ( ) )
color = Qt : : white ;
textItem - > setColorOnDarkBackground ( color ) ;
}
if ( ! ubFillOnLightBackground . isNull ( ) ) {
QColor color ;
color . setNamedColor ( ubFillOnLightBackground . toString ( ) ) ;
if ( ! color . isValid ( ) )
color = Qt : : black ;
textItem - > setColorOnLightBackground ( color ) ;
}
while ( ! ( mXmlReader . isEndElement ( ) & & mXmlReader . name ( ) = = " font " ) ) {
if ( mXmlReader . hasError ( ) ) {
break ;