r18621 by jghali - #11862: Questionable font substitution during IDML import

scribus-commit scribus-commit at lists.scribus.net
Wed Dec 4 19:55:21 UTC 2013


Author: jghali
Date: Wed Dec  4 19:55:21 2013
New Revision: 18621

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18621
Log:
#11862: Questionable font substitution during IDML import

Modified:
    trunk/Scribus/scribus/plugins/import/idml/importidml.cpp

Modified: trunk/Scribus/scribus/plugins/import/idml/importidml.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18621&path=/trunk/Scribus/scribus/plugins/import/idml/importidml.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/import/idml/importidml.cpp (original)
+++ trunk/Scribus/scribus/plugins/import/idml/importidml.cpp Wed Dec  4 19:55:21 2013
@@ -3252,6 +3252,7 @@
 				else
 				{
 					QString family = fontBaseName + " " + fontStyle;
+					family = family.remove("$ID/");
 					if (!PrefsManager::instance()->appPrefs.fontPrefs.GFontSub.contains(family))
 					{
 						qApp->changeOverrideCursor(QCursor(Qt::ArrowCursor));




More information about the scribus-commit mailing list