r22140 by jghali -
scribus-commit
scribus-commit at lists.scribus.net
Mon Aug 21 12:35:15 UTC 2017
Author: jghali
Date: Mon Aug 21 12:35:15 2017
New Revision: 22140
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22140
Log:
fix potential inconsistency between display and PDF export in case frame is assigned a broken pattern for stroking
Modified:
trunk/Scribus/scribus/pdflib_core.cpp
Modified: trunk/Scribus/scribus/pdflib_core.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22140&path=/trunk/Scribus/scribus/pdflib_core.cpp
==============================================================================
--- trunk/Scribus/scribus/pdflib_core.cpp (original)
+++ trunk/Scribus/scribus/pdflib_core.cpp Mon Aug 21 12:35:15 2017
@@ -2801,7 +2801,7 @@
PutPage("h\nS\n");
PutPage("Q\n");
}
- else
+ else if (ite->lineColor() != CommonStrings::None)
{
PutPage(SetClipPath(ite));
PutPage("h\nS\n");
@@ -2859,7 +2859,7 @@
PutPage(FToStr(ite->width())+" 0 l\n");
PutPage("S\nQ\n");
}
- else
+ else if (ite->lineColor() != CommonStrings::None)
{
PutPage("0 0 m\n");
PutPage(FToStr(ite->width())+" 0 l\n");
@@ -2975,7 +2975,7 @@
PutPage("h\nS\n");
PutPage("Q\n");
}
- else
+ else if (ite->lineColor() != CommonStrings::None)
{
PutPage(SetClipPath(ite));
PutPage("h\nS\n");
@@ -3077,7 +3077,7 @@
PutPage("S\n");
PutPage("Q\n");
}
- else
+ else if (ite->lineColor() != CommonStrings::None)
{
PutPage(SetClipPath(ite, false));
PutPage("S\n");
More information about the scribus-commit
mailing list