r18849 by fschmid - ODG-Importer: fixed wrong color for text.

scribus-commit scribus-commit at lists.scribus.net
Wed Feb 26 21:28:42 UTC 2014


Author: fschmid
Date: Wed Feb 26 21:28:42 2014
New Revision: 18849

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18849
Log:
ODG-Importer: fixed wrong color for text.

Modified:
    trunk/Scribus/scribus/plugins/import/odg/importodg.cpp

Modified: trunk/Scribus/scribus/plugins/import/odg/importodg.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18849&path=/trunk/Scribus/scribus/plugins/import/odg/importodg.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/import/odg/importodg.cpp (original)
+++ trunk/Scribus/scribus/plugins/import/odg/importodg.cpp Wed Feb 26 21:28:42 2014
@@ -2114,6 +2114,8 @@
 		}
 		if (actStyle.fontSize.valid)
 			tmpOStyle.fontSize = parseUnit(actStyle.fontSize.value);
+		if (actStyle.fontColor.valid)
+			tmpOStyle.CurrColorText = parseColor(actStyle.fontColor.value);
 		if (actStyle.margin_top.valid)
 			tmpOStyle.margin_top = parseUnit(actStyle.margin_top.value);
 		if (actStyle.margin_bottom.valid)




More information about the scribus-commit mailing list