r14556 by fschmid - Marked the fix for Bug-Nr. 8446 as a hack

scribus-commit scribus-commit at lists.scribus.net
Thu Jan 21 00:15:18 CET 2010


Revision: 14556
Author: fschmid
Date: 2010-01-20T23:11:54.761229Z
Commit message: Marked the fix for Bug-Nr. 8446 as a hack

Changeset: 
M  /trunk/Scribus/scribus/pdflib_core.cpp

Diffs:
Index: scribus/pdflib_core.cpp
===================================================================
--- scribus/pdflib_core.cpp	(revision 14555)
+++ scribus/pdflib_core.cpp	(revision 14556)
@@ -4719,6 +4719,7 @@
 							{
 								ScText hl3;
 								static_cast<CharStyle&>(hl3) = static_cast<const CharStyle&>(hl2);
+								/* HACK to fix Bug #8446 */
 								hl3.setEffects(hl3.effects() & (~(ScStyle_Outline)));
 								hl3.ch = hl2.ch;
 								hl3.glyph.glyph = hl2.glyph.glyph;
@@ -4755,6 +4756,7 @@
 						gl2 = gl2->more;
 					}
 					static_cast<CharStyle&>(hl2) = static_cast<const CharStyle&>(*hl);
+					/* HACK to fix Bug #8446 */
 					hl2.setEffects(hl2.effects() & (~(ScStyle_Outline)));
 					hl2.setFillColor(hl->strokeColor());
 					hl2.setFillShade(hl->strokeShade());
@@ -4817,6 +4819,7 @@
 						{
 							ScText hl3;
 							static_cast<CharStyle&>(hl3) = static_cast<const CharStyle&>(hl2);
+							/* HACK to fix Bug #8446 */
 							hl3.setEffects(hl3.effects() & (~(ScStyle_Outline)));
 							hl3.ch = hl2.ch;
 							hl3.glyph.glyph = hl2.glyph.glyph;
@@ -4846,6 +4849,7 @@
 				hl2.ch = ch;
 				hl2.glyph.glyph = hl->glyph.glyph;
 				static_cast<CharStyle&>(hl2) = static_cast<const CharStyle&>(*hl);
+				/* HACK to fix Bug #8446 */
 				hl2.setEffects(hl2.effects() & (~(ScStyle_Outline)));
 				hl2.setFillColor(hl->strokeColor());
 				hl2.setFillShade(hl->strokeShade());




More information about the scribus-commit mailing list