From: miklosh Date: Fri, 17 Aug 2007 12:46:51 +0000 (+0000) Subject: Make sure style is invalidated when setting fill/stroke color in text objects X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=48c0a003648da4ec8199d2c74605d597b644e2b8;p=inkscape.git Make sure style is invalidated when setting fill/stroke color in text objects --- diff --git a/src/extension/internal/pdfinput/pdf-parser.cpp b/src/extension/internal/pdfinput/pdf-parser.cpp index 9233361b2..c9bbda662 100644 --- a/src/extension/internal/pdfinput/pdf-parser.cpp +++ b/src/extension/internal/pdfinput/pdf-parser.cpp @@ -1126,6 +1126,7 @@ void PdfParser::opSetFillColorN(Object args[], int numArgs) { if (args[numArgs-1].isName() && (pattern = res->lookupPattern(args[numArgs-1].getName()))) { state->setFillPattern(pattern); + builder->updateStyle(state); } } else { @@ -1169,6 +1170,7 @@ void PdfParser::opSetStrokeColorN(Object args[], int numArgs) { if (args[numArgs-1].isName() && (pattern = res->lookupPattern(args[numArgs-1].getName()))) { state->setStrokePattern(pattern); + builder->updateStyle(state); } } else {