summaryrefslogtreecommitdiff
path: root/src/drv
diff options
context:
space:
mode:
authorscuri <scuri>2009-12-04 18:12:37 +0000
committerscuri <scuri>2009-12-04 18:12:37 +0000
commit2df78db7863840f59d0a1beff5fae7012bce637d (patch)
tree1c3e893bf1bf96fecd22e98fe54615340ea193b7 /src/drv
parente91a54168fa98057d8f46c170548ee8653f7cc34 (diff)
*** empty log message ***
Diffstat (limited to 'src/drv')
-rw-r--r--src/drv/cdcgm.c2
-rw-r--r--src/drv/cddxf.c1
-rw-r--r--src/drv/cdpdf.c2
-rw-r--r--src/drv/cdps.c2
4 files changed, 6 insertions, 1 deletions
diff --git a/src/drv/cdcgm.c b/src/drv/cdcgm.c
index 3049818..ab47c1e 100644
--- a/src/drv/cdcgm.c
+++ b/src/drv/cdcgm.c
@@ -183,6 +183,8 @@ static void cddeactivate(cdCtxCanvas *ctxcanvas)
static void cdflush(cdCtxCanvas *ctxcanvas)
{
long pt;
+
+ fflush(ctxcanvas->cgm->file);
pt = ftell ( ctxcanvas->cgm->file );
fseek ( ctxcanvas->cgm->file, ctxcanvas->point, SEEK_SET );
diff --git a/src/drv/cddxf.c b/src/drv/cddxf.c
index b4dc875..db05978 100644
--- a/src/drv/cddxf.c
+++ b/src/drv/cddxf.c
@@ -314,6 +314,7 @@ static void cdkillcanvas(cdCtxCanvas *ctxcanvas)
static void cdflush (cdCtxCanvas *ctxcanvas)
{
+ fflush (ctxcanvas->file); /* flush file */
ctxcanvas->layer++;
}
diff --git a/src/drv/cdpdf.c b/src/drv/cdpdf.c
index ffad84b..8faa824 100644
--- a/src/drv/cdpdf.c
+++ b/src/drv/cdpdf.c
@@ -1543,7 +1543,7 @@ static cdContext cdPDFContext =
CD_CAP_ALL & ~(CD_CAP_CLEAR | CD_CAP_PLAY | CD_CAP_PALETTE |
CD_CAP_REGION | CD_CAP_IMAGESRV | CD_CAP_TEXTSIZE |
CD_CAP_BACKGROUND | CD_CAP_BACKOPACITY | CD_CAP_WRITEMODE |
- CD_CAP_IMAGERGBA | CD_CAP_GETIMAGERGB),
+ CD_CAP_GETIMAGERGB),
0,
cdcreatecanvas,
cdinittable,
diff --git a/src/drv/cdps.c b/src/drv/cdps.c
index d5d62fe..ef77c4d 100644
--- a/src/drv/cdps.c
+++ b/src/drv/cdps.c
@@ -466,6 +466,8 @@ static void cdflush(cdCtxCanvas *ctxcanvas)
{
if (ctxcanvas->debug) fprintf(ctxcanvas->file, "\n%%cdFlush Begin\n");
+ fflush(ctxcanvas->file);
+
if (!ctxcanvas->eps)
{
fprintf(ctxcanvas->file, "gsave\n");