[poppler] poppler/Gfx.cc
Carlos Garcia Campos
carlosgc at kemper.freedesktop.org
Thu Apr 29 09:36:19 PDT 2010
poppler/Gfx.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit e909219d8e92994bd52976f9676015fa6ca9fc91
Author: Carlos Garcia Campos <carlosgc at gnome.org>
Date: Thu Apr 29 18:34:22 2010 +0200
Set textHaveCSPattern=false again before filling the pattern in opEndText()
Fixes cairo backend regressions caused by commit
ccf238b32e236f69c0507a5421ac2649dfa8d865.
diff --git a/poppler/Gfx.cc b/poppler/Gfx.cc
index 6259733..de4eb24 100644
--- a/poppler/Gfx.cc
+++ b/poppler/Gfx.cc
@@ -3341,13 +3341,13 @@ void Gfx::opEndText(Object args[], int numArgs) {
GBool needFill = out->deviceHasTextClip(state);
out->endTextObject(state);
drawText = gFalse;
- if (out->supportTextCSPattern(state) && textHaveCSPattern) {
+ if (textHaveCSPattern) {
+ textHaveCSPattern = gFalse;
if (needFill) {
doPatternFill(gTrue);
}
out->restoreState(state);
}
- textHaveCSPattern = gFalse;
}
//------------------------------------------------------------------------
More information about the poppler
mailing list