summaryrefslogtreecommitdiff
path: root/lib/devices
diff options
context:
space:
mode:
authorMatthias Kramm <kramm@quiss.org>2010-03-08 18:03:06 -0800
committerMatthias Kramm <kramm@quiss.org>2010-03-08 18:03:06 -0800
commit7fb4a4ac393f19a0b8a8998a2f1deac88c97eda0 (patch)
treec46bf8890a9bc38c7f2a22d1634fbee9aa0bb126 /lib/devices
parent535ddce3cefe30fe78caf4e6aa3897b18cd1edef (diff)
fixed a few bugs in remove_font_transforms filter
Diffstat (limited to 'lib/devices')
-rw-r--r--lib/devices/record.c1
-rw-r--r--lib/devices/swf.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/devices/record.c b/lib/devices/record.c
index fad11897..5f3709a1 100644
--- a/lib/devices/record.c
+++ b/lib/devices/record.c
@@ -460,6 +460,7 @@ static void replay(struct _gfxdevice*dev, gfxdevice_t*out, reader_t*r)
}
case OP_ENDPAGE: {
msg("<trace> replay: ENDPAGE");
+ out->endpage(out);
break;
}
case OP_FINISH: {
diff --git a/lib/devices/swf.c b/lib/devices/swf.c
index 3a9cbd4a..b090c7bf 100644
--- a/lib/devices/swf.c
+++ b/lib/devices/swf.c
@@ -956,6 +956,7 @@ static void endpage(gfxdevice_t*dev)
swfoutput_internal*i = (swfoutput_internal*)dev->internal;
if(i->pagefinished)
return;
+
if(i->shapeid>=0)
endshape(dev);
if(i->textmode)