r18934 by fschmid - Don't ask to replace fonts on loading when the requested fonts are found on loading

scribus-commit scribus-commit at lists.scribus.net
Sun Mar 23 07:22:59 UTC 2014


Author: fschmid
Date: Sun Mar 23 07:22:59 2014
New Revision: 18934

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18934
Log:
Don't ask to replace fonts on loading when the requested fonts are found on loading

Modified:
    trunk/Scribus/scribus/fileloader.cpp

Modified: trunk/Scribus/scribus/fileloader.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18934&path=/trunk/Scribus/scribus/fileloader.cpp
==============================================================================
--- trunk/Scribus/scribus/fileloader.cpp (original)
+++ trunk/Scribus/scribus/fileloader.cpp Sun Mar 23 07:22:59 2014
@@ -407,7 +407,8 @@
 			currDoc->docHyphenator->MinWordLen=currDoc->hyphMinimumWordLength();
 			currDoc->docHyphenator->HyCount=currDoc->hyphConsecutiveLines();
 	}
-
+	if (ReplacedFonts.isEmpty())
+		return true;
 	ReplacedFonts = currDoc->AllFonts->getSubstitutions(ReplacedFonts.keys());
 	if (ReplacedFonts.count() != 0)
 	{




More information about the scribus-commit mailing list