summaryrefslogtreecommitdiff
path: root/devices
diff options
context:
space:
mode:
authorRobin Watts <Robin.Watts@artifex.com>2019-03-07 18:03:00 +0000
committerChris Liddell <chris.liddell@artifex.com>2019-05-29 09:39:36 +0100
commit9de16a6637b73e35f79d2d622de403b24e6502f2 (patch)
treebc6fba44e03e9caab75968fda94a0cea73caf5e3 /devices
parent808021913baf763e07cc9eabc3716bfa507380ff (diff)
downloadghostpdl-9de16a6637b73e35f79d2d622de403b24e6502f2.tar.gz
Move FILE * operations behind new gp_file * API.
(squash of commits from filesec branch) Most of this commit is donkeywork conversions of calls from FILE * -> gp_file *, fwrite -> gp_fwrite etc. Pretty much every device is touched, along with the clist and parsing code. The more interesting changes are within gp.h (where the actual new API is defined), gpmisc.c (where the basic implementations live), and the platform specific levels (gp_mswin.c, gp_unifs.c etc where the platform specific implementations have been tweaked/renamed). File opening path validation All file opening routines now call a central routine for path validation. This then consults new entries in gs_lib_ctx to see if validation is enabled or not. If so, it validates the paths by seeing if they match. Simple C level functions for adding/removing/clearing paths, exposed through the gsapi level. Add 2 postscript operators for path control. <name> <string> .addcontrolpath - Add the given <string> (path) to the list of paths for controlset <name>, where <name> can be: /PermitFileReading /PermitFileWriting /PermitFileControl (Anything else -> rangecheck) - .activatepathcontrol - Enable path control. At this point PS cannot make any more changes, and all file access is checked.
Diffstat (limited to 'devices')
-rw-r--r--devices/contrib.mak287
-rw-r--r--devices/devs.mak2495
-rw-r--r--devices/gdev3852.c197
-rw-r--r--devices/gdev4081.c8
-rw-r--r--devices/gdev4693.c10
-rw-r--r--devices/gdev8510.c20
-rw-r--r--devices/gdevatx.c26
-rw-r--r--devices/gdevbit.c10
-rw-r--r--devices/gdevbj10.c34
-rw-r--r--devices/gdevbmp.c8
-rw-r--r--devices/gdevbmp.h4
-rw-r--r--devices/gdevbmpc.c16
-rw-r--r--devices/gdevccr.c20
-rw-r--r--devices/gdevcdj.c282
-rw-r--r--devices/gdevcfax.c20
-rw-r--r--devices/gdevchameleon.c24
-rw-r--r--devices/gdevcif.c10
-rw-r--r--devices/gdevclj.c20
-rw-r--r--devices/gdevcljc.c20
-rw-r--r--devices/gdevcmykog.c22
-rw-r--r--devices/gdevcslw.c12
-rw-r--r--devices/gdevdfax.c10
-rw-r--r--devices/gdevdjet.c52
-rw-r--r--devices/gdevdjtc.c50
-rw-r--r--devices/gdevdljm.c88
-rw-r--r--devices/gdevdljm.h4
-rw-r--r--devices/gdevdm24.c42
-rw-r--r--devices/gdevepsc.c36
-rw-r--r--devices/gdevepsn.c54
-rw-r--r--devices/gdevescp.c38
-rw-r--r--devices/gdevfax.c14
-rw-r--r--devices/gdevfax.h4
-rw-r--r--devices/gdevfpng.c22
-rw-r--r--devices/gdevgprf.c22
-rw-r--r--devices/gdevhl7x.c14
-rw-r--r--devices/gdevicov.c16
-rw-r--r--devices/gdevifno.c18
-rw-r--r--devices/gdevijs.c7
-rw-r--r--devices/gdevimgn.c22
-rw-r--r--devices/gdevjbig2.c2
-rw-r--r--devices/gdevjpeg.c2
-rw-r--r--devices/gdevjpx.c2
-rw-r--r--devices/gdevl31s.c32
-rw-r--r--devices/gdevlbp8.c28
-rw-r--r--devices/gdevlj56.c2
-rw-r--r--devices/gdevlp8k.c102
-rw-r--r--devices/gdevlxm.c12
-rw-r--r--devices/gdevmgr.c30
-rw-r--r--devices/gdevmiff.c22
-rw-r--r--devices/gdevn533.c2
-rw-r--r--devices/gdevo182.c32
-rw-r--r--devices/gdevokii.c36
-rw-r--r--devices/gdevpbm.c144
-rw-r--r--devices/gdevpcx.c34
-rw-r--r--devices/gdevpdfimg.c42
-rw-r--r--devices/gdevperm.c2
-rw-r--r--devices/gdevphex.c62
-rw-r--r--devices/gdevpjet.c44
-rw-r--r--devices/gdevplan.c86
-rw-r--r--devices/gdevplib.c60
-rw-r--r--devices/gdevpng.c23
-rw-r--r--devices/gdevpsd.c10
-rw-r--r--devices/gdevpsd.h4
-rw-r--r--devices/gdevpsim.c10
-rw-r--r--devices/gdevpxut.c6
-rw-r--r--devices/gdevpxut.h4
-rw-r--r--devices/gdevrinkj.c16
-rw-r--r--devices/gdevsj48.c20
-rw-r--r--devices/gdevstc.c40
-rw-r--r--devices/gdevtfax.c16
-rw-r--r--devices/gdevtfax.h2
-rw-r--r--devices/gdevtfnx.c4
-rw-r--r--devices/gdevtifs.c2
-rw-r--r--devices/gdevtifs.h2
-rw-r--r--devices/gdevtknk.c18
-rw-r--r--devices/gdevtsep.c30
-rw-r--r--devices/gdevupd.c170
-rw-r--r--devices/gdevwpr2.c6
-rw-r--r--devices/gdevxcf.c6
-rw-r--r--devices/rinkj/rinkj-byte-stream.c6
-rw-r--r--devices/rinkj/rinkj-byte-stream.h4
-rw-r--r--devices/vector/gdevpdf.c168
-rw-r--r--devices/vector/gdevpdfo.c18
-rw-r--r--devices/vector/gdevpdfp.c2
-rw-r--r--devices/vector/gdevpdfu.c38
-rw-r--r--devices/vector/gdevpdfx.h8
-rw-r--r--devices/vector/gdevpsu.c24
-rw-r--r--devices/vector/gdevpsu.h10
-rw-r--r--devices/vector/gdevpx.c6
-rw-r--r--devices/vector/gdevtxtw.c68
-rw-r--r--devices/vector/gdevxps.c66
91 files changed, 2877 insertions, 2766 deletions
diff --git a/devices/contrib.mak b/devices/contrib.mak
index 8237ee5c2..6dc59b810 100644
--- a/devices/contrib.mak
+++ b/devices/contrib.mak
@@ -755,115 +755,115 @@ $(DEVSRC)gdevmeds.h:$(GLSRC)gxclpage.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gxclist.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gxgstate.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gstrans.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)gdevp14.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gxline.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gsht1.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gxcomp.h
$(DEVSRC)gdevmeds.h:$(GLSRC)math_.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)gdevp14.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gxcolor2.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gxpcolor.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)gxdevmem.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gx.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gdevdevn.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)gxdevbuf.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)gxblend.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gdebug.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)gxmatrix.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)gxdevbuf.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gxband.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)gxclipsr.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)gxblend.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gxbitfmt.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gsequivc.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)gxclipsr.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gscolor2.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gxdevice.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)gsht.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gxcpath.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)gxdevcli.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)gsht.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)gxdevmem.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gxpcache.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gscindex.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)gxcmap.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)gstparam.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gsptype1.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)gxdevcli.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gxtext.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)gsfunc.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)gscie.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)gspcolor.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gstext.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)gxstate.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gxdcolor.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)gxfcache.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)gspcolor.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)gsnamecl.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)gsdsrc.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)gstparam.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)gscie.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)gxstate.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)gxcmap.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)gsmalloc.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gsropt.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)gsfunc.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gxctable.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)gsnamecl.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gxrplane.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)gxbcache.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gxcspace.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)gxiclass.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gxclio.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)gxfcache.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)gsfont.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gxfmap.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)gxftype.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)gsuid.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gxcvalue.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)gxdda.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)gsfont.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)gxiclass.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)gxpath.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)gspenum.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gxtmap.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)gxfrac.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gsimage.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)gxpath.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)gsmalloc.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)gsdcolor.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)gscms.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)gxfrac.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)gxdda.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gslparam.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)gxbcache.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)gsdcolor.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gsrect.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)gsxfont.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)gxmatrix.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)gscms.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)gxftype.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gsdevice.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)gsstruct.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gscspace.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)gsuid.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)gxarith.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)gsdsrc.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gxstdio.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)gsiparam.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)gsxfont.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gxfixed.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)gspenum.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)gsmatrix.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)gsio.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)gxhttile.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)gsrefct.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gscpm.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)gxbitmap.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)gsiparam.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)gxhttile.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)gsio.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)gp.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)memento.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gsparam.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)memory_.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)gsmatrix.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)gxbitmap.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gsutil.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)gsrefct.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)gp.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gsstrl.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gdbflags.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)gxsync.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)gserrors.h
$(DEVSRC)gdevmeds.h:$(GLSRC)srdline.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)scommon.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)gsstruct.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)gserrors.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)gxsync.h
$(DEVSRC)gdevmeds.h:$(GLSRC)vmsmath.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)gscsel.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)scommon.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gsbitmap.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gsfname.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gsccolor.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)gscsel.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)gxarith.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)gpsync.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)memento.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gsstype.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)gpgetenv.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gsmemory.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)gscdefs.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)gpsync.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)gpgetenv.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)memory_.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gslibctx.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)gscdefs.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gscompt.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)stdio_.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gxcindex.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)gsgstate.h
$(DEVSRC)gdevmeds.h:$(GLSRC)stdint_.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)gssprintf.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)gsgstate.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gsccode.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)std.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)gs_dll_call.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)stdio_.h
$(DEVSRC)gdevmeds.h:$(GLSRC)gstypes.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)std.h
$(DEVSRC)gdevmeds.h:$(GLSRC)stdpre.h
$(DEVSRC)gdevmeds.h:$(GLGEN)arch.h
-$(DEVSRC)gdevmeds.h:$(GLSRC)gs_dll_call.h
+$(DEVSRC)gdevmeds.h:$(GLSRC)gssprintf.h
$(DEVSRC)gdevstc.h:$(GLSRC)gsstate.h
$(DEVSRC)gdevstc.h:$(GLSRC)gdevprn.h
$(DEVSRC)gdevstc.h:$(GLSRC)string_.h
@@ -874,181 +874,182 @@ $(DEVSRC)gdevstc.h:$(GLSRC)gxclpage.h
$(DEVSRC)gdevstc.h:$(GLSRC)gxclist.h
$(DEVSRC)gdevstc.h:$(GLSRC)gxgstate.h
$(DEVSRC)gdevstc.h:$(GLSRC)gstrans.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gdevp14.h
$(DEVSRC)gdevstc.h:$(GLSRC)gxline.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gscolor.h
$(DEVSRC)gdevstc.h:$(GLSRC)gsht1.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gscolor.h
$(DEVSRC)gdevstc.h:$(GLSRC)gsline.h
$(DEVSRC)gdevstc.h:$(GLSRC)gxcomp.h
$(DEVSRC)gdevstc.h:$(GLSRC)math_.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gdevp14.h
$(DEVSRC)gdevstc.h:$(GLSRC)gxcolor2.h
$(DEVSRC)gdevstc.h:$(GLSRC)gxpcolor.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gxdevmem.h
$(DEVSRC)gdevstc.h:$(GLSRC)gx.h
$(DEVSRC)gdevstc.h:$(GLSRC)gdevdevn.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gxdevbuf.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gxblend.h
$(DEVSRC)gdevstc.h:$(GLSRC)gdebug.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gxmatrix.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gxdevbuf.h
$(DEVSRC)gdevstc.h:$(GLSRC)gxband.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gxclipsr.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gxblend.h
$(DEVSRC)gdevstc.h:$(GLSRC)gxbitfmt.h
$(DEVSRC)gdevstc.h:$(GLSRC)gsequivc.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gxclipsr.h
$(DEVSRC)gdevstc.h:$(GLSRC)gscolor2.h
$(DEVSRC)gdevstc.h:$(GLSRC)gxdevice.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gsht.h
$(DEVSRC)gdevstc.h:$(GLSRC)gxcpath.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gxdevcli.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gsht.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gxdevmem.h
$(DEVSRC)gdevstc.h:$(GLSRC)gxpcache.h
$(DEVSRC)gdevstc.h:$(GLSRC)gscindex.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gxcmap.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gstparam.h
$(DEVSRC)gdevstc.h:$(GLSRC)gsptype1.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gxdevcli.h
$(DEVSRC)gdevstc.h:$(GLSRC)gxtext.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gsfunc.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gscie.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gspcolor.h
$(DEVSRC)gdevstc.h:$(GLSRC)gstext.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gxstate.h
$(DEVSRC)gdevstc.h:$(GLSRC)gxdcolor.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gxfcache.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gspcolor.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gsnamecl.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gsdsrc.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gstparam.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gscie.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gxstate.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gxcmap.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gsmalloc.h
$(DEVSRC)gdevstc.h:$(GLSRC)gsropt.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gsfunc.h
$(DEVSRC)gdevstc.h:$(GLSRC)gxctable.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gsnamecl.h
$(DEVSRC)gdevstc.h:$(GLSRC)gxrplane.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gxbcache.h
$(DEVSRC)gdevstc.h:$(GLSRC)gxcspace.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gxiclass.h
$(DEVSRC)gdevstc.h:$(GLSRC)gxclio.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gxfcache.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gsfont.h
$(DEVSRC)gdevstc.h:$(GLSRC)gxfmap.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gxftype.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gsuid.h
$(DEVSRC)gdevstc.h:$(GLSRC)gxcvalue.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gxdda.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gsfont.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gxiclass.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gxpath.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gspenum.h
$(DEVSRC)gdevstc.h:$(GLSRC)gxtmap.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gxfrac.h
$(DEVSRC)gdevstc.h:$(GLSRC)gsimage.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gxpath.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gsmalloc.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gsdcolor.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gscms.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gxfrac.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gxdda.h
$(DEVSRC)gdevstc.h:$(GLSRC)gslparam.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gxbcache.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gsdcolor.h
$(DEVSRC)gdevstc.h:$(GLSRC)gsrect.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gsxfont.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gxmatrix.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gscms.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gxftype.h
$(DEVSRC)gdevstc.h:$(GLSRC)gsdevice.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gsstruct.h
$(DEVSRC)gdevstc.h:$(GLSRC)gscspace.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gsuid.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gxarith.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gsdsrc.h
$(DEVSRC)gdevstc.h:$(GLSRC)gxstdio.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gsiparam.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gsxfont.h
$(DEVSRC)gdevstc.h:$(GLSRC)gxfixed.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gspenum.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gsmatrix.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gsio.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gxhttile.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gsrefct.h
$(DEVSRC)gdevstc.h:$(GLSRC)gscpm.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gxbitmap.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gsiparam.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gxhttile.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gsio.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gp.h
+$(DEVSRC)gdevstc.h:$(GLSRC)memento.h
$(DEVSRC)gdevstc.h:$(GLSRC)gsparam.h
-$(DEVSRC)gdevstc.h:$(GLSRC)memory_.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gsmatrix.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gxbitmap.h
$(DEVSRC)gdevstc.h:$(GLSRC)gsutil.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gsrefct.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gp.h
$(DEVSRC)gdevstc.h:$(GLSRC)gsstrl.h
$(DEVSRC)gdevstc.h:$(GLSRC)gdbflags.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gxsync.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gserrors.h
$(DEVSRC)gdevstc.h:$(GLSRC)srdline.h
-$(DEVSRC)gdevstc.h:$(GLSRC)scommon.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gsstruct.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gserrors.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gxsync.h
$(DEVSRC)gdevstc.h:$(GLSRC)vmsmath.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gscsel.h
+$(DEVSRC)gdevstc.h:$(GLSRC)scommon.h
$(DEVSRC)gdevstc.h:$(GLSRC)gsbitmap.h
$(DEVSRC)gdevstc.h:$(GLSRC)gsfname.h
$(DEVSRC)gdevstc.h:$(GLSRC)gsccolor.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gscsel.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gxarith.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gpsync.h
-$(DEVSRC)gdevstc.h:$(GLSRC)memento.h
$(DEVSRC)gdevstc.h:$(GLSRC)gsstype.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gpgetenv.h
$(DEVSRC)gdevstc.h:$(GLSRC)gsmemory.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gscdefs.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gpsync.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gpgetenv.h
+$(DEVSRC)gdevstc.h:$(GLSRC)memory_.h
$(DEVSRC)gdevstc.h:$(GLSRC)gslibctx.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gscdefs.h
$(DEVSRC)gdevstc.h:$(GLSRC)gscompt.h
-$(DEVSRC)gdevstc.h:$(GLSRC)stdio_.h
$(DEVSRC)gdevstc.h:$(GLSRC)gxcindex.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gsgstate.h
$(DEVSRC)gdevstc.h:$(GLSRC)stdint_.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gssprintf.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gsgstate.h
$(DEVSRC)gdevstc.h:$(GLSRC)gsccode.h
-$(DEVSRC)gdevstc.h:$(GLSRC)std.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gs_dll_call.h
+$(DEVSRC)gdevstc.h:$(GLSRC)stdio_.h
$(DEVSRC)gdevstc.h:$(GLSRC)gstypes.h
+$(DEVSRC)gdevstc.h:$(GLSRC)std.h
$(DEVSRC)gdevstc.h:$(GLSRC)stdpre.h
$(DEVSRC)gdevstc.h:$(GLGEN)arch.h
-$(DEVSRC)gdevstc.h:$(GLSRC)gs_dll_call.h
+$(DEVSRC)gdevstc.h:$(GLSRC)gssprintf.h
$(DEVSRC)gdevmgr.h:$(GLSRC)gxdevcli.h
-$(DEVSRC)gdevmgr.h:$(GLSRC)gxcmap.h
-$(DEVSRC)gdevmgr.h:$(GLSRC)gstparam.h
$(DEVSRC)gdevmgr.h:$(GLSRC)gxtext.h
-$(DEVSRC)gdevmgr.h:$(GLSRC)gsfunc.h
$(DEVSRC)gdevmgr.h:$(GLSRC)gstext.h
-$(DEVSRC)gdevmgr.h:$(GLSRC)gxfcache.h
-$(DEVSRC)gdevmgr.h:$(GLSRC)gsnamecl.h
-$(DEVSRC)gdevmgr.h:$(GLSRC)gsdsrc.h
+$(DEVSRC)gdevmgr.h:$(GLSRC)gstparam.h
+$(DEVSRC)gdevmgr.h:$(GLSRC)gxcmap.h
$(DEVSRC)gdevmgr.h:$(GLSRC)gsropt.h
+$(DEVSRC)gdevmgr.h:$(GLSRC)gsfunc.h
+$(DEVSRC)gdevmgr.h:$(GLSRC)gsnamecl.h
$(DEVSRC)gdevmgr.h:$(GLSRC)gxrplane.h
-$(DEVSRC)gdevmgr.h:$(GLSRC)gxbcache.h
$(DEVSRC)gdevmgr.h:$(GLSRC)gxcspace.h
+$(DEVSRC)gdevmgr.h:$(GLSRC)gxfcache.h
+$(DEVSRC)gdevmgr.h:$(GLSRC)gsfont.h
$(DEVSRC)gdevmgr.h:$(GLSRC)gxfmap.h
-$(DEVSRC)gdevmgr.h:$(GLSRC)gxftype.h
-$(DEVSRC)gdevmgr.h:$(GLSRC)gsuid.h
$(DEVSRC)gdevmgr.h:$(GLSRC)gxcvalue.h
-$(DEVSRC)gdevmgr.h:$(GLSRC)gxdda.h
-$(DEVSRC)gdevmgr.h:$(GLSRC)gsfont.h
+$(DEVSRC)gdevmgr.h:$(GLSRC)gxpath.h
+$(DEVSRC)gdevmgr.h:$(GLSRC)gspenum.h
$(DEVSRC)gdevmgr.h:$(GLSRC)gxtmap.h
-$(DEVSRC)gdevmgr.h:$(GLSRC)gxfrac.h
$(DEVSRC)gdevmgr.h:$(GLSRC)gsimage.h
-$(DEVSRC)gdevmgr.h:$(GLSRC)gxpath.h
-$(DEVSRC)gdevmgr.h:$(GLSRC)gsdcolor.h
-$(DEVSRC)gdevmgr.h:$(GLSRC)gscms.h
+$(DEVSRC)gdevmgr.h:$(GLSRC)gxfrac.h
+$(DEVSRC)gdevmgr.h:$(GLSRC)gxdda.h
$(DEVSRC)gdevmgr.h:$(GLSRC)gslparam.h
+$(DEVSRC)gdevmgr.h:$(GLSRC)gxbcache.h
+$(DEVSRC)gdevmgr.h:$(GLSRC)gsdcolor.h
$(DEVSRC)gdevmgr.h:$(GLSRC)gsrect.h
-$(DEVSRC)gdevmgr.h:$(GLSRC)gsxfont.h
+$(DEVSRC)gdevmgr.h:$(GLSRC)gscms.h
+$(DEVSRC)gdevmgr.h:$(GLSRC)gxftype.h
$(DEVSRC)gdevmgr.h:$(GLSRC)gsdevice.h
-$(DEVSRC)gdevmgr.h:$(GLSRC)gsstruct.h
$(DEVSRC)gdevmgr.h:$(GLSRC)gscspace.h
-$(DEVSRC)gdevmgr.h:$(GLSRC)gsiparam.h
+$(DEVSRC)gdevmgr.h:$(GLSRC)gsuid.h
+$(DEVSRC)gdevmgr.h:$(GLSRC)gxarith.h
+$(DEVSRC)gdevmgr.h:$(GLSRC)gsdsrc.h
+$(DEVSRC)gdevmgr.h:$(GLSRC)gsxfont.h
$(DEVSRC)gdevmgr.h:$(GLSRC)gxfixed.h
-$(DEVSRC)gdevmgr.h:$(GLSRC)gspenum.h
-$(DEVSRC)gdevmgr.h:$(GLSRC)gsmatrix.h
-$(DEVSRC)gdevmgr.h:$(GLSRC)gxhttile.h
-$(DEVSRC)gdevmgr.h:$(GLSRC)gscpm.h
-$(DEVSRC)gdevmgr.h:$(GLSRC)gxbitmap.h
-$(DEVSRC)gdevmgr.h:$(GLSRC)gsparam.h
$(DEVSRC)gdevmgr.h:$(GLSRC)gsrefct.h
+$(DEVSRC)gdevmgr.h:$(GLSRC)gscpm.h
+$(DEVSRC)gdevmgr.h:$(GLSRC)gsiparam.h
+$(DEVSRC)gdevmgr.h:$(GLSRC)gxhttile.h
$(DEVSRC)gdevmgr.h:$(GLSRC)gp.h
-$(DEVSRC)gdevmgr.h:$(GLSRC)gxsync.h
+$(DEVSRC)gdevmgr.h:$(GLSRC)memento.h
+$(DEVSRC)gdevmgr.h:$(GLSRC)gsparam.h
+$(DEVSRC)gdevmgr.h:$(GLSRC)gsmatrix.h
+$(DEVSRC)gdevmgr.h:$(GLSRC)gxbitmap.h
$(DEVSRC)gdevmgr.h:$(GLSRC)srdline.h
+$(DEVSRC)gdevmgr.h:$(GLSRC)gsstruct.h
+$(DEVSRC)gdevmgr.h:$(GLSRC)gxsync.h
+$(DEVSRC)gdevmgr.h:$(GLSRC)gscsel.h
$(DEVSRC)gdevmgr.h:$(GLSRC)scommon.h
$(DEVSRC)gdevmgr.h:$(GLSRC)gsbitmap.h
$(DEVSRC)gdevmgr.h:$(GLSRC)gsccolor.h
-$(DEVSRC)gdevmgr.h:$(GLSRC)gscsel.h
-$(DEVSRC)gdevmgr.h:$(GLSRC)gxarith.h
-$(DEVSRC)gdevmgr.h:$(GLSRC)gpsync.h
-$(DEVSRC)gdevmgr.h:$(GLSRC)memento.h
$(DEVSRC)gdevmgr.h:$(GLSRC)gsstype.h
-$(DEVSRC)gdevmgr.h:$(GLSRC)gpgetenv.h
$(DEVSRC)gdevmgr.h:$(GLSRC)gsmemory.h
-$(DEVSRC)gdevmgr.h:$(GLSRC)gscdefs.h
+$(DEVSRC)gdevmgr.h:$(GLSRC)gpsync.h
+$(DEVSRC)gdevmgr.h:$(GLSRC)gpgetenv.h
+$(DEVSRC)gdevmgr.h:$(GLSRC)memory_.h
$(DEVSRC)gdevmgr.h:$(GLSRC)gslibctx.h
+$(DEVSRC)gdevmgr.h:$(GLSRC)gscdefs.h
$(DEVSRC)gdevmgr.h:$(GLSRC)gscompt.h
-$(DEVSRC)gdevmgr.h:$(GLSRC)stdio_.h
$(DEVSRC)gdevmgr.h:$(GLSRC)gxcindex.h
-$(DEVSRC)gdevmgr.h:$(GLSRC)gsgstate.h
$(DEVSRC)gdevmgr.h:$(GLSRC)stdint_.h
-$(DEVSRC)gdevmgr.h:$(GLSRC)gssprintf.h
+$(DEVSRC)gdevmgr.h:$(GLSRC)gsgstate.h
$(DEVSRC)gdevmgr.h:$(GLSRC)gsccode.h
-$(DEVSRC)gdevmgr.h:$(GLSRC)std.h
+$(DEVSRC)gdevmgr.h:$(GLSRC)gs_dll_call.h
+$(DEVSRC)gdevmgr.h:$(GLSRC)stdio_.h
$(DEVSRC)gdevmgr.h:$(GLSRC)gstypes.h
+$(DEVSRC)gdevmgr.h:$(GLSRC)std.h
$(DEVSRC)gdevmgr.h:$(GLSRC)stdpre.h
$(DEVSRC)gdevmgr.h:$(GLGEN)arch.h
-$(DEVSRC)gdevmgr.h:$(GLSRC)gs_dll_call.h
+$(DEVSRC)gdevmgr.h:$(GLSRC)gssprintf.h
diff --git a/devices/devs.mak b/devices/devs.mak
index 79ebe8061..17ddfe031 100644
--- a/devices/devs.mak
+++ b/devices/devs.mak
@@ -305,7 +305,7 @@ $(DEVOBJ)gdevdsp.$(OBJ) : $(DEVSRC)gdevdsp.c $(string__h) $(gdevkrnlsclass_h)\
# (ghostview@cs.wisc.edu).
gdevxcmp_h=$(DEVSRC)gdevxcmp.h
-gdevx_h=$(DEVSRC)gdevx.h $(gdevbbox_h) $(gdevxcmp_h)
+gdevx_h=$(DEVSRC)gdevx.h
# See the main makefile for the definition of XLIBDIRS and XLIBS.
x11_=$(DEVOBJ)gdevx.$(OBJ) $(DEVOBJ)gdevxcmp.$(OBJ) $(DEVOBJ)gdevxini.$(OBJ)\
@@ -556,18 +556,22 @@ RINKJ_SRC=$(RINKJ_SRCDIR)$(D)
RINKJ_OBJ=$(DEVOBJ)
RINKJ_O_=$(O_)$(RINKJ_OBJ)
-RINKJ_INCL=$(I_)$(RINKJ_SRCDIR)$(_I)
+RINKJ_INCL=$(I_)$(RINKJ_SRCDIR)$(_I) $(I_)$(GLSRC)$(_I) $(I_)$(DEVOBJ)$(_I)
RINKJ_CC=$(CC_) $(RINKJ_INCL)
+rinkj_byte_stream_h=$(RINKJ_SRC)rinkj-byte-stream.h
rinkj_core=$(RINKJ_OBJ)evenbetter-rll.$(OBJ) \
$(RINKJ_OBJ)rinkj-byte-stream.$(OBJ) $(RINKJ_OBJ)rinkj-device.$(OBJ) \
$(RINKJ_OBJ)rinkj-config.$(OBJ) $(RINKJ_OBJ)rinkj-dither.$(OBJ) \
$(RINKJ_OBJ)rinkj-epson870.$(OBJ) $(RINKJ_OBJ)rinkj-screen-eb.$(OBJ)
+$(rinkj_byte_stream_h):$(gp_h)
+
$(RINKJ_OBJ)evenbetter-rll.$(OBJ) : $(RINKJ_SRC)evenbetter-rll.c $(DEVS_MAK) $(MAKEDIRS)
$(RINKJ_CC) $(RINKJ_O_)evenbetter-rll.$(OBJ) $(C_) $(RINKJ_SRC)evenbetter-rll.c
-$(RINKJ_OBJ)rinkj-byte-stream.$(OBJ) : $(RINKJ_SRC)rinkj-byte-stream.c $(DEVS_MAK) $(MAKEDIRS)
+$(RINKJ_OBJ)rinkj-byte-stream.$(OBJ) : $(RINKJ_SRC)rinkj-byte-stream.c \
+ $(rinkj_byte_stream_h) $(DEVS_MAK) $(MAKEDIRS)
$(RINKJ_CC) $(RINKJ_O_)rinkj-byte-stream.$(OBJ) $(C_) $(RINKJ_SRC)rinkj-byte-stream.c
$(RINKJ_OBJ)rinkj-device.$(OBJ) : $(RINKJ_SRC)rinkj-device.c $(DEVS_MAK) $(MAKEDIRS)
@@ -579,7 +583,7 @@ $(RINKJ_OBJ)rinkj-config.$(OBJ) : $(RINKJ_SRC)rinkj-config.c $(DEVS_MAK) $(MAKED
$(RINKJ_OBJ)rinkj-dither.$(OBJ) : $(RINKJ_SRC)rinkj-dither.c $(DEVS_MAK) $(MAKEDIRS)
$(RINKJ_CC) $(RINKJ_O_)rinkj-dither.$(OBJ) $(C_) $(RINKJ_SRC)rinkj-dither.c
-$(RINKJ_OBJ)rinkj-epson870.$(OBJ) : $(RINKJ_SRC)rinkj-epson870.c $(DEVS_MAK) $(MAKEDIRS)
+$(RINKJ_OBJ)rinkj-epson870.$(OBJ) : $(RINKJ_SRC)rinkj-epson870.c $(rinkj_byte_stream_h) $(DEVS_MAK) $(MAKEDIRS)
$(RINKJ_CC) $(RINKJ_O_)rinkj-epson870.$(OBJ) $(C_) $(RINKJ_SRC)rinkj-epson870.c
$(RINKJ_OBJ)rinkj-screen-eb.$(OBJ) : $(RINKJ_SRC)rinkj-screen-eb.c $(DEVS_MAK) $(MAKEDIRS) $(gserrors_h)
@@ -1950,223 +1954,295 @@ $(DEVSRC)gxfcopy.h:$(GLSRC)scommon.h
$(DEVSRC)gxfcopy.h:$(GLSRC)gsstype.h
$(DEVSRC)gxfcopy.h:$(GLSRC)gsmemory.h
$(DEVSRC)gxfcopy.h:$(GLSRC)gslibctx.h
-$(DEVSRC)gxfcopy.h:$(GLSRC)stdio_.h
-$(DEVSRC)gxfcopy.h:$(GLSRC)gsgstate.h
$(DEVSRC)gxfcopy.h:$(GLSRC)stdint_.h
-$(DEVSRC)gxfcopy.h:$(GLSRC)gssprintf.h
+$(DEVSRC)gxfcopy.h:$(GLSRC)gsgstate.h
$(DEVSRC)gxfcopy.h:$(GLSRC)gsccode.h
-$(DEVSRC)gxfcopy.h:$(GLSRC)std.h
+$(DEVSRC)gxfcopy.h:$(GLSRC)gs_dll_call.h
+$(DEVSRC)gxfcopy.h:$(GLSRC)stdio_.h
$(DEVSRC)gxfcopy.h:$(GLSRC)gstypes.h
+$(DEVSRC)gxfcopy.h:$(GLSRC)std.h
$(DEVSRC)gxfcopy.h:$(GLSRC)stdpre.h
$(DEVSRC)gxfcopy.h:$(GLGEN)arch.h
-$(DEVSRC)gxfcopy.h:$(GLSRC)gs_dll_call.h
+$(DEVSRC)gxfcopy.h:$(GLSRC)gssprintf.h
$(DEVSRC)gdev8bcm.h:$(GLSRC)gxcvalue.h
$(DEVSRC)gdev8bcm.h:$(GLSRC)stdpre.h
$(DEVSRC)gdevpcl.h:$(GLSRC)gxdevcli.h
-$(DEVSRC)gdevpcl.h:$(GLSRC)gxcmap.h
-$(DEVSRC)gdevpcl.h:$(GLSRC)gstparam.h
$(DEVSRC)gdevpcl.h:$(GLSRC)gxtext.h
-$(DEVSRC)gdevpcl.h:$(GLSRC)gsfunc.h
$(DEVSRC)gdevpcl.h:$(GLSRC)gstext.h
-$(DEVSRC)gdevpcl.h:$(GLSRC)gxfcache.h
-$(DEVSRC)gdevpcl.h:$(GLSRC)gsnamecl.h
-$(DEVSRC)gdevpcl.h:$(GLSRC)gsdsrc.h
+$(DEVSRC)gdevpcl.h:$(GLSRC)gstparam.h
+$(DEVSRC)gdevpcl.h:$(GLSRC)gxcmap.h
$(DEVSRC)gdevpcl.h:$(GLSRC)gsropt.h
+$(DEVSRC)gdevpcl.h:$(GLSRC)gsfunc.h
+$(DEVSRC)gdevpcl.h:$(GLSRC)gsnamecl.h
$(DEVSRC)gdevpcl.h:$(GLSRC)gxrplane.h
-$(DEVSRC)gdevpcl.h:$(GLSRC)gxbcache.h
$(DEVSRC)gdevpcl.h:$(GLSRC)gxcspace.h
+$(DEVSRC)gdevpcl.h:$(GLSRC)gxfcache.h
+$(DEVSRC)gdevpcl.h:$(GLSRC)gsfont.h
$(DEVSRC)gdevpcl.h:$(GLSRC)gxfmap.h
-$(DEVSRC)gdevpcl.h:$(GLSRC)gxftype.h
-$(DEVSRC)gdevpcl.h:$(GLSRC)gsuid.h
$(DEVSRC)gdevpcl.h:$(GLSRC)gxcvalue.h
-$(DEVSRC)gdevpcl.h:$(GLSRC)gxdda.h
-$(DEVSRC)gdevpcl.h:$(GLSRC)gsfont.h
+$(DEVSRC)gdevpcl.h:$(GLSRC)gxpath.h
+$(DEVSRC)gdevpcl.h:$(GLSRC)gspenum.h
$(DEVSRC)gdevpcl.h:$(GLSRC)gxtmap.h
-$(DEVSRC)gdevpcl.h:$(GLSRC)gxfrac.h
$(DEVSRC)gdevpcl.h:$(GLSRC)gsimage.h
-$(DEVSRC)gdevpcl.h:$(GLSRC)gxpath.h
-$(DEVSRC)gdevpcl.h:$(GLSRC)gsdcolor.h
-$(DEVSRC)gdevpcl.h:$(GLSRC)gscms.h
+$(DEVSRC)gdevpcl.h:$(GLSRC)gxfrac.h
+$(DEVSRC)gdevpcl.h:$(GLSRC)gxdda.h
$(DEVSRC)gdevpcl.h:$(GLSRC)gslparam.h
+$(DEVSRC)gdevpcl.h:$(GLSRC)gxbcache.h
+$(DEVSRC)gdevpcl.h:$(GLSRC)gsdcolor.h
$(DEVSRC)gdevpcl.h:$(GLSRC)gsrect.h
-$(DEVSRC)gdevpcl.h:$(GLSRC)gsxfont.h
+$(DEVSRC)gdevpcl.h:$(GLSRC)gscms.h
+$(DEVSRC)gdevpcl.h:$(GLSRC)gxftype.h
$(DEVSRC)gdevpcl.h:$(GLSRC)gsdevice.h
-$(DEVSRC)gdevpcl.h:$(GLSRC)gsstruct.h
$(DEVSRC)gdevpcl.h:$(GLSRC)gscspace.h
-$(DEVSRC)gdevpcl.h:$(GLSRC)gsiparam.h
+$(DEVSRC)gdevpcl.h:$(GLSRC)gsuid.h
+$(DEVSRC)gdevpcl.h:$(GLSRC)gxarith.h
+$(DEVSRC)gdevpcl.h:$(GLSRC)gsdsrc.h
+$(DEVSRC)gdevpcl.h:$(GLSRC)gsxfont.h
$(DEVSRC)gdevpcl.h:$(GLSRC)gxfixed.h
-$(DEVSRC)gdevpcl.h:$(GLSRC)gspenum.h
-$(DEVSRC)gdevpcl.h:$(GLSRC)gsmatrix.h
-$(DEVSRC)gdevpcl.h:$(GLSRC)gxhttile.h
-$(DEVSRC)gdevpcl.h:$(GLSRC)gscpm.h
-$(DEVSRC)gdevpcl.h:$(GLSRC)gxbitmap.h
-$(DEVSRC)gdevpcl.h:$(GLSRC)gsparam.h
$(DEVSRC)gdevpcl.h:$(GLSRC)gsrefct.h
+$(DEVSRC)gdevpcl.h:$(GLSRC)gscpm.h
+$(DEVSRC)gdevpcl.h:$(GLSRC)gsiparam.h
+$(DEVSRC)gdevpcl.h:$(GLSRC)gxhttile.h
$(DEVSRC)gdevpcl.h:$(GLSRC)gp.h
-$(DEVSRC)gdevpcl.h:$(GLSRC)gxsync.h
+$(DEVSRC)gdevpcl.h:$(GLSRC)memento.h
+$(DEVSRC)gdevpcl.h:$(GLSRC)gsparam.h
+$(DEVSRC)gdevpcl.h:$(GLSRC)gsmatrix.h
+$(DEVSRC)gdevpcl.h:$(GLSRC)gxbitmap.h
$(DEVSRC)gdevpcl.h:$(GLSRC)srdline.h
+$(DEVSRC)gdevpcl.h:$(GLSRC)gsstruct.h
+$(DEVSRC)gdevpcl.h:$(GLSRC)gxsync.h
+$(DEVSRC)gdevpcl.h:$(GLSRC)gscsel.h
$(DEVSRC)gdevpcl.h:$(GLSRC)scommon.h
$(DEVSRC)gdevpcl.h:$(GLSRC)gsbitmap.h
$(DEVSRC)gdevpcl.h:$(GLSRC)gsccolor.h
-$(DEVSRC)gdevpcl.h:$(GLSRC)gscsel.h
-$(DEVSRC)gdevpcl.h:$(GLSRC)gxarith.h
-$(DEVSRC)gdevpcl.h:$(GLSRC)gpsync.h
-$(DEVSRC)gdevpcl.h:$(GLSRC)memento.h
$(DEVSRC)gdevpcl.h:$(GLSRC)gsstype.h
-$(DEVSRC)gdevpcl.h:$(GLSRC)gpgetenv.h
$(DEVSRC)gdevpcl.h:$(GLSRC)gsmemory.h
-$(DEVSRC)gdevpcl.h:$(GLSRC)gscdefs.h
+$(DEVSRC)gdevpcl.h:$(GLSRC)gpsync.h
+$(DEVSRC)gdevpcl.h:$(GLSRC)gpgetenv.h
+$(DEVSRC)gdevpcl.h:$(GLSRC)memory_.h
$(DEVSRC)gdevpcl.h:$(GLSRC)gslibctx.h
+$(DEVSRC)gdevpcl.h:$(GLSRC)gscdefs.h
$(DEVSRC)gdevpcl.h:$(GLSRC)gscompt.h
-$(DEVSRC)gdevpcl.h:$(GLSRC)stdio_.h
$(DEVSRC)gdevpcl.h:$(GLSRC)gxcindex.h
-$(DEVSRC)gdevpcl.h:$(GLSRC)gsgstate.h
$(DEVSRC)gdevpcl.h:$(GLSRC)stdint_.h
-$(DEVSRC)gdevpcl.h:$(GLSRC)gssprintf.h
+$(DEVSRC)gdevpcl.h:$(GLSRC)gsgstate.h
$(DEVSRC)gdevpcl.h:$(GLSRC)gsccode.h
-$(DEVSRC)gdevpcl.h:$(GLSRC)std.h
+$(DEVSRC)gdevpcl.h:$(GLSRC)gs_dll_call.h
+$(DEVSRC)gdevpcl.h:$(GLSRC)stdio_.h
$(DEVSRC)gdevpcl.h:$(GLSRC)gstypes.h
+$(DEVSRC)gdevpcl.h:$(GLSRC)std.h
$(DEVSRC)gdevpcl.h:$(GLSRC)stdpre.h
$(DEVSRC)gdevpcl.h:$(GLGEN)arch.h
-$(DEVSRC)gdevpcl.h:$(GLSRC)gs_dll_call.h
+$(DEVSRC)gdevpcl.h:$(GLSRC)gssprintf.h
$(DEVVECSRC)gdevpsu.h:$(GLSRC)gsdevice.h
-$(DEVVECSRC)gdevpsu.h:$(GLSRC)gsmatrix.h
$(DEVVECSRC)gdevpsu.h:$(GLSRC)gsparam.h
+$(DEVVECSRC)gdevpsu.h:$(GLSRC)gsmatrix.h
$(DEVVECSRC)gdevpsu.h:$(GLSRC)scommon.h
$(DEVVECSRC)gdevpsu.h:$(GLSRC)gsstype.h
$(DEVVECSRC)gdevpsu.h:$(GLSRC)gsmemory.h
$(DEVVECSRC)gdevpsu.h:$(GLSRC)gslibctx.h
-$(DEVVECSRC)gdevpsu.h:$(GLSRC)stdio_.h
-$(DEVVECSRC)gdevpsu.h:$(GLSRC)gsgstate.h
$(DEVVECSRC)gdevpsu.h:$(GLSRC)stdint_.h
-$(DEVVECSRC)gdevpsu.h:$(GLSRC)gssprintf.h
-$(DEVVECSRC)gdevpsu.h:$(GLSRC)std.h
+$(DEVVECSRC)gdevpsu.h:$(GLSRC)gsgstate.h
+$(DEVVECSRC)gdevpsu.h:$(GLSRC)gs_dll_call.h
+$(DEVVECSRC)gdevpsu.h:$(GLSRC)stdio_.h
$(DEVVECSRC)gdevpsu.h:$(GLSRC)gstypes.h
+$(DEVVECSRC)gdevpsu.h:$(GLSRC)std.h
$(DEVVECSRC)gdevpsu.h:$(GLSRC)stdpre.h
$(DEVVECSRC)gdevpsu.h:$(GLGEN)arch.h
-$(DEVVECSRC)gdevpsu.h:$(GLSRC)gs_dll_call.h
+$(DEVVECSRC)gdevpsu.h:$(GLSRC)gssprintf.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gdevprn.h
$(DEVSRC)gdevdljm.h:$(GLSRC)string_.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gsstrtok.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gxclthrd.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gxclpage.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gxclist.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gxgstate.h
$(DEVSRC)gdevdljm.h:$(DEVSRC)gdevpcl.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gxgstate.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gstrans.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gdevp14.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gxline.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gsht1.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gxcomp.h
$(DEVSRC)gdevdljm.h:$(GLSRC)math_.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gdevp14.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gxcolor2.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gxpcolor.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gxdevmem.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gx.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gdevdevn.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gxdevbuf.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gxblend.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gdebug.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gxmatrix.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gxdevbuf.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gxband.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gxclipsr.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gxblend.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gxbitfmt.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gsequivc.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gxclipsr.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gscolor2.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gxdevice.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gsht.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gxcpath.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gxdevcli.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gsht.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gxdevmem.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gxpcache.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gscindex.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gxcmap.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gstparam.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gsptype1.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gxdevcli.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gxtext.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gsfunc.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gscie.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gspcolor.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gstext.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gxstate.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gxdcolor.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gxfcache.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gspcolor.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gsnamecl.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gsdsrc.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gstparam.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gscie.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gxstate.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gxcmap.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gsmalloc.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gsropt.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gsfunc.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gxctable.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gsnamecl.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gxrplane.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gxbcache.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gxcspace.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gxiclass.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gxclio.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gxfcache.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gsfont.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gxfmap.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gxftype.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gsuid.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gxcvalue.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gxdda.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gsfont.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gxiclass.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gxpath.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gspenum.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gxtmap.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gxfrac.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gsimage.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gxpath.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gsmalloc.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gsdcolor.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gscms.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gxfrac.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gxdda.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gslparam.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gxbcache.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gsdcolor.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gsrect.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gsxfont.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gxmatrix.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gscms.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gxftype.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gsdevice.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gsstruct.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gscspace.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gsuid.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gxarith.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gsdsrc.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gxstdio.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gsiparam.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gsxfont.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gxfixed.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gspenum.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gsmatrix.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gsio.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gxhttile.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gsrefct.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gscpm.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gxbitmap.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gsiparam.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gxhttile.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gsio.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gp.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)memento.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gsparam.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)memory_.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gsmatrix.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gxbitmap.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gsutil.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gsrefct.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gp.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gsstrl.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gdbflags.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gxsync.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gserrors.h
$(DEVSRC)gdevdljm.h:$(GLSRC)srdline.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)scommon.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gsstruct.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gserrors.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gxsync.h
$(DEVSRC)gdevdljm.h:$(GLSRC)vmsmath.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gscsel.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)scommon.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gsbitmap.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gsfname.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gsccolor.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gscsel.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gxarith.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gpsync.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)memento.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gsstype.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gpgetenv.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gsmemory.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gscdefs.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gpsync.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gpgetenv.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)memory_.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gslibctx.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gscdefs.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gscompt.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)stdio_.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gxcindex.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gsgstate.h
$(DEVSRC)gdevdljm.h:$(GLSRC)stdint_.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gssprintf.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gsgstate.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gsccode.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)std.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gs_dll_call.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)stdio_.h
$(DEVSRC)gdevdljm.h:$(GLSRC)gstypes.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)std.h
$(DEVSRC)gdevdljm.h:$(GLSRC)stdpre.h
$(DEVSRC)gdevdljm.h:$(GLGEN)arch.h
-$(DEVSRC)gdevdljm.h:$(GLSRC)gs_dll_call.h
+$(DEVSRC)gdevdljm.h:$(GLSRC)gssprintf.h
+$(DEVSRC)gdevx.h:$(GLSRC)gdevbbox.h
+$(DEVSRC)gdevx.h:$(DEVSRC)gdevxcmp.h
+$(DEVSRC)gdevx.h:$(GLSRC)gxdevcli.h
+$(DEVSRC)gdevx.h:$(GLSRC)gxtext.h
+$(DEVSRC)gdevx.h:$(GLSRC)gstext.h
+$(DEVSRC)gdevx.h:$(GLSRC)gstparam.h
+$(DEVSRC)gdevx.h:$(GLSRC)gxcmap.h
+$(DEVSRC)gdevx.h:$(GLSRC)gsropt.h
+$(DEVSRC)gdevx.h:$(GLSRC)gsfunc.h
+$(DEVSRC)gdevx.h:$(GLSRC)gsnamecl.h
+$(DEVSRC)gdevx.h:$(GLSRC)gxrplane.h
+$(DEVSRC)gdevx.h:$(GLSRC)gxcspace.h
+$(DEVSRC)gdevx.h:$(GLSRC)gxfcache.h
+$(DEVSRC)gdevx.h:$(GLSRC)gsfont.h
+$(DEVSRC)gdevx.h:$(GLSRC)gxfmap.h
+$(DEVSRC)gdevx.h:$(GLSRC)gxcvalue.h
+$(DEVSRC)gdevx.h:$(GLSRC)gxpath.h
+$(DEVSRC)gdevx.h:$(GLSRC)gspenum.h
+$(DEVSRC)gdevx.h:$(GLSRC)gxtmap.h
+$(DEVSRC)gdevx.h:$(GLSRC)gsimage.h
+$(DEVSRC)gdevx.h:$(GLSRC)gxfrac.h
+$(DEVSRC)gdevx.h:$(GLSRC)gxdda.h
+$(DEVSRC)gdevx.h:$(GLSRC)gslparam.h
+$(DEVSRC)gdevx.h:$(GLSRC)gxbcache.h
+$(DEVSRC)gdevx.h:$(GLSRC)gsdcolor.h
+$(DEVSRC)gdevx.h:$(GLSRC)gsrect.h
+$(DEVSRC)gdevx.h:$(GLSRC)gscms.h
+$(DEVSRC)gdevx.h:$(GLSRC)gxftype.h
+$(DEVSRC)gdevx.h:$(GLSRC)x_.h
+$(DEVSRC)gdevx.h:$(GLSRC)gsdevice.h
+$(DEVSRC)gdevx.h:$(GLSRC)gscspace.h
+$(DEVSRC)gdevx.h:$(GLSRC)gsuid.h
+$(DEVSRC)gdevx.h:$(GLSRC)gxarith.h
+$(DEVSRC)gdevx.h:$(GLSRC)gsdsrc.h
+$(DEVSRC)gdevx.h:$(GLSRC)gsxfont.h
+$(DEVSRC)gdevx.h:$(GLSRC)gxfixed.h
+$(DEVSRC)gdevx.h:$(GLSRC)gsrefct.h
+$(DEVSRC)gdevx.h:$(GLSRC)gscpm.h
+$(DEVSRC)gdevx.h:$(GLSRC)gsiparam.h
+$(DEVSRC)gdevx.h:$(GLSRC)gxhttile.h
+$(DEVSRC)gdevx.h:$(GLSRC)gp.h
+$(DEVSRC)gdevx.h:$(GLSRC)memento.h
+$(DEVSRC)gdevx.h:$(GLSRC)gsparam.h
+$(DEVSRC)gdevx.h:$(GLSRC)gsmatrix.h
+$(DEVSRC)gdevx.h:$(GLSRC)gxbitmap.h
+$(DEVSRC)gdevx.h:$(GLSRC)srdline.h
+$(DEVSRC)gdevx.h:$(GLSRC)gsstruct.h
+$(DEVSRC)gdevx.h:$(GLSRC)gxsync.h
+$(DEVSRC)gdevx.h:$(GLSRC)gscsel.h
+$(DEVSRC)gdevx.h:$(GLSRC)scommon.h
+$(DEVSRC)gdevx.h:$(GLSRC)gsbitmap.h
+$(DEVSRC)gdevx.h:$(GLSRC)gsccolor.h
+$(DEVSRC)gdevx.h:$(GLSRC)gsstype.h
+$(DEVSRC)gdevx.h:$(GLSRC)gsmemory.h
+$(DEVSRC)gdevx.h:$(GLSRC)gpsync.h
+$(DEVSRC)gdevx.h:$(GLSRC)gpgetenv.h
+$(DEVSRC)gdevx.h:$(GLSRC)memory_.h
+$(DEVSRC)gdevx.h:$(GLSRC)gslibctx.h
+$(DEVSRC)gdevx.h:$(GLSRC)gscdefs.h
+$(DEVSRC)gdevx.h:$(GLSRC)gscompt.h
+$(DEVSRC)gdevx.h:$(GLSRC)gxcindex.h
+$(DEVSRC)gdevx.h:$(GLSRC)stdint_.h
+$(DEVSRC)gdevx.h:$(GLSRC)gsgstate.h
+$(DEVSRC)gdevx.h:$(GLSRC)gsccode.h
+$(DEVSRC)gdevx.h:$(GLSRC)gs_dll_call.h
+$(DEVSRC)gdevx.h:$(GLSRC)stdio_.h
+$(DEVSRC)gdevx.h:$(GLSRC)gstypes.h
+$(DEVSRC)gdevx.h:$(GLSRC)std.h
+$(DEVSRC)gdevx.h:$(GLSRC)stdpre.h
+$(DEVSRC)gdevx.h:$(GLGEN)arch.h
+$(DEVSRC)gdevx.h:$(GLSRC)gssprintf.h
$(DEVSRC)gdevpxut.h:$(GLSRC)gsdevice.h
$(DEVSRC)gdevpxut.h:$(GLSRC)gxfixed.h
-$(DEVSRC)gdevpxut.h:$(GLSRC)gsmatrix.h
$(DEVSRC)gdevpxut.h:$(GLSRC)gsparam.h
+$(DEVSRC)gdevpxut.h:$(GLSRC)gsmatrix.h
$(DEVSRC)gdevpxut.h:$(GLSRC)scommon.h
$(DEVSRC)gdevpxut.h:$(GLSRC)gdevpxat.h
$(DEVSRC)gdevpxut.h:$(GLSRC)gdevpxen.h
@@ -2174,1094 +2250,1102 @@ $(DEVSRC)gdevpxut.h:$(GLSRC)gdevpxop.h
$(DEVSRC)gdevpxut.h:$(GLSRC)gsstype.h
$(DEVSRC)gdevpxut.h:$(GLSRC)gsmemory.h
$(DEVSRC)gdevpxut.h:$(GLSRC)gslibctx.h
-$(DEVSRC)gdevpxut.h:$(GLSRC)stdio_.h
-$(DEVSRC)gdevpxut.h:$(GLSRC)gsgstate.h
$(DEVSRC)gdevpxut.h:$(GLSRC)stdint_.h
-$(DEVSRC)gdevpxut.h:$(GLSRC)gssprintf.h
-$(DEVSRC)gdevpxut.h:$(GLSRC)std.h
+$(DEVSRC)gdevpxut.h:$(GLSRC)gsgstate.h
+$(DEVSRC)gdevpxut.h:$(GLSRC)gs_dll_call.h
+$(DEVSRC)gdevpxut.h:$(GLSRC)stdio_.h
$(DEVSRC)gdevpxut.h:$(GLSRC)gstypes.h
+$(DEVSRC)gdevpxut.h:$(GLSRC)std.h
$(DEVSRC)gdevpxut.h:$(GLSRC)stdpre.h
$(DEVSRC)gdevpxut.h:$(GLGEN)arch.h
-$(DEVSRC)gdevpxut.h:$(GLSRC)gs_dll_call.h
+$(DEVSRC)gdevpxut.h:$(GLSRC)gssprintf.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gdevvec.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxgstate.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gstrans.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gdevp14.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxline.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gsht1.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxcomp.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)math_.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)scfx.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gdevbbox.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxcolor2.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)spsdf.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gdevp14.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxcolor2.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxpcolor.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxdevmem.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gdevdevn.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxclipsr.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)stream.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxblend.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxmatrix.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)stream.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxbitfmt.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gsequivc.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxclipsr.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)shc.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gscolor2.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxdevice.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxcpath.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gsht.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxiparam.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)sa85x.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxcpath.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxdevcli.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)sa85d.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxdevmem.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxpcache.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)sa85d.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gscindex.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxcmap.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gstparam.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gsptype1.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxdevcli.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxtext.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gsfunc.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gscie.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gspcolor.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gstext.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxstate.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxdcolor.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxfcache.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gspcolor.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gsnamecl.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gsdsrc.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gstparam.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gscie.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxstate.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxcmap.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gsmalloc.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gsropt.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gsfunc.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxctable.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxrplane.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gsnamecl.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxiodev.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxbcache.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)strimpl.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxrplane.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxcspace.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)strimpl.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxiclass.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)stat_.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxfcache.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gsfont.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxfmap.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxftype.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gsuid.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxcvalue.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxdda.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gsfont.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxiclass.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxpath.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gspenum.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxtmap.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxfrac.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gsimage.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxfrac.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxdda.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gslparam.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxhldevc.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxpath.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gsmalloc.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxbcache.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gsdcolor.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gscms.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gslparam.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gsrect.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gsxfont.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxmatrix.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gscms.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxftype.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gsdevice.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gsstruct.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gscspace.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gsuid.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxarith.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gsdsrc.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxstdio.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gsiparam.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gsxfont.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxfixed.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gspenum.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gsmatrix.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gsio.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxhttile.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gscpm.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxbitmap.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gsparam.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gsrefct.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gscpm.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gsiparam.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxhttile.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gsio.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gp.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxsync.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)memento.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gsparam.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gsmatrix.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxbitmap.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)srdline.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)scommon.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gsstruct.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxsync.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)vmsmath.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gscsel.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)scommon.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gsbitmap.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gsfname.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gsccolor.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gscsel.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxarith.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gpsync.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)memento.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gsstype.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gpgetenv.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gsmemory.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gscdefs.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gpsync.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gpgetenv.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)memory_.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gslibctx.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gscdefs.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gscompt.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gsbittab.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)stdio_.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gxcindex.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gsgstate.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)stdint_.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gssprintf.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gsgstate.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gsccode.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)std.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gs_dll_call.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)stdio_.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gstypes.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)std.h
$(DEVVECSRC)gdevpsdf.h:$(GLSRC)stdpre.h
$(DEVVECSRC)gdevpsdf.h:$(GLGEN)arch.h
-$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gs_dll_call.h
+$(DEVVECSRC)gdevpsdf.h:$(GLSRC)gssprintf.h
$(DEVVECSRC)gdevpsds.h:$(GLSRC)strimpl.h
$(DEVVECSRC)gdevpsds.h:$(GLSRC)gsdevice.h
-$(DEVVECSRC)gdevpsds.h:$(GLSRC)gsstruct.h
$(DEVVECSRC)gdevpsds.h:$(GLSRC)gsiparam.h
+$(DEVVECSRC)gdevpsds.h:$(GLSRC)gsparam.h
$(DEVVECSRC)gdevpsds.h:$(GLSRC)gsmatrix.h
$(DEVVECSRC)gdevpsds.h:$(GLSRC)gxbitmap.h
-$(DEVVECSRC)gdevpsds.h:$(GLSRC)gsparam.h
+$(DEVVECSRC)gdevpsds.h:$(GLSRC)gsstruct.h
$(DEVVECSRC)gdevpsds.h:$(GLSRC)scommon.h
$(DEVVECSRC)gdevpsds.h:$(GLSRC)gsbitmap.h
$(DEVVECSRC)gdevpsds.h:$(GLSRC)gsccolor.h
$(DEVVECSRC)gdevpsds.h:$(GLSRC)gsstype.h
$(DEVVECSRC)gdevpsds.h:$(GLSRC)gsmemory.h
$(DEVVECSRC)gdevpsds.h:$(GLSRC)gslibctx.h
-$(DEVVECSRC)gdevpsds.h:$(GLSRC)stdio_.h
-$(DEVVECSRC)gdevpsds.h:$(GLSRC)gsgstate.h
$(DEVVECSRC)gdevpsds.h:$(GLSRC)stdint_.h
-$(DEVVECSRC)gdevpsds.h:$(GLSRC)gssprintf.h
-$(DEVVECSRC)gdevpsds.h:$(GLSRC)std.h
+$(DEVVECSRC)gdevpsds.h:$(GLSRC)gsgstate.h
+$(DEVVECSRC)gdevpsds.h:$(GLSRC)gs_dll_call.h
+$(DEVVECSRC)gdevpsds.h:$(GLSRC)stdio_.h
$(DEVVECSRC)gdevpsds.h:$(GLSRC)gstypes.h
+$(DEVVECSRC)gdevpsds.h:$(GLSRC)std.h
$(DEVVECSRC)gdevpsds.h:$(GLSRC)stdpre.h
$(DEVVECSRC)gdevpsds.h:$(GLGEN)arch.h
-$(DEVVECSRC)gdevpsds.h:$(GLSRC)gs_dll_call.h
+$(DEVVECSRC)gdevpsds.h:$(GLSRC)gssprintf.h
$(DEVVECSRC)gdevpdfc.h:$(DEVVECSRC)gdevpdfx.h
$(DEVVECSRC)gdevpdfc.h:$(DEVVECSRC)gdevpsdf.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gdevvec.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxgstate.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxfont.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gstrans.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gdevp14.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxline.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)sarc4.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsht1.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)sarc4.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxcomp.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)math_.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)scfx.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gdevbbox.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxcolor2.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)spprint.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)spsdf.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gdevp14.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxcolor2.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxpcolor.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxdevmem.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxfont.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsgdata.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gspath.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gdevdevn.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxclipsr.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)stream.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxblend.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxmatrix.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsgdata.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)stream.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxbitfmt.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsequivc.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxclipsr.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)shc.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsgcache.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gscolor2.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gspath.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxdevice.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxfapi.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsgcache.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsnotify.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxdevice.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsfcmap.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxcpath.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsht.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxiparam.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)sa85x.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxcpath.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxdevcli.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)sa85d.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxdevmem.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxpcache.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)sa85d.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gscindex.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxcmap.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gstparam.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsptype1.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxdevcli.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxtext.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsfunc.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gscie.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gspcolor.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gstext.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxstate.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxdcolor.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxfcache.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gspcolor.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsnamecl.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsdsrc.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gstparam.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gscie.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxstate.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxcmap.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsmalloc.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsropt.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsfunc.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxctable.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxrplane.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsnamecl.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxiodev.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxbcache.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)strimpl.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxrplane.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxcspace.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)strimpl.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxiclass.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)stat_.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxfcache.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsfont.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxfmap.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxftype.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsuid.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxcvalue.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxdda.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsfont.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxiclass.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxpath.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gspenum.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxtmap.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxfrac.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsimage.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxfrac.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxdda.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gslparam.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxhldevc.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxpath.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsmalloc.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxbcache.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsdcolor.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gscms.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gslparam.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsrect.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsxfont.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxmatrix.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gscms.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxftype.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsdevice.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsstruct.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gscspace.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsuid.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxarith.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsdsrc.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxstdio.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsiparam.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsxfont.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxfixed.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsfcmap.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gspenum.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsmatrix.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsio.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxhttile.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gscpm.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxbitmap.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsparam.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsrefct.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gscpm.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsiparam.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxhttile.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsio.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gp.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxsync.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)memento.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsparam.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsmatrix.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxbitmap.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)srdline.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)scommon.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsstruct.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxsync.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)vmsmath.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gscsel.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)scommon.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsbitmap.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsfname.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsccolor.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gscsel.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxarith.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gpsync.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)memento.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsstype.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gpgetenv.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsmemory.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gscdefs.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gpsync.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gpgetenv.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)memory_.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gslibctx.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gscdefs.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gscompt.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsbittab.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)stdio_.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gxcindex.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsgstate.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)stdint_.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gssprintf.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsgstate.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gsccode.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)std.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gs_dll_call.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)stdio_.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gstypes.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)std.h
$(DEVVECSRC)gdevpdfc.h:$(GLSRC)stdpre.h
$(DEVVECSRC)gdevpdfc.h:$(GLGEN)arch.h
-$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gs_dll_call.h
+$(DEVVECSRC)gdevpdfc.h:$(GLSRC)gssprintf.h
$(DEVVECSRC)gdevpdfg.h:$(DEVVECSRC)gdevpdfx.h
$(DEVVECSRC)gdevpdfg.h:$(DEVVECSRC)gdevpsdf.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gdevvec.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxgstate.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxfont.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gstrans.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gdevp14.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxline.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)sarc4.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsht1.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)sarc4.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxcomp.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)math_.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)scfx.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gdevbbox.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxcolor2.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)spprint.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)spsdf.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gdevp14.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxcolor2.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxpcolor.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxdevmem.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxfont.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsgdata.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gspath.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gdevdevn.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxclipsr.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)stream.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxblend.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxmatrix.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsgdata.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)stream.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxbitfmt.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsequivc.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxclipsr.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)shc.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsgcache.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gscolor2.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gspath.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxdevice.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxfapi.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsgcache.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsnotify.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxdevice.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsfcmap.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxcpath.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsht.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxiparam.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)sa85x.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxcpath.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxdevcli.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)sa85d.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxdevmem.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxpcache.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)sa85d.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gscindex.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxcmap.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gstparam.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsptype1.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxdevcli.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxtext.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsfunc.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gscie.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gspcolor.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gstext.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxstate.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxdcolor.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxfcache.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gspcolor.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsnamecl.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsdsrc.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gstparam.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gscie.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxstate.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxcmap.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsmalloc.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsropt.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsfunc.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxctable.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxrplane.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsnamecl.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxiodev.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxbcache.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)strimpl.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxrplane.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxcspace.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)strimpl.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxiclass.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)stat_.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxfcache.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsfont.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxfmap.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxftype.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsuid.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxcvalue.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxdda.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsfont.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxiclass.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxpath.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gspenum.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxtmap.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxfrac.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsimage.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxfrac.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxdda.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gslparam.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxhldevc.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxpath.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsmalloc.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxbcache.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsdcolor.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gscms.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gslparam.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsrect.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsxfont.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxmatrix.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gscms.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxftype.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsdevice.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsstruct.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gscspace.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsuid.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxarith.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsdsrc.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxstdio.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsiparam.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsxfont.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxfixed.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsfcmap.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gspenum.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsmatrix.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsio.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxhttile.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gscpm.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxbitmap.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsparam.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsrefct.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gscpm.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsiparam.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxhttile.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsio.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gp.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxsync.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)memento.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsparam.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsmatrix.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxbitmap.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)srdline.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)scommon.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsstruct.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxsync.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)vmsmath.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gscsel.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)scommon.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsbitmap.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsfname.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsccolor.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gscsel.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxarith.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gpsync.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)memento.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsstype.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gpgetenv.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsmemory.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gscdefs.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gpsync.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gpgetenv.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)memory_.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gslibctx.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gscdefs.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gscompt.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsbittab.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)stdio_.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gxcindex.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsgstate.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)stdint_.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gssprintf.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsgstate.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gsccode.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)std.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gs_dll_call.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)stdio_.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gstypes.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)std.h
$(DEVVECSRC)gdevpdfg.h:$(GLSRC)stdpre.h
$(DEVVECSRC)gdevpdfg.h:$(GLGEN)arch.h
-$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gs_dll_call.h
+$(DEVVECSRC)gdevpdfg.h:$(GLSRC)gssprintf.h
$(DEVVECSRC)gdevpdfo.h:$(DEVVECSRC)gdevpdfx.h
$(DEVVECSRC)gdevpdfo.h:$(DEVVECSRC)gdevpsdf.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gdevvec.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxgstate.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxfont.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gstrans.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gdevp14.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxline.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)sarc4.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsht1.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)sarc4.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxcomp.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)math_.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)scfx.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gdevbbox.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxcolor2.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)spprint.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)spsdf.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)smd5.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gdevp14.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxcolor2.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxpcolor.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxdevmem.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxfont.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsgdata.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gspath.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gdevdevn.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxclipsr.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)stream.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxblend.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxmatrix.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsgdata.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)stream.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxbitfmt.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsequivc.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxclipsr.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)shc.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsgcache.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gscolor2.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gspath.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxdevice.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxfapi.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsgcache.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsnotify.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxdevice.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsfcmap.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxcpath.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsht.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxiparam.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)sa85x.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxcpath.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxdevcli.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)sa85d.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxdevmem.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxpcache.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)sa85d.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gscindex.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxcmap.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gstparam.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsptype1.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxdevcli.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxtext.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsfunc.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gscie.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gspcolor.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gstext.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxstate.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxdcolor.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxfcache.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gspcolor.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsnamecl.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsdsrc.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gstparam.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gscie.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxstate.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxcmap.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsmalloc.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsropt.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsfunc.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxctable.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxrplane.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsnamecl.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxiodev.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxbcache.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)strimpl.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxrplane.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxcspace.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)strimpl.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxiclass.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)stat_.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxfcache.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsfont.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxfmap.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxftype.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsuid.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxcvalue.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxdda.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsfont.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxiclass.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxpath.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gspenum.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxtmap.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxfrac.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsimage.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxfrac.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxdda.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gslparam.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxhldevc.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxpath.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsmalloc.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxbcache.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsdcolor.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gscms.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gslparam.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsrect.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsxfont.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxmatrix.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gscms.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxftype.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsdevice.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsstruct.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gscspace.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsuid.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxarith.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsdsrc.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxstdio.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsmd5.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsiparam.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsxfont.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxfixed.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsfcmap.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gspenum.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsmatrix.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsio.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxhttile.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gscpm.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxbitmap.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsparam.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsrefct.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gscpm.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsiparam.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxhttile.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsio.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gp.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxsync.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)memento.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsparam.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsmatrix.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxbitmap.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)srdline.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)scommon.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsstruct.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxsync.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)vmsmath.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gscsel.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)scommon.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsbitmap.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsfname.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsccolor.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gscsel.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxarith.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gpsync.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)memento.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsstype.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gpgetenv.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsmemory.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gscdefs.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gpsync.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gpgetenv.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)memory_.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gslibctx.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gscdefs.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gscompt.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsbittab.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)stdio_.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gxcindex.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsgstate.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)stdint_.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gssprintf.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsgstate.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gsccode.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)std.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gs_dll_call.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)stdio_.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gstypes.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)std.h
$(DEVVECSRC)gdevpdfo.h:$(GLSRC)stdpre.h
$(DEVVECSRC)gdevpdfo.h:$(GLGEN)arch.h
-$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gs_dll_call.h
+$(DEVVECSRC)gdevpdfo.h:$(GLSRC)gssprintf.h
$(DEVVECSRC)gdevpdfx.h:$(DEVVECSRC)gdevpsdf.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gdevvec.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxgstate.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxfont.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gstrans.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gdevp14.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxline.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)sarc4.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsht1.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)sarc4.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxcomp.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)math_.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)scfx.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gdevbbox.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxcolor2.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)spprint.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)spsdf.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gdevp14.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxcolor2.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxpcolor.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxdevmem.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxfont.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsgdata.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gspath.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gdevdevn.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxclipsr.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)stream.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxblend.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxmatrix.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsgdata.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)stream.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxbitfmt.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsequivc.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxclipsr.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)shc.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsgcache.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gscolor2.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gspath.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxdevice.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxfapi.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsgcache.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsnotify.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxdevice.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsfcmap.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxcpath.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsht.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxiparam.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)sa85x.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxcpath.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxdevcli.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)sa85d.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxdevmem.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxpcache.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)sa85d.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gscindex.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxcmap.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gstparam.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsptype1.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxdevcli.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxtext.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsfunc.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gscie.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gspcolor.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gstext.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxstate.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxdcolor.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxfcache.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gspcolor.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsnamecl.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsdsrc.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gstparam.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gscie.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxstate.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxcmap.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsmalloc.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsropt.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsfunc.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxctable.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxrplane.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsnamecl.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxiodev.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxbcache.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)strimpl.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxrplane.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxcspace.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)strimpl.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxiclass.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)stat_.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxfcache.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsfont.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxfmap.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxftype.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsuid.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxcvalue.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxdda.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsfont.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxiclass.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxpath.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gspenum.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxtmap.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxfrac.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsimage.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxfrac.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxdda.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gslparam.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxhldevc.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxpath.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsmalloc.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxbcache.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsdcolor.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gscms.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gslparam.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsrect.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsxfont.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxmatrix.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gscms.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxftype.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsdevice.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsstruct.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gscspace.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsuid.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxarith.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsdsrc.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxstdio.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsiparam.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsxfont.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxfixed.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsfcmap.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gspenum.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsmatrix.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsio.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxhttile.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gscpm.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxbitmap.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsparam.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsrefct.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gscpm.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsiparam.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxhttile.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsio.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gp.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxsync.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)memento.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsparam.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsmatrix.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxbitmap.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)srdline.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)scommon.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsstruct.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxsync.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)vmsmath.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gscsel.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)scommon.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsbitmap.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsfname.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsccolor.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gscsel.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxarith.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gpsync.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)memento.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsstype.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gpgetenv.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsmemory.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gscdefs.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gpsync.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gpgetenv.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)memory_.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gslibctx.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gscdefs.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gscompt.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsbittab.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)stdio_.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gxcindex.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsgstate.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)stdint_.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gssprintf.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsgstate.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gsccode.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)std.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gs_dll_call.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)stdio_.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gstypes.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)std.h
$(DEVVECSRC)gdevpdfx.h:$(GLSRC)stdpre.h
$(DEVVECSRC)gdevpdfx.h:$(GLGEN)arch.h
-$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gs_dll_call.h
+$(DEVVECSRC)gdevpdfx.h:$(GLSRC)gssprintf.h
$(DEVVECSRC)gdevpsf.h:$(GLSRC)gxfcid.h
-$(DEVVECSRC)gdevpsf.h:$(GLSRC)gxfont42.h
$(DEVVECSRC)gdevpsf.h:$(GLSRC)gstype1.h
+$(DEVVECSRC)gdevpsf.h:$(GLSRC)gxfont42.h
$(DEVVECSRC)gdevpsf.h:$(GLSRC)gxfont.h
-$(DEVVECSRC)gdevpsf.h:$(GLSRC)gsgdata.h
-$(DEVVECSRC)gdevpsf.h:$(GLSRC)gxcid.h
$(DEVVECSRC)gdevpsf.h:$(GLSRC)gspath.h
-$(DEVVECSRC)gdevpsf.h:$(GLSRC)gxfapi.h
+$(DEVVECSRC)gdevpsf.h:$(GLSRC)gxcid.h
+$(DEVVECSRC)gdevpsf.h:$(GLSRC)gxmatrix.h
+$(DEVVECSRC)gdevpsf.h:$(GLSRC)gsgdata.h
$(DEVVECSRC)gdevpsf.h:$(GLSRC)gsgcache.h
+$(DEVVECSRC)gdevpsf.h:$(GLSRC)gxfapi.h
$(DEVVECSRC)gdevpsf.h:$(GLSRC)gsnotify.h
+$(DEVVECSRC)gdevpsf.h:$(GLSRC)gsfcmap.h
$(DEVVECSRC)gdevpsf.h:$(GLSRC)gstext.h
$(DEVVECSRC)gdevpsf.h:$(GLSRC)gxfcache.h
-$(DEVVECSRC)gdevpsf.h:$(GLSRC)gxbcache.h
-$(DEVVECSRC)gdevpsf.h:$(GLSRC)gxftype.h
-$(DEVVECSRC)gdevpsf.h:$(GLSRC)gsuid.h
$(DEVVECSRC)gdevpsf.h:$(GLSRC)gsfont.h
$(DEVVECSRC)gdevpsf.h:$(GLSRC)gxpath.h
-$(DEVVECSRC)gdevpsf.h:$(GLSRC)gsdcolor.h
-$(DEVVECSRC)gdevpsf.h:$(GLSRC)gscms.h
+$(DEVVECSRC)gdevpsf.h:$(GLSRC)gspenum.h
$(DEVVECSRC)gdevpsf.h:$(GLSRC)gslparam.h
+$(DEVVECSRC)gdevpsf.h:$(GLSRC)gxbcache.h
+$(DEVVECSRC)gdevpsf.h:$(GLSRC)gsdcolor.h
$(DEVVECSRC)gdevpsf.h:$(GLSRC)gsrect.h
-$(DEVVECSRC)gdevpsf.h:$(GLSRC)gsxfont.h
-$(DEVVECSRC)gdevpsf.h:$(GLSRC)gxmatrix.h
+$(DEVVECSRC)gdevpsf.h:$(GLSRC)gscms.h
+$(DEVVECSRC)gdevpsf.h:$(GLSRC)gxftype.h
$(DEVVECSRC)gdevpsf.h:$(GLSRC)gsdevice.h
$(DEVVECSRC)gdevpsf.h:$(GLSRC)gscspace.h
-$(DEVVECSRC)gdevpsf.h:$(GLSRC)gsiparam.h
+$(DEVVECSRC)gdevpsf.h:$(GLSRC)gsuid.h
+$(DEVVECSRC)gdevpsf.h:$(GLSRC)gxarith.h
+$(DEVVECSRC)gdevpsf.h:$(GLSRC)gsxfont.h
$(DEVVECSRC)gdevpsf.h:$(GLSRC)gxfixed.h
-$(DEVVECSRC)gdevpsf.h:$(GLSRC)gsfcmap.h
-$(DEVVECSRC)gdevpsf.h:$(GLSRC)gspenum.h
-$(DEVVECSRC)gdevpsf.h:$(GLSRC)gsmatrix.h
-$(DEVVECSRC)gdevpsf.h:$(GLSRC)gxhttile.h
+$(DEVVECSRC)gdevpsf.h:$(GLSRC)gsrefct.h
$(DEVVECSRC)gdevpsf.h:$(GLSRC)gscpm.h
-$(DEVVECSRC)gdevpsf.h:$(GLSRC)gxbitmap.h
+$(DEVVECSRC)gdevpsf.h:$(GLSRC)gsiparam.h
+$(DEVVECSRC)gdevpsf.h:$(GLSRC)gxhttile.h
+$(DEVVECSRC)gdevpsf.h:$(GLSRC)memento.h
$(DEVVECSRC)gdevpsf.h:$(GLSRC)gsparam.h
-$(DEVVECSRC)gdevpsf.h:$(GLSRC)gsrefct.h
+$(DEVVECSRC)gdevpsf.h:$(GLSRC)gsmatrix.h
+$(DEVVECSRC)gdevpsf.h:$(GLSRC)gxbitmap.h
$(DEVVECSRC)gdevpsf.h:$(GLSRC)gxsync.h
$(DEVVECSRC)gdevpsf.h:$(GLSRC)scommon.h
$(DEVVECSRC)gdevpsf.h:$(GLSRC)gsbitmap.h
$(DEVVECSRC)gdevpsf.h:$(GLSRC)gsccolor.h
-$(DEVVECSRC)gdevpsf.h:$(GLSRC)gxarith.h
-$(DEVVECSRC)gdevpsf.h:$(GLSRC)gpsync.h
-$(DEVVECSRC)gdevpsf.h:$(GLSRC)memento.h
$(DEVVECSRC)gdevpsf.h:$(GLSRC)gsstype.h
$(DEVVECSRC)gdevpsf.h:$(GLSRC)gsmemory.h
+$(DEVVECSRC)gdevpsf.h:$(GLSRC)gpsync.h
$(DEVVECSRC)gdevpsf.h:$(GLSRC)gslibctx.h
-$(DEVVECSRC)gdevpsf.h:$(GLSRC)stdio_.h
$(DEVVECSRC)gdevpsf.h:$(GLSRC)gxcindex.h
-$(DEVVECSRC)gdevpsf.h:$(GLSRC)gsgstate.h
$(DEVVECSRC)gdevpsf.h:$(GLSRC)stdint_.h
-$(DEVVECSRC)gdevpsf.h:$(GLSRC)gssprintf.h
+$(DEVVECSRC)gdevpsf.h:$(GLSRC)gsgstate.h
$(DEVVECSRC)gdevpsf.h:$(GLSRC)gsccode.h
-$(DEVVECSRC)gdevpsf.h:$(GLSRC)std.h
+$(DEVVECSRC)gdevpsf.h:$(GLSRC)gs_dll_call.h
+$(DEVVECSRC)gdevpsf.h:$(GLSRC)stdio_.h
$(DEVVECSRC)gdevpsf.h:$(GLSRC)gstypes.h
+$(DEVVECSRC)gdevpsf.h:$(GLSRC)std.h
$(DEVVECSRC)gdevpsf.h:$(GLSRC)stdpre.h
$(DEVVECSRC)gdevpsf.h:$(GLGEN)arch.h
-$(DEVVECSRC)gdevpsf.h:$(GLSRC)gs_dll_call.h
+$(DEVVECSRC)gdevpsf.h:$(GLSRC)gssprintf.h
$(DEVVECSRC)gdevpdt.h:$(DEVVECSRC)gdevpdfx.h
$(DEVVECSRC)gdevpdt.h:$(DEVVECSRC)gdevpsdf.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gdevvec.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxgstate.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxfont.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gstrans.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gdevp14.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxline.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)sarc4.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsht1.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)sarc4.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxcomp.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)math_.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)scfx.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gdevbbox.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxcolor2.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)spprint.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)spsdf.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gdevp14.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxcolor2.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxpcolor.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxdevmem.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxfont.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsgdata.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gspath.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gdevdevn.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxclipsr.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)stream.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxblend.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxmatrix.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsgdata.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)stream.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxbitfmt.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsequivc.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxclipsr.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)shc.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsgcache.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gscolor2.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gspath.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxdevice.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxfapi.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsgcache.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsnotify.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxdevice.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsfcmap.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxcpath.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsht.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxiparam.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)sa85x.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxcpath.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxdevcli.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)sa85d.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxdevmem.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxpcache.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)sa85d.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gscindex.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxcmap.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gstparam.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsptype1.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxdevcli.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxtext.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsfunc.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gscie.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gspcolor.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gstext.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxstate.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxdcolor.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxfcache.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gspcolor.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsnamecl.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsdsrc.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gstparam.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gscie.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxstate.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxcmap.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsmalloc.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsropt.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsfunc.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxctable.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxrplane.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsnamecl.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxiodev.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxbcache.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)strimpl.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxrplane.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxcspace.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)strimpl.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxiclass.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)stat_.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxfcache.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsfont.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxfmap.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxftype.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsuid.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxcvalue.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxdda.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsfont.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxiclass.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxpath.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gspenum.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxtmap.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxfrac.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsimage.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxfrac.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxdda.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gslparam.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxhldevc.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxpath.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsmalloc.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxbcache.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsdcolor.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gscms.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gslparam.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsrect.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsxfont.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxmatrix.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gscms.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxftype.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsdevice.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsstruct.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gscspace.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsuid.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxarith.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsdsrc.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxstdio.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsiparam.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsxfont.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxfixed.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsfcmap.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gspenum.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsmatrix.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsio.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxhttile.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gscpm.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxbitmap.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsparam.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsrefct.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gscpm.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsiparam.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxhttile.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsio.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gp.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxsync.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)memento.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsparam.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsmatrix.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxbitmap.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)srdline.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)scommon.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsstruct.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxsync.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)vmsmath.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gscsel.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)scommon.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsbitmap.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsfname.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsccolor.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gscsel.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxarith.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gpsync.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)memento.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsstype.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gpgetenv.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsmemory.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gscdefs.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gpsync.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gpgetenv.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)memory_.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gslibctx.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gscdefs.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gscompt.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsbittab.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)stdio_.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gxcindex.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsgstate.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)stdint_.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gssprintf.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsgstate.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gsccode.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)std.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gs_dll_call.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)stdio_.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)gstypes.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)std.h
$(DEVVECSRC)gdevpdt.h:$(GLSRC)stdpre.h
$(DEVVECSRC)gdevpdt.h:$(GLGEN)arch.h
-$(DEVVECSRC)gdevpdt.h:$(GLSRC)gs_dll_call.h
+$(DEVVECSRC)gdevpdt.h:$(GLSRC)gssprintf.h
$(DEVVECSRC)gdevpdtx.h:$(DEVVECSRC)gdevpdt.h
$(DEVVECSRC)gdevpdtx.h:$(DEVVECSRC)gdevpdfx.h
$(DEVVECSRC)gdevpdtx.h:$(DEVVECSRC)gdevpsdf.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gdevvec.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxgstate.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxfont.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gstrans.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gdevp14.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxline.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)sarc4.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsht1.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)sarc4.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxcomp.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)math_.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)scfx.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gdevbbox.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxcolor2.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)spprint.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)spsdf.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gdevp14.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxcolor2.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxpcolor.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxdevmem.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxfont.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsgdata.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gspath.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gdevdevn.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxclipsr.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)stream.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxblend.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxmatrix.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsgdata.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)stream.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxbitfmt.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsequivc.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxclipsr.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)shc.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsgcache.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gscolor2.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gspath.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxdevice.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxfapi.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsgcache.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsnotify.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxdevice.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsfcmap.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxcpath.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsht.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxiparam.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)sa85x.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxcpath.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxdevcli.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)sa85d.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxdevmem.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxpcache.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)sa85d.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gscindex.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxcmap.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gstparam.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsptype1.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxdevcli.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxtext.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsfunc.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gscie.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gspcolor.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gstext.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxstate.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxdcolor.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxfcache.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gspcolor.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsnamecl.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsdsrc.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gstparam.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gscie.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxstate.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxcmap.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsmalloc.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsropt.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsfunc.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxctable.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxrplane.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsnamecl.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxiodev.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxbcache.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)strimpl.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxrplane.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxcspace.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)strimpl.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxiclass.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)stat_.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxfcache.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsfont.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxfmap.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxftype.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsuid.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxcvalue.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxdda.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsfont.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxiclass.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxpath.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gspenum.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxtmap.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxfrac.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsimage.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxfrac.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxdda.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gslparam.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxhldevc.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxpath.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsmalloc.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxbcache.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsdcolor.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gscms.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gslparam.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsrect.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsxfont.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxmatrix.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gscms.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxftype.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsdevice.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsstruct.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gscspace.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsuid.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxarith.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsdsrc.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxstdio.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsiparam.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsxfont.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxfixed.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsfcmap.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gspenum.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsmatrix.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsio.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxhttile.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gscpm.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxbitmap.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsparam.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsrefct.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gscpm.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsiparam.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxhttile.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsio.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gp.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxsync.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)memento.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsparam.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsmatrix.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxbitmap.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)srdline.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)scommon.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsstruct.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxsync.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)vmsmath.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gscsel.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)scommon.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsbitmap.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsfname.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsccolor.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gscsel.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxarith.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gpsync.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)memento.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsstype.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gpgetenv.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsmemory.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gscdefs.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gpsync.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gpgetenv.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)memory_.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gslibctx.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gscdefs.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gscompt.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsbittab.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)stdio_.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gxcindex.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsgstate.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)stdint_.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gssprintf.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsgstate.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gsccode.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)std.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gs_dll_call.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)stdio_.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gstypes.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)std.h
$(DEVVECSRC)gdevpdtx.h:$(GLSRC)stdpre.h
$(DEVVECSRC)gdevpdtx.h:$(GLGEN)arch.h
-$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gs_dll_call.h
+$(DEVVECSRC)gdevpdtx.h:$(GLSRC)gssprintf.h
$(DEVVECSRC)gdevpdtb.h:$(DEVVECSRC)gdevpdtx.h
$(DEVVECSRC)gdevpdtb.h:$(DEVVECSRC)gdevpdt.h
$(DEVVECSRC)gdevpdtb.h:$(DEVVECSRC)gdevpdfx.h
$(DEVVECSRC)gdevpdtb.h:$(DEVVECSRC)gdevpsdf.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gdevvec.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxgstate.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxfont.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gstrans.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gdevp14.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxline.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)sarc4.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsht1.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)sarc4.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxcomp.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)math_.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)scfx.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gdevbbox.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxcolor2.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)spprint.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)spsdf.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gdevp14.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxcolor2.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxpcolor.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxdevmem.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxfont.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsgdata.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gspath.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gdevdevn.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxclipsr.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)stream.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxblend.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxmatrix.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsgdata.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)stream.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxbitfmt.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsequivc.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxclipsr.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)shc.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsgcache.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gscolor2.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gspath.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxdevice.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxfapi.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsgcache.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsnotify.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxdevice.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsfcmap.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxcpath.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsht.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxiparam.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)sa85x.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxcpath.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxdevcli.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)sa85d.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxdevmem.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxpcache.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)sa85d.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gscindex.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxcmap.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gstparam.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsptype1.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxdevcli.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxtext.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsfunc.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gscie.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gspcolor.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gstext.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxstate.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxdcolor.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxfcache.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gspcolor.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsnamecl.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsdsrc.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gstparam.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gscie.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxstate.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxcmap.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsmalloc.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsropt.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsfunc.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxctable.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxrplane.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsnamecl.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxiodev.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxbcache.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)strimpl.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxrplane.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxcspace.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)strimpl.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxiclass.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)stat_.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxfcache.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsfont.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxfmap.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxftype.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsuid.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxcvalue.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxdda.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsfont.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxiclass.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxpath.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gspenum.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxtmap.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxfrac.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsimage.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxfrac.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxdda.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gslparam.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxhldevc.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxpath.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsmalloc.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxbcache.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsdcolor.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gscms.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gslparam.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsrect.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsxfont.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxmatrix.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gscms.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxftype.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsdevice.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsstruct.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gscspace.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsuid.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxarith.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsdsrc.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxstdio.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsiparam.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsxfont.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxfixed.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsfcmap.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gspenum.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsmatrix.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsio.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxhttile.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gscpm.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxbitmap.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsparam.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsrefct.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gscpm.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsiparam.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxhttile.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsio.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gp.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxsync.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)memento.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsparam.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsmatrix.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxbitmap.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)srdline.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)scommon.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsstruct.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxsync.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)vmsmath.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gscsel.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)scommon.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsbitmap.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsfname.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsccolor.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gscsel.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxarith.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gpsync.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)memento.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsstype.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gpgetenv.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsmemory.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gscdefs.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gpsync.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gpgetenv.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)memory_.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gslibctx.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gscdefs.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gscompt.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsbittab.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)stdio_.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gxcindex.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsgstate.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)stdint_.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gssprintf.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsgstate.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gsccode.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)std.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gs_dll_call.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)stdio_.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gstypes.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)std.h
$(DEVVECSRC)gdevpdtb.h:$(GLSRC)stdpre.h
$(DEVVECSRC)gdevpdtb.h:$(GLGEN)arch.h
-$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gs_dll_call.h
+$(DEVVECSRC)gdevpdtb.h:$(GLSRC)gssprintf.h
$(DEVVECSRC)gdevpdtd.h:$(DEVVECSRC)gdevpdtb.h
$(DEVVECSRC)gdevpdtd.h:$(DEVVECSRC)gdevpdtx.h
$(DEVVECSRC)gdevpdtd.h:$(DEVVECSRC)gdevpdt.h
@@ -3269,512 +3353,516 @@ $(DEVVECSRC)gdevpdtd.h:$(DEVVECSRC)gdevpdfx.h
$(DEVVECSRC)gdevpdtd.h:$(DEVVECSRC)gdevpsdf.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gdevvec.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxgstate.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxfont.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gstrans.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gdevp14.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxline.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)sarc4.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsht1.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)sarc4.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxcomp.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)math_.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)scfx.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gdevbbox.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxcolor2.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)spprint.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)spsdf.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gdevp14.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxcolor2.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxpcolor.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxdevmem.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxfont.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsgdata.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gspath.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gdevdevn.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxclipsr.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)stream.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxblend.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxmatrix.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsgdata.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)stream.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxbitfmt.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsequivc.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxclipsr.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)shc.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsgcache.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gscolor2.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gspath.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxdevice.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxfapi.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsgcache.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsnotify.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxdevice.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsfcmap.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxcpath.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsht.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxiparam.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)sa85x.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxcpath.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxdevcli.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)sa85d.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxdevmem.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxpcache.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)sa85d.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gscindex.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxcmap.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gstparam.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsptype1.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxdevcli.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxtext.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsfunc.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gscie.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gspcolor.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gstext.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxstate.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxdcolor.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxfcache.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gspcolor.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsnamecl.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsdsrc.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gstparam.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gscie.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxstate.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxcmap.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsmalloc.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsropt.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsfunc.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxctable.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxrplane.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsnamecl.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxiodev.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxbcache.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)strimpl.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxrplane.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxcspace.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)strimpl.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxiclass.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)stat_.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxfcache.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsfont.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxfmap.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxftype.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsuid.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxcvalue.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxdda.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsfont.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxiclass.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxpath.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gspenum.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxtmap.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxfrac.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsimage.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxfrac.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxdda.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gslparam.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxhldevc.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxpath.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsmalloc.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxbcache.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsdcolor.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gscms.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gslparam.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsrect.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsxfont.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxmatrix.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gscms.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxftype.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsdevice.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsstruct.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gscspace.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsuid.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxarith.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsdsrc.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxstdio.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsiparam.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsxfont.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxfixed.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsfcmap.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gspenum.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsmatrix.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsio.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxhttile.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gscpm.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxbitmap.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsparam.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsrefct.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gscpm.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsiparam.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxhttile.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsio.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gp.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxsync.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)memento.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsparam.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsmatrix.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxbitmap.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)srdline.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)scommon.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsstruct.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxsync.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)vmsmath.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gscsel.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)scommon.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsbitmap.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsfname.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsccolor.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gscsel.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxarith.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gpsync.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)memento.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsstype.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gpgetenv.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsmemory.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gscdefs.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gpsync.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gpgetenv.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)memory_.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gslibctx.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gscdefs.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gscompt.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsbittab.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)stdio_.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gxcindex.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsgstate.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)stdint_.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gssprintf.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsgstate.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gsccode.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)std.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gs_dll_call.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)stdio_.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gstypes.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)std.h
$(DEVVECSRC)gdevpdtd.h:$(GLSRC)stdpre.h
$(DEVVECSRC)gdevpdtd.h:$(GLGEN)arch.h
-$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gs_dll_call.h
+$(DEVVECSRC)gdevpdtd.h:$(GLSRC)gssprintf.h
$(DEVVECSRC)gdevpdtf.h:$(DEVVECSRC)gdevpdtx.h
$(DEVVECSRC)gdevpdtf.h:$(DEVVECSRC)gdevpdt.h
$(DEVVECSRC)gdevpdtf.h:$(DEVVECSRC)gdevpdfx.h
$(DEVVECSRC)gdevpdtf.h:$(DEVVECSRC)gdevpsdf.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gdevvec.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxgstate.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxfont.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gstrans.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gdevp14.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxline.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)sarc4.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsht1.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)sarc4.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxcomp.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)math_.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)scfx.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gdevbbox.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxcolor2.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)spprint.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)spsdf.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gdevp14.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxcolor2.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxpcolor.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxdevmem.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxfont.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsgdata.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gspath.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gdevdevn.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxclipsr.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)stream.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxblend.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxmatrix.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsgdata.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)stream.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxbitfmt.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsequivc.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxclipsr.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)shc.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsgcache.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gscolor2.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gspath.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxdevice.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxfapi.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsgcache.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsnotify.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxdevice.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsfcmap.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxcpath.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsht.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxiparam.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)sa85x.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxcpath.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxdevcli.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)sa85d.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxdevmem.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxpcache.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)sa85d.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gscindex.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxcmap.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gstparam.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsptype1.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxdevcli.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxtext.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsfunc.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gscie.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gspcolor.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gstext.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxstate.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxdcolor.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxfcache.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gspcolor.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsnamecl.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsdsrc.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gstparam.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gscie.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxstate.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxcmap.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsmalloc.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsropt.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsfunc.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxctable.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxrplane.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsnamecl.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxiodev.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxbcache.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)strimpl.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxrplane.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxcspace.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)strimpl.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxiclass.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)stat_.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxfcache.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsfont.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxfmap.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxftype.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsuid.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxcvalue.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxdda.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsfont.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxiclass.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxpath.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gspenum.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxtmap.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxfrac.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsimage.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxfrac.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxdda.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gslparam.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxhldevc.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxpath.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsmalloc.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxbcache.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsdcolor.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gscms.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gslparam.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsrect.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsxfont.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxmatrix.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gscms.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxftype.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsdevice.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsstruct.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gscspace.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsuid.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxarith.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsdsrc.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxstdio.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsiparam.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsxfont.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxfixed.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsfcmap.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gspenum.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsmatrix.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsio.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxhttile.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gscpm.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxbitmap.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsparam.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsrefct.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gscpm.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsiparam.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxhttile.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsio.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gp.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxsync.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)memento.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsparam.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsmatrix.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxbitmap.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)srdline.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)scommon.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsstruct.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxsync.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)vmsmath.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gscsel.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)scommon.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsbitmap.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsfname.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsccolor.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gscsel.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxarith.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gpsync.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)memento.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsstype.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gpgetenv.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsmemory.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gscdefs.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gpsync.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gpgetenv.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)memory_.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gslibctx.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gscdefs.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gscompt.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsbittab.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)stdio_.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gxcindex.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsgstate.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)stdint_.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gssprintf.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsgstate.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gsccode.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)std.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gs_dll_call.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)stdio_.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gstypes.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)std.h
$(DEVVECSRC)gdevpdtf.h:$(GLSRC)stdpre.h
$(DEVVECSRC)gdevpdtf.h:$(GLGEN)arch.h
-$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gs_dll_call.h
+$(DEVVECSRC)gdevpdtf.h:$(GLSRC)gssprintf.h
$(DEVVECSRC)gdevpdti.h:$(DEVVECSRC)gdevpdtx.h
$(DEVVECSRC)gdevpdti.h:$(DEVVECSRC)gdevpdt.h
$(DEVVECSRC)gdevpdti.h:$(DEVVECSRC)gdevpdfx.h
$(DEVVECSRC)gdevpdti.h:$(DEVVECSRC)gdevpsdf.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gdevvec.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxgstate.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxfont.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gstrans.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gdevp14.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxline.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)sarc4.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsht1.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)sarc4.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxcomp.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)math_.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)scfx.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gdevbbox.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxcolor2.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)spprint.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)spsdf.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gdevp14.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxcolor2.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxpcolor.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxdevmem.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxfont.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsgdata.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gspath.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gdevdevn.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxclipsr.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)stream.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxblend.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxmatrix.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsgdata.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)stream.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxbitfmt.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsequivc.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxclipsr.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)shc.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsgcache.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gscolor2.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gspath.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxdevice.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxfapi.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsgcache.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsnotify.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxdevice.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsfcmap.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxcpath.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsht.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxiparam.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)sa85x.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxcpath.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxdevcli.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)sa85d.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxdevmem.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxpcache.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)sa85d.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gscindex.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxcmap.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gstparam.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsptype1.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxdevcli.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxtext.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsfunc.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gscie.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gspcolor.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gstext.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxstate.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxdcolor.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxfcache.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gspcolor.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsnamecl.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsdsrc.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gstparam.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gscie.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxstate.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxcmap.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsmalloc.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsropt.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsfunc.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxctable.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxrplane.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsnamecl.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxiodev.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxbcache.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)strimpl.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxrplane.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxcspace.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)strimpl.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxiclass.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)stat_.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxfcache.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsfont.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxfmap.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxftype.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsuid.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxcvalue.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxdda.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsfont.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxiclass.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxpath.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gspenum.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxtmap.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxfrac.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsimage.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxfrac.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxdda.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gslparam.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxhldevc.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxpath.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsmalloc.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxbcache.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsdcolor.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gscms.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gslparam.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsrect.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsxfont.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxmatrix.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gscms.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxftype.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsdevice.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsstruct.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gscspace.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsuid.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxarith.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsdsrc.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxstdio.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsiparam.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsxfont.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxfixed.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsfcmap.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gspenum.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsmatrix.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsio.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxhttile.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gscpm.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxbitmap.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsparam.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsrefct.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gscpm.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsiparam.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxhttile.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsio.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gp.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxsync.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)memento.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsparam.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsmatrix.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxbitmap.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)srdline.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)scommon.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsstruct.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxsync.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)vmsmath.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gscsel.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)scommon.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsbitmap.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsfname.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsccolor.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gscsel.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxarith.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gpsync.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)memento.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsstype.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gpgetenv.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsmemory.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gscdefs.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gpsync.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gpgetenv.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)memory_.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gslibctx.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gscdefs.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gscompt.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsbittab.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)stdio_.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gxcindex.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsgstate.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)stdint_.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gssprintf.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsgstate.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gsccode.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)std.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gs_dll_call.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)stdio_.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)gstypes.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)std.h
$(DEVVECSRC)gdevpdti.h:$(GLSRC)stdpre.h
$(DEVVECSRC)gdevpdti.h:$(GLGEN)arch.h
-$(DEVVECSRC)gdevpdti.h:$(GLSRC)gs_dll_call.h
+$(DEVVECSRC)gdevpdti.h:$(GLSRC)gssprintf.h
$(DEVVECSRC)gdevpdts.h:$(DEVVECSRC)gdevpdtx.h
$(DEVVECSRC)gdevpdts.h:$(DEVVECSRC)gdevpdt.h
$(DEVVECSRC)gdevpdts.h:$(DEVVECSRC)gdevpdfx.h
$(DEVVECSRC)gdevpdts.h:$(DEVVECSRC)gdevpsdf.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gdevvec.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxgstate.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxfont.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gstrans.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gdevp14.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxline.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)sarc4.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsht1.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)sarc4.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxcomp.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)math_.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)scfx.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gdevbbox.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxcolor2.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)spprint.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)spsdf.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gdevp14.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxcolor2.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxpcolor.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxdevmem.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxfont.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsgdata.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gspath.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gdevdevn.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxclipsr.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)stream.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxblend.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxmatrix.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsgdata.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)stream.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxbitfmt.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsequivc.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxclipsr.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)shc.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsgcache.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gscolor2.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gspath.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxdevice.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxfapi.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsgcache.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsnotify.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxdevice.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsfcmap.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxcpath.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsht.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxiparam.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)sa85x.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxcpath.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxdevcli.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)sa85d.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxdevmem.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxpcache.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)sa85d.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gscindex.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxcmap.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gstparam.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsptype1.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxdevcli.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxtext.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsfunc.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gscie.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gspcolor.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gstext.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxstate.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxdcolor.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxfcache.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gspcolor.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsnamecl.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsdsrc.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gstparam.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gscie.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxstate.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxcmap.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsmalloc.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsropt.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsfunc.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxctable.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxrplane.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsnamecl.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxiodev.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxbcache.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)strimpl.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxrplane.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxcspace.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)strimpl.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxiclass.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)stat_.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxfcache.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsfont.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxfmap.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxftype.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsuid.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxcvalue.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxdda.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsfont.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxiclass.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxpath.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gspenum.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxtmap.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxfrac.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsimage.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxfrac.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxdda.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gslparam.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxhldevc.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxpath.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsmalloc.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxbcache.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsdcolor.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gscms.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gslparam.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsrect.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsxfont.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxmatrix.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gscms.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxftype.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsdevice.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsstruct.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gscspace.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsuid.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxarith.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsdsrc.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxstdio.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsiparam.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsxfont.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxfixed.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsfcmap.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gspenum.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsmatrix.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsio.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxhttile.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gscpm.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxbitmap.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsparam.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsrefct.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gscpm.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsiparam.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxhttile.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsio.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gp.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxsync.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)memento.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsparam.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsmatrix.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxbitmap.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)srdline.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)scommon.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsstruct.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxsync.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)vmsmath.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gscsel.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)scommon.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsbitmap.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsfname.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsccolor.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gscsel.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxarith.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gpsync.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)memento.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsstype.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gpgetenv.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsmemory.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gscdefs.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gpsync.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gpgetenv.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)memory_.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gslibctx.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gscdefs.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gscompt.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsbittab.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)stdio_.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gxcindex.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsgstate.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)stdint_.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gssprintf.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsgstate.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gsccode.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)std.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gs_dll_call.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)stdio_.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)gstypes.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)std.h
$(DEVVECSRC)gdevpdts.h:$(GLSRC)stdpre.h
$(DEVVECSRC)gdevpdts.h:$(GLGEN)arch.h
-$(DEVVECSRC)gdevpdts.h:$(GLSRC)gs_dll_call.h
+$(DEVVECSRC)gdevpdts.h:$(GLSRC)gssprintf.h
$(DEVVECSRC)gdevpdtt.h:$(DEVVECSRC)gdevpdts.h
$(DEVVECSRC)gdevpdtt.h:$(DEVVECSRC)gdevpdtf.h
$(DEVVECSRC)gdevpdtt.h:$(DEVVECSRC)gdevpdtx.h
@@ -3783,363 +3871,366 @@ $(DEVVECSRC)gdevpdtt.h:$(DEVVECSRC)gdevpdfx.h
$(DEVVECSRC)gdevpdtt.h:$(DEVVECSRC)gdevpsdf.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gdevvec.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxgstate.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxfont.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gstrans.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gdevp14.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxline.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)sarc4.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsht1.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)sarc4.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxcomp.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)math_.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)scfx.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gdevbbox.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxcolor2.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)spprint.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)spsdf.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gdevp14.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxcolor2.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxpcolor.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxdevmem.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxfont.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsgdata.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gspath.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gdevdevn.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxclipsr.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)stream.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxblend.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxmatrix.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsgdata.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)stream.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxbitfmt.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsequivc.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxclipsr.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)shc.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsgcache.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gscolor2.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gspath.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxdevice.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxfapi.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsgcache.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsnotify.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxdevice.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsfcmap.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxcpath.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsht.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxiparam.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)sa85x.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxcpath.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxdevcli.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)sa85d.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxdevmem.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxpcache.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)sa85d.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gscindex.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxcmap.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gstparam.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsptype1.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxdevcli.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxtext.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsfunc.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gscie.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gspcolor.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gstext.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxstate.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxdcolor.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxfcache.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gspcolor.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsnamecl.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsdsrc.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gstparam.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gscie.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxstate.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxcmap.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsmalloc.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsropt.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsfunc.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxctable.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxrplane.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsnamecl.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxiodev.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxbcache.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)strimpl.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxrplane.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxcspace.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)strimpl.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxiclass.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)stat_.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxfcache.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsfont.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxfmap.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxftype.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsuid.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxcvalue.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxdda.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsfont.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxiclass.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxpath.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gspenum.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxtmap.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxfrac.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsimage.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxfrac.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxdda.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gslparam.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxhldevc.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxpath.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsmalloc.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxbcache.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsdcolor.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gscms.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gslparam.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsrect.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsxfont.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxmatrix.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gscms.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxftype.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsdevice.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsstruct.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gscspace.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsuid.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxarith.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsdsrc.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxstdio.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsiparam.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsxfont.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxfixed.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsfcmap.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gspenum.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsmatrix.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsio.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxhttile.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gscpm.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxbitmap.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsparam.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsrefct.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gscpm.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsiparam.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxhttile.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsio.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gp.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxsync.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)memento.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsparam.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsmatrix.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxbitmap.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)srdline.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)scommon.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsstruct.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxsync.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)vmsmath.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gscsel.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)scommon.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsbitmap.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsfname.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsccolor.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gscsel.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxarith.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gpsync.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)memento.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsstype.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gpgetenv.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsmemory.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gscdefs.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gpsync.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gpgetenv.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)memory_.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gslibctx.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gscdefs.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gscompt.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsbittab.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)stdio_.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gxcindex.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsgstate.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)stdint_.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gssprintf.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsgstate.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gsccode.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)std.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gs_dll_call.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)stdio_.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gstypes.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)std.h
$(DEVVECSRC)gdevpdtt.h:$(GLSRC)stdpre.h
$(DEVVECSRC)gdevpdtt.h:$(GLGEN)arch.h
-$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gs_dll_call.h
+$(DEVVECSRC)gdevpdtt.h:$(GLSRC)gssprintf.h
$(DEVVECSRC)gdevpdtw.h:$(DEVVECSRC)gdevpdtx.h
-$(DEVVECSRC)gdevpdtw.h:$(DEVVECSRC)gdevpdt.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxfcmap.h
+$(DEVVECSRC)gdevpdtw.h:$(DEVVECSRC)gdevpdt.h
$(DEVVECSRC)gdevpdtw.h:$(DEVVECSRC)gdevpdfx.h
$(DEVVECSRC)gdevpdtw.h:$(DEVVECSRC)gdevpsdf.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gdevvec.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxgstate.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxfont.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gstrans.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gdevp14.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxline.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)sarc4.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsht1.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)sarc4.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxcomp.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)math_.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)scfx.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gdevbbox.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxcolor2.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)spprint.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)spsdf.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gdevp14.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxcolor2.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxpcolor.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxdevmem.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxfont.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsgdata.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gspath.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gdevdevn.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxblend.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxcid.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxclipsr.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxmatrix.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsgdata.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)stream.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxblend.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxbitfmt.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsequivc.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxclipsr.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)shc.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsgcache.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gscolor2.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gspath.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxdevice.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxfapi.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsgcache.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsnotify.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxdevice.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsfcmap.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxcpath.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsht.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxiparam.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)sa85x.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxcpath.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxdevcli.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)sa85d.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxdevmem.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxpcache.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)sa85d.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gscindex.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxcmap.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gstparam.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsptype1.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxdevcli.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxtext.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsfunc.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gscie.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gspcolor.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gstext.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxstate.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxdcolor.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxfcache.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gspcolor.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsnamecl.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsdsrc.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gstparam.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gscie.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxstate.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxcmap.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsmalloc.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsropt.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsfunc.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxctable.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxrplane.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsnamecl.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxiodev.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxbcache.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)strimpl.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxrplane.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxcspace.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)strimpl.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxiclass.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)stat_.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxfcache.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsfont.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxfmap.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxftype.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsuid.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxcvalue.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxdda.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsfont.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxiclass.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxpath.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gspenum.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxtmap.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxfrac.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsimage.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxfrac.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxdda.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gslparam.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxhldevc.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxpath.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsmalloc.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxbcache.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsdcolor.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gscms.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gslparam.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsrect.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsxfont.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxmatrix.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gscms.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxftype.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsdevice.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsstruct.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gscspace.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsuid.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxarith.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsdsrc.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxstdio.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsiparam.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsxfont.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxfixed.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsfcmap.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gspenum.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsmatrix.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsio.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxhttile.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gscpm.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxbitmap.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsparam.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsrefct.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gscpm.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsiparam.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxhttile.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsio.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gp.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxsync.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)memento.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsparam.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsmatrix.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxbitmap.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)srdline.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)scommon.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsstruct.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxsync.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)vmsmath.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gscsel.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)scommon.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsbitmap.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsfname.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsccolor.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gscsel.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxarith.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gpsync.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)memento.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsstype.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gpgetenv.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsmemory.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gscdefs.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gpsync.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gpgetenv.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)memory_.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gslibctx.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gscdefs.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gscompt.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsbittab.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)stdio_.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gxcindex.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsgstate.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)stdint_.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gssprintf.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsgstate.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gsccode.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)std.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gs_dll_call.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)stdio_.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gstypes.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)std.h
$(DEVVECSRC)gdevpdtw.h:$(GLSRC)stdpre.h
$(DEVVECSRC)gdevpdtw.h:$(GLGEN)arch.h
-$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gs_dll_call.h
+$(DEVVECSRC)gdevpdtw.h:$(GLSRC)gssprintf.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gxclist.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gxgstate.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gstrans.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)gdevp14.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gxline.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gsht1.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gxcomp.h
$(DEVSRC)gdevbmp.h:$(GLSRC)math_.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)gdevp14.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gxcolor2.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gxpcolor.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)gxdevmem.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gdevdevn.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)gxblend.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)gxmatrix.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gxdevbuf.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gxband.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)gxclipsr.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)gxblend.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gxbitfmt.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gsequivc.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)gxclipsr.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gscolor2.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gxdevice.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)gsht.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gxcpath.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)gxdevcli.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)gsht.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)gxdevmem.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gxpcache.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gscindex.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)gxcmap.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)gstparam.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gsptype1.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)gxdevcli.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gxtext.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)gsfunc.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)gscie.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)gspcolor.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gstext.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)gxstate.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gxdcolor.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)gxfcache.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)gspcolor.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)gsnamecl.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)gsdsrc.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)gstparam.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)gscie.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)gxstate.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)gxcmap.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)gsmalloc.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gsropt.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)gsfunc.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gxctable.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)gsnamecl.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gxrplane.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)gxbcache.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gxcspace.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)gxiclass.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gxclio.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)gxfcache.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)gsfont.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gxfmap.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)gxftype.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)gsuid.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gxcvalue.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)gxdda.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)gsfont.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)gxiclass.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)gxpath.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)gspenum.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gxtmap.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)gxfrac.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gsimage.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)gxpath.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)gsmalloc.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)gsdcolor.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)gscms.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)gxfrac.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)gxdda.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gslparam.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)gxbcache.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)gsdcolor.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gsrect.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)gsxfont.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)gxmatrix.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)gscms.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)gxftype.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gsdevice.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)gsstruct.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gscspace.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)gsuid.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)gxarith.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)gsdsrc.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gxstdio.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)gsiparam.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)gsxfont.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gxfixed.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)gspenum.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)gsmatrix.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)gsio.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)gxhttile.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)gscpm.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)gxbitmap.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)gsparam.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gsrefct.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)gscpm.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)gsiparam.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)gxhttile.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)gsio.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gp.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)gxsync.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)memento.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)gsparam.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)gsmatrix.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)gxbitmap.h
$(DEVSRC)gdevbmp.h:$(GLSRC)srdline.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)scommon.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)gsstruct.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)gxsync.h
$(DEVSRC)gdevbmp.h:$(GLSRC)vmsmath.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)gscsel.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)scommon.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gsbitmap.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gsfname.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gsccolor.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)gscsel.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)gxarith.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)gpsync.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)memento.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gsstype.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)gpgetenv.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gsmemory.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)gscdefs.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)gpsync.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)gpgetenv.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)memory_.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gslibctx.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)gscdefs.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gscompt.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)stdio_.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gxcindex.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)gsgstate.h
$(DEVSRC)gdevbmp.h:$(GLSRC)stdint_.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)gssprintf.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)gsgstate.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gsccode.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)std.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)gs_dll_call.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)stdio_.h
$(DEVSRC)gdevbmp.h:$(GLSRC)gstypes.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)std.h
$(DEVSRC)gdevbmp.h:$(GLSRC)stdpre.h
$(DEVSRC)gdevbmp.h:$(GLGEN)arch.h
-$(DEVSRC)gdevbmp.h:$(GLSRC)gs_dll_call.h
+$(DEVSRC)gdevbmp.h:$(GLSRC)gssprintf.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gdevdevnprn.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gdevprn.h
$(DEVSRC)gdevpsd.h:$(GLSRC)string_.h
@@ -4149,115 +4240,115 @@ $(DEVSRC)gdevpsd.h:$(GLSRC)gxclpage.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gxclist.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gxgstate.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gstrans.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)gdevp14.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gxline.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gsht1.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gxcomp.h
$(DEVSRC)gdevpsd.h:$(GLSRC)math_.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)gdevp14.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gxcolor2.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gxpcolor.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)gxdevmem.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gx.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gdevdevn.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)gxdevbuf.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)gxblend.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gdebug.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)gxmatrix.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)gxdevbuf.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gxband.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)gxclipsr.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)gxblend.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gxbitfmt.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gsequivc.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)gxclipsr.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gscolor2.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gxdevice.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)gsht.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gxcpath.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)gxdevcli.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)gsht.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)gxdevmem.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gxpcache.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gscindex.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)gxcmap.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)gstparam.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gsptype1.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)gxdevcli.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gxtext.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)gsfunc.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)gscie.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)gspcolor.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gstext.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)gxstate.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gxdcolor.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)gxfcache.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)gspcolor.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)gsnamecl.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)gsdsrc.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)gstparam.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)gscie.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)gxstate.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)gxcmap.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)gsmalloc.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gsropt.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)gsfunc.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gxctable.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)gsnamecl.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gxrplane.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)gxbcache.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gxcspace.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)gxiclass.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gxclio.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)gxfcache.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)gsfont.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gxfmap.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)gxftype.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)gsuid.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gxcvalue.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)gxdda.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)gsfont.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)gxiclass.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)gxpath.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)gspenum.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gxtmap.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)gxfrac.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gsimage.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)gxpath.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)gsmalloc.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)gsdcolor.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)gscms.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)gxfrac.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)gxdda.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gslparam.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)gxbcache.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)gsdcolor.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gsrect.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)gsxfont.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)gxmatrix.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)gscms.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)gxftype.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gsdevice.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)gsstruct.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gscspace.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)gsuid.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)gxarith.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)gsdsrc.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gxstdio.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)gsiparam.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)gsxfont.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gxfixed.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)gspenum.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)gsmatrix.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)gsio.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)gxhttile.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)gsrefct.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gscpm.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)gxbitmap.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)gsiparam.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)gxhttile.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)gsio.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)gp.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)memento.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gsparam.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)memory_.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)gsmatrix.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)gxbitmap.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gsutil.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)gsrefct.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)gp.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gsstrl.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gdbflags.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)gxsync.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)gserrors.h
$(DEVSRC)gdevpsd.h:$(GLSRC)srdline.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)scommon.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)gsstruct.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)gserrors.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)gxsync.h
$(DEVSRC)gdevpsd.h:$(GLSRC)vmsmath.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)gscsel.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)scommon.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gsbitmap.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gsfname.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gsccolor.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)gscsel.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)gxarith.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)gpsync.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)memento.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gsstype.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)gpgetenv.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gsmemory.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)gscdefs.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)gpsync.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)gpgetenv.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)memory_.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gslibctx.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)gscdefs.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gscompt.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)stdio_.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gxcindex.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)gsgstate.h
$(DEVSRC)gdevpsd.h:$(GLSRC)stdint_.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)gssprintf.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)gsgstate.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gsccode.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)std.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)gs_dll_call.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)stdio_.h
$(DEVSRC)gdevpsd.h:$(GLSRC)gstypes.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)std.h
$(DEVSRC)gdevpsd.h:$(GLSRC)stdpre.h
$(DEVSRC)gdevpsd.h:$(GLGEN)arch.h
-$(DEVSRC)gdevpsd.h:$(GLSRC)gs_dll_call.h
+$(DEVSRC)gdevpsd.h:$(GLSRC)gssprintf.h
$(DEVSRC)minftrsz.h:$(GLSRC)std.h
$(DEVSRC)minftrsz.h:$(GLSRC)stdpre.h
$(DEVSRC)minftrsz.h:$(GLGEN)arch.h
@@ -4269,118 +4360,118 @@ $(DEVSRC)gdevfax.h:$(GLSRC)gxclpage.h
$(DEVSRC)gdevfax.h:$(GLSRC)gxclist.h
$(DEVSRC)gdevfax.h:$(GLSRC)gxgstate.h
$(DEVSRC)gdevfax.h:$(GLSRC)gstrans.h
-$(DEVSRC)gdevfax.h:$(GLSRC)gdevp14.h
$(DEVSRC)gdevfax.h:$(GLSRC)gxline.h
$(DEVSRC)gdevfax.h:$(GLSRC)gsht1.h
$(DEVSRC)gdevfax.h:$(GLSRC)gxcomp.h
$(DEVSRC)gdevfax.h:$(GLSRC)math_.h
$(DEVSRC)gdevfax.h:$(GLSRC)scfx.h
+$(DEVSRC)gdevfax.h:$(GLSRC)gdevp14.h
$(DEVSRC)gdevfax.h:$(GLSRC)gxcolor2.h
$(DEVSRC)gdevfax.h:$(GLSRC)gxpcolor.h
-$(DEVSRC)gdevfax.h:$(GLSRC)gxdevmem.h
$(DEVSRC)gdevfax.h:$(GLSRC)gx.h
$(DEVSRC)gdevfax.h:$(GLSRC)gdevdevn.h
-$(DEVSRC)gdevfax.h:$(GLSRC)gxdevbuf.h
+$(DEVSRC)gdevfax.h:$(GLSRC)gxblend.h
$(DEVSRC)gdevfax.h:$(GLSRC)gdebug.h
+$(DEVSRC)gdevfax.h:$(GLSRC)gxmatrix.h
+$(DEVSRC)gdevfax.h:$(GLSRC)gxdevbuf.h
$(DEVSRC)gdevfax.h:$(GLSRC)gxband.h
-$(DEVSRC)gdevfax.h:$(GLSRC)gxclipsr.h
-$(DEVSRC)gdevfax.h:$(GLSRC)gxblend.h
$(DEVSRC)gdevfax.h:$(GLSRC)gxbitfmt.h
$(DEVSRC)gdevfax.h:$(GLSRC)gsequivc.h
+$(DEVSRC)gdevfax.h:$(GLSRC)gxclipsr.h
$(DEVSRC)gdevfax.h:$(GLSRC)shc.h
$(DEVSRC)gdevfax.h:$(GLSRC)gscolor2.h
$(DEVSRC)gdevfax.h:$(GLSRC)gxdevice.h
-$(DEVSRC)gdevfax.h:$(GLSRC)gsht.h
$(DEVSRC)gdevfax.h:$(GLSRC)gxcpath.h
-$(DEVSRC)gdevfax.h:$(GLSRC)gxdevcli.h
+$(DEVSRC)gdevfax.h:$(GLSRC)gsht.h
+$(DEVSRC)gdevfax.h:$(GLSRC)gxdevmem.h
$(DEVSRC)gdevfax.h:$(GLSRC)gxpcache.h
$(DEVSRC)gdevfax.h:$(GLSRC)gscindex.h
-$(DEVSRC)gdevfax.h:$(GLSRC)gxcmap.h
-$(DEVSRC)gdevfax.h:$(GLSRC)gstparam.h
$(DEVSRC)gdevfax.h:$(GLSRC)gsptype1.h
+$(DEVSRC)gdevfax.h:$(GLSRC)gxdevcli.h
$(DEVSRC)gdevfax.h:$(GLSRC)gxtext.h
-$(DEVSRC)gdevfax.h:$(GLSRC)gsfunc.h
-$(DEVSRC)gdevfax.h:$(GLSRC)gscie.h
+$(DEVSRC)gdevfax.h:$(GLSRC)gspcolor.h
$(DEVSRC)gdevfax.h:$(GLSRC)gstext.h
-$(DEVSRC)gdevfax.h:$(GLSRC)gxstate.h
$(DEVSRC)gdevfax.h:$(GLSRC)gxdcolor.h
-$(DEVSRC)gdevfax.h:$(GLSRC)gxfcache.h
-$(DEVSRC)gdevfax.h:$(GLSRC)gspcolor.h
-$(DEVSRC)gdevfax.h:$(GLSRC)gsnamecl.h
-$(DEVSRC)gdevfax.h:$(GLSRC)gsdsrc.h
+$(DEVSRC)gdevfax.h:$(GLSRC)gstparam.h
+$(DEVSRC)gdevfax.h:$(GLSRC)gscie.h
+$(DEVSRC)gdevfax.h:$(GLSRC)gxstate.h
+$(DEVSRC)gdevfax.h:$(GLSRC)gxcmap.h
+$(DEVSRC)gdevfax.h:$(GLSRC)gsmalloc.h
$(DEVSRC)gdevfax.h:$(GLSRC)gsropt.h
+$(DEVSRC)gdevfax.h:$(GLSRC)gsfunc.h
$(DEVSRC)gdevfax.h:$(GLSRC)gxctable.h
+$(DEVSRC)gdevfax.h:$(GLSRC)gsnamecl.h
$(DEVSRC)gdevfax.h:$(GLSRC)gxrplane.h
-$(DEVSRC)gdevfax.h:$(GLSRC)gxbcache.h
$(DEVSRC)gdevfax.h:$(GLSRC)gxcspace.h
+$(DEVSRC)gdevfax.h:$(GLSRC)gxiclass.h
$(DEVSRC)gdevfax.h:$(GLSRC)gxclio.h
+$(DEVSRC)gdevfax.h:$(GLSRC)gxfcache.h
+$(DEVSRC)gdevfax.h:$(GLSRC)gsfont.h
$(DEVSRC)gdevfax.h:$(GLSRC)gxfmap.h
-$(DEVSRC)gdevfax.h:$(GLSRC)gxftype.h
-$(DEVSRC)gdevfax.h:$(GLSRC)gsuid.h
$(DEVSRC)gdevfax.h:$(GLSRC)gxcvalue.h
-$(DEVSRC)gdevfax.h:$(GLSRC)gxdda.h
-$(DEVSRC)gdevfax.h:$(GLSRC)gsfont.h
-$(DEVSRC)gdevfax.h:$(GLSRC)gxiclass.h
+$(DEVSRC)gdevfax.h:$(GLSRC)gxpath.h
+$(DEVSRC)gdevfax.h:$(GLSRC)gspenum.h
$(DEVSRC)gdevfax.h:$(GLSRC)gxtmap.h
-$(DEVSRC)gdevfax.h:$(GLSRC)gxfrac.h
$(DEVSRC)gdevfax.h:$(GLSRC)gsimage.h
-$(DEVSRC)gdevfax.h:$(GLSRC)gxpath.h
-$(DEVSRC)gdevfax.h:$(GLSRC)gsmalloc.h
-$(DEVSRC)gdevfax.h:$(GLSRC)gsdcolor.h
-$(DEVSRC)gdevfax.h:$(GLSRC)gscms.h
+$(DEVSRC)gdevfax.h:$(GLSRC)gxfrac.h
+$(DEVSRC)gdevfax.h:$(GLSRC)gxdda.h
$(DEVSRC)gdevfax.h:$(GLSRC)gslparam.h
+$(DEVSRC)gdevfax.h:$(GLSRC)gxbcache.h
+$(DEVSRC)gdevfax.h:$(GLSRC)gsdcolor.h
$(DEVSRC)gdevfax.h:$(GLSRC)gsrect.h
-$(DEVSRC)gdevfax.h:$(GLSRC)gsxfont.h
-$(DEVSRC)gdevfax.h:$(GLSRC)gxmatrix.h
+$(DEVSRC)gdevfax.h:$(GLSRC)gscms.h
+$(DEVSRC)gdevfax.h:$(GLSRC)gxftype.h
$(DEVSRC)gdevfax.h:$(GLSRC)gsdevice.h
-$(DEVSRC)gdevfax.h:$(GLSRC)gsstruct.h
$(DEVSRC)gdevfax.h:$(GLSRC)gscspace.h
+$(DEVSRC)gdevfax.h:$(GLSRC)gsuid.h
+$(DEVSRC)gdevfax.h:$(GLSRC)gxarith.h
+$(DEVSRC)gdevfax.h:$(GLSRC)gsdsrc.h
$(DEVSRC)gdevfax.h:$(GLSRC)gxstdio.h
-$(DEVSRC)gdevfax.h:$(GLSRC)gsiparam.h
+$(DEVSRC)gdevfax.h:$(GLSRC)gsxfont.h
$(DEVSRC)gdevfax.h:$(GLSRC)gxfixed.h
-$(DEVSRC)gdevfax.h:$(GLSRC)gspenum.h
-$(DEVSRC)gdevfax.h:$(GLSRC)gsmatrix.h
-$(DEVSRC)gdevfax.h:$(GLSRC)gsio.h
-$(DEVSRC)gdevfax.h:$(GLSRC)gxhttile.h
+$(DEVSRC)gdevfax.h:$(GLSRC)gsrefct.h
$(DEVSRC)gdevfax.h:$(GLSRC)gscpm.h
-$(DEVSRC)gdevfax.h:$(GLSRC)gxbitmap.h
+$(DEVSRC)gdevfax.h:$(GLSRC)gsiparam.h
+$(DEVSRC)gdevfax.h:$(GLSRC)gxhttile.h
+$(DEVSRC)gdevfax.h:$(GLSRC)gsio.h
+$(DEVSRC)gdevfax.h:$(GLSRC)gp.h
+$(DEVSRC)gdevfax.h:$(GLSRC)memento.h
$(DEVSRC)gdevfax.h:$(GLSRC)gsparam.h
-$(DEVSRC)gdevfax.h:$(GLSRC)memory_.h
+$(DEVSRC)gdevfax.h:$(GLSRC)gsmatrix.h
+$(DEVSRC)gdevfax.h:$(GLSRC)gxbitmap.h
$(DEVSRC)gdevfax.h:$(GLSRC)gsutil.h
-$(DEVSRC)gdevfax.h:$(GLSRC)gsrefct.h
-$(DEVSRC)gdevfax.h:$(GLSRC)gp.h
$(DEVSRC)gdevfax.h:$(GLSRC)gsstrl.h
$(DEVSRC)gdevfax.h:$(GLSRC)gdbflags.h
-$(DEVSRC)gdevfax.h:$(GLSRC)gxsync.h
-$(DEVSRC)gdevfax.h:$(GLSRC)gserrors.h
$(DEVSRC)gdevfax.h:$(GLSRC)srdline.h
-$(DEVSRC)gdevfax.h:$(GLSRC)scommon.h
+$(DEVSRC)gdevfax.h:$(GLSRC)gsstruct.h
+$(DEVSRC)gdevfax.h:$(GLSRC)gserrors.h
+$(DEVSRC)gdevfax.h:$(GLSRC)gxsync.h
$(DEVSRC)gdevfax.h:$(GLSRC)vmsmath.h
+$(DEVSRC)gdevfax.h:$(GLSRC)gscsel.h
+$(DEVSRC)gdevfax.h:$(GLSRC)scommon.h
$(DEVSRC)gdevfax.h:$(GLSRC)gsbitmap.h
$(DEVSRC)gdevfax.h:$(GLSRC)gsfname.h
$(DEVSRC)gdevfax.h:$(GLSRC)gsccolor.h
-$(DEVSRC)gdevfax.h:$(GLSRC)gscsel.h
-$(DEVSRC)gdevfax.h:$(GLSRC)gxarith.h
-$(DEVSRC)gdevfax.h:$(GLSRC)gpsync.h
-$(DEVSRC)gdevfax.h:$(GLSRC)memento.h
$(DEVSRC)gdevfax.h:$(GLSRC)gsstype.h
-$(DEVSRC)gdevfax.h:$(GLSRC)gpgetenv.h
$(DEVSRC)gdevfax.h:$(GLSRC)gsmemory.h
-$(DEVSRC)gdevfax.h:$(GLSRC)gscdefs.h
+$(DEVSRC)gdevfax.h:$(GLSRC)gpsync.h
+$(DEVSRC)gdevfax.h:$(GLSRC)gpgetenv.h
+$(DEVSRC)gdevfax.h:$(GLSRC)memory_.h
$(DEVSRC)gdevfax.h:$(GLSRC)gslibctx.h
+$(DEVSRC)gdevfax.h:$(GLSRC)gscdefs.h
$(DEVSRC)gdevfax.h:$(GLSRC)gscompt.h
$(DEVSRC)gdevfax.h:$(GLSRC)gsbittab.h
-$(DEVSRC)gdevfax.h:$(GLSRC)stdio_.h
$(DEVSRC)gdevfax.h:$(GLSRC)gxcindex.h
-$(DEVSRC)gdevfax.h:$(GLSRC)gsgstate.h
$(DEVSRC)gdevfax.h:$(GLSRC)stdint_.h
-$(DEVSRC)gdevfax.h:$(GLSRC)gssprintf.h
+$(DEVSRC)gdevfax.h:$(GLSRC)gsgstate.h
$(DEVSRC)gdevfax.h:$(GLSRC)gsccode.h
-$(DEVSRC)gdevfax.h:$(GLSRC)std.h
+$(DEVSRC)gdevfax.h:$(GLSRC)gs_dll_call.h
+$(DEVSRC)gdevfax.h:$(GLSRC)stdio_.h
$(DEVSRC)gdevfax.h:$(GLSRC)gstypes.h
+$(DEVSRC)gdevfax.h:$(GLSRC)std.h
$(DEVSRC)gdevfax.h:$(GLSRC)stdpre.h
$(DEVSRC)gdevfax.h:$(GLGEN)arch.h
-$(DEVSRC)gdevfax.h:$(GLSRC)gs_dll_call.h
+$(DEVSRC)gdevfax.h:$(GLSRC)gssprintf.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gxdownscale.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gdevprn.h
$(DEVSRC)gdevtifs.h:$(GLSRC)string_.h
@@ -4390,115 +4481,115 @@ $(DEVSRC)gdevtifs.h:$(GLSRC)gxclpage.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gxclist.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gxgstate.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gstrans.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)gdevp14.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gxline.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)gxgetbit.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gsht1.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)gxgetbit.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gxcomp.h
$(DEVSRC)gdevtifs.h:$(GLSRC)math_.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)gdevp14.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gxcolor2.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gxpcolor.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)gxdevmem.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gx.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gdevdevn.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)gxdevbuf.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)gxblend.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gdebug.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)gxmatrix.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)gxdevbuf.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gxband.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)gxclipsr.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)gxblend.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gxbitfmt.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gsequivc.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)gxclipsr.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gscolor2.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gxdevice.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)gsht.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gxcpath.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)gxdevcli.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)gsht.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)gxdevmem.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gxpcache.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gscindex.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)gxcmap.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)gstparam.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gsptype1.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)gxdevcli.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gxtext.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)gsfunc.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)gscie.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)gspcolor.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gstext.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)gxstate.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gxdcolor.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)gxfcache.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)gspcolor.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)gsnamecl.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)gsdsrc.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)gstparam.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)gscie.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)gxstate.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)gxcmap.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)gsmalloc.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gsropt.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)gsfunc.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gxctable.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)gsnamecl.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gxrplane.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)gxbcache.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gxcspace.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)gxiclass.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gxclio.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)gxfcache.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)gsfont.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gxfmap.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)gxftype.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)gsuid.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gxcvalue.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)gxdda.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)gsfont.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)gxiclass.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)gxpath.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)gspenum.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gxtmap.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)gxfrac.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gsimage.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)gxpath.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)gsmalloc.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)gsdcolor.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)gscms.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)gxfrac.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)gxdda.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gslparam.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)gxbcache.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)gsdcolor.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gsrect.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)gsxfont.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)gxmatrix.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)gscms.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)gxftype.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gsdevice.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)gsstruct.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gscspace.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)gsuid.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)gxarith.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)gsdsrc.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gxstdio.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)gsiparam.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)gsxfont.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gxfixed.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)gspenum.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)gsmatrix.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)gsio.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)gxhttile.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)gsrefct.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gscpm.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)gxbitmap.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)gsiparam.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)gxhttile.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)gsio.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)gp.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)memento.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gsparam.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)memory_.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)gsmatrix.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)gxbitmap.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gsutil.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)gsrefct.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)gp.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gsstrl.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gdbflags.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)srdline.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)gsstruct.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)gserrors.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gxsync.h
$(DEVSRC)gdevtifs.h:$(GLSRC)claptrap.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)gserrors.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)srdline.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)scommon.h
$(DEVSRC)gdevtifs.h:$(GLSRC)vmsmath.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)gscsel.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)scommon.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gsbitmap.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gsfname.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gsccolor.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)gscsel.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)gxarith.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)gpsync.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)memento.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gsstype.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)gpgetenv.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gsmemory.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)gscdefs.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)gpsync.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)gpgetenv.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)memory_.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gslibctx.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)gscdefs.h
$(DEVSRC)gdevtifs.h:$(GLSRC)ctype_.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gscompt.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)stdio_.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gxcindex.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)gsgstate.h
$(DEVSRC)gdevtifs.h:$(GLSRC)stdint_.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)gssprintf.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)gsgstate.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gsccode.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)std.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)gs_dll_call.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)stdio_.h
$(DEVSRC)gdevtifs.h:$(GLSRC)gstypes.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)std.h
$(DEVSRC)gdevtifs.h:$(GLSRC)stdpre.h
$(DEVSRC)gdevtifs.h:$(GLGEN)arch.h
-$(DEVSRC)gdevtifs.h:$(GLSRC)gs_dll_call.h
+$(DEVSRC)gdevtifs.h:$(GLSRC)gssprintf.h
diff --git a/devices/gdev3852.c b/devices/gdev3852.c
index e21b403f6..2222ebe8b 100644
--- a/devices/gdev3852.c
+++ b/devices/gdev3852.c
@@ -57,57 +57,56 @@ const gx_device_printer far_data gs_jetp3852_device =
/* Send the page to the printer. */
static int
-jetp3852_print_page(gx_device_printer *pdev, FILE *prn_stream)
+jetp3852_print_page(gx_device_printer *pdev, gp_file *prn_stream)
{
#define DATA_SIZE (LINE_SIZE * 8)
- unsigned int cnt_2prn;
- unsigned int count,tempcnt;
- unsigned char vtp,cntc1,cntc2;
- int line_size_color_plane;
-
- byte data[DATA_SIZE];
- byte plane_data[LINE_SIZE * 3];
-
- /* Set initial condition for printer */
- fputs("\033@",prn_stream);
-
- /* Send each scan line in turn */
- { int lnum;
- int line_size = gdev_mem_bytes_per_scan_line((gx_device *)pdev);
- int num_blank_lines = 0;
- for ( lnum = 0; lnum < pdev->height; lnum++ )
- { byte *end_data = data + line_size;
- gdev_prn_copy_scan_lines(pdev, lnum,
- (byte *)data, line_size);
- /* Remove trailing 0s. */
- while ( end_data > data && end_data[-1] == 0 )
- end_data--;
- if ( end_data == data )
- { /* Blank line */
- num_blank_lines++;
- }
- else
- { int i;
- byte *odp;
- byte *row;
-
- /* Pad with 0s to fill out the last */
- /* block of 8 bytes. */
- memset(end_data, 0, 7);
-
- /* Transpose the data to get pixel planes. */
- for ( i = 0, odp = plane_data; i < DATA_SIZE;
- i += 8, odp++
- )
- { /* The following is for 16-bit machines */
+ unsigned int cnt_2prn;
+ unsigned int count,tempcnt;
+ unsigned char vtp,cntc1,cntc2;
+ int line_size_color_plane;
+
+ byte data[DATA_SIZE];
+ byte plane_data[LINE_SIZE * 3];
+
+ /* Set initial condition for printer */
+ gp_fputs("\033@",prn_stream);
+
+ /* Send each scan line in turn */
+ {
+ int lnum;
+ int line_size = gdev_mem_bytes_per_scan_line((gx_device *)pdev);
+ int num_blank_lines = 0;
+ for ( lnum = 0; lnum < pdev->height; lnum++ ) {
+ byte *end_data = data + line_size;
+ gdev_prn_copy_scan_lines(pdev, lnum,
+ (byte *)data, line_size);
+ /* Remove trailing 0s. */
+ while ( end_data > data && end_data[-1] == 0 )
+ end_data--;
+ if ( end_data == data ) {
+ /* Blank line */
+ num_blank_lines++;
+ } else {
+ int i;
+ byte *odp;
+ byte *row;
+
+ /* Pad with 0s to fill out the last */
+ /* block of 8 bytes. */
+ memset(end_data, 0, 7);
+
+ /* Transpose the data to get pixel planes. */
+ for ( i = 0, odp = plane_data; i < DATA_SIZE;
+ i += 8, odp++
+ ) { /* The following is for 16-bit machines */
#define spread3(c)\
{ 0, c, c*0x100, c*0x101, c*0x10000L, c*0x10001L, c*0x10100L, c*0x10101L }
- static ulong spr40[8] = spread3(0x40);
- static ulong spr8[8] = spread3(8);
- static ulong spr2[8] = spread3(2);
- register byte *dp = data + i;
- register ulong pword =
+ static ulong spr40[8] = spread3(0x40);
+ static ulong spr8[8] = spread3(8);
+ static ulong spr2[8] = spread3(2);
+ register byte *dp = data + i;
+ register ulong pword =
(spr40[dp[0]] << 1) +
(spr40[dp[1]]) +
(spr40[dp[2]] >> 1) +
@@ -116,58 +115,56 @@ jetp3852_print_page(gx_device_printer *pdev, FILE *prn_stream)
(spr8[dp[5]] >> 1) +
(spr2[dp[6]]) +
(spr2[dp[7]] >> 1);
- odp[0] = (byte)(pword >> 16);
- odp[LINE_SIZE] = (byte)(pword >> 8);
- odp[LINE_SIZE*2] = (byte)(pword);
- }
- /* Skip blank lines if any */
- if ( num_blank_lines > 0 )
- {
- /* Do "dot skips" */
- while(num_blank_lines > 255)
- {
- fputs("\033e\377",prn_stream);
- num_blank_lines -= 255;
- }
- vtp = num_blank_lines;
- fprintf(prn_stream,"\033e%c",vtp);
- num_blank_lines = 0;
- }
-
- /* Transfer raster graphics in the order R, G, B. */
- /* Apparently it is stored in B, G, R */
- /* Calculate the amount of data to send by what */
- /* Ghostscript tells us the scan line_size in (bytes) */
-
- count = line_size / 3;
- line_size_color_plane = count / 3;
- cnt_2prn = line_size_color_plane * 3 + 5;
- tempcnt = cnt_2prn;
- cntc1 = (tempcnt & 0xFF00) >> 8;
- cntc2 = (tempcnt & 0x00FF);
- fprintf(prn_stream, "\033[O%c%c\200\037",cntc2,cntc1);
- fputc('\000',prn_stream);
- fputs("\124\124",prn_stream);
-
- for ( row = plane_data + LINE_SIZE * 2, i = 0;
- i < 3; row -= LINE_SIZE, i++ )
- { int jj;
- byte ctemp;
- odp = row;
- /* Complement bytes */
- for (jj=0; jj< line_size_color_plane; jj++)
- { ctemp = *odp;
- *odp++ = ~ctemp;
- }
- fwrite(row, sizeof(byte),
- line_size_color_plane, prn_stream);
- }
- }
- }
- }
-
- /* eject page */
- fputs("\014", prn_stream);
-
- return 0;
+ odp[0] = (byte)(pword >> 16);
+ odp[LINE_SIZE] = (byte)(pword >> 8);
+ odp[LINE_SIZE*2] = (byte)(pword);
+ }
+ /* Skip blank lines if any */
+ if ( num_blank_lines > 0 ) {
+ /* Do "dot skips" */
+ while(num_blank_lines > 255) {
+ gp_fputs("\033e\377",prn_stream);
+ num_blank_lines -= 255;
+ }
+ vtp = num_blank_lines;
+ gp_fprintf(prn_stream,"\033e%c",vtp);
+ num_blank_lines = 0;
+ }
+
+ /* Transfer raster graphics in the order R, G, B. */
+ /* Apparently it is stored in B, G, R */
+ /* Calculate the amount of data to send by what */
+ /* Ghostscript tells us the scan line_size in (bytes) */
+
+ count = line_size / 3;
+ line_size_color_plane = count / 3;
+ cnt_2prn = line_size_color_plane * 3 + 5;
+ tempcnt = cnt_2prn;
+ cntc1 = (tempcnt & 0xFF00) >> 8;
+ cntc2 = (tempcnt & 0x00FF);
+ gp_fprintf(prn_stream, "\033[O%c%c\200\037",cntc2,cntc1);
+ gp_fputc('\000',prn_stream);
+ gp_fputs("\124\124",prn_stream);
+
+ for ( row = plane_data + LINE_SIZE * 2, i = 0;
+ i < 3; row -= LINE_SIZE, i++ ) {
+ int jj;
+ byte ctemp;
+ odp = row;
+ /* Complement bytes */
+ for (jj=0; jj< line_size_color_plane; jj++) {
+ ctemp = *odp;
+ *odp++ = ~ctemp;
+ }
+ gp_fwrite(row, sizeof(byte),
+ line_size_color_plane, prn_stream);
+ }
+ }
+ }
+ }
+
+ /* eject page */
+ gp_fputs("\014", prn_stream);
+
+ return 0;
}
diff --git a/devices/gdev4081.c b/devices/gdev4081.c
index 1c19d0b7d..fe40b2c27 100644
--- a/devices/gdev4081.c
+++ b/devices/gdev4081.c
@@ -33,7 +33,7 @@ const gx_device_printer far_data gs_r4081_device =
/* Send the page to the printer. */
static int
-r4081_print_page(gx_device_printer *pdev, FILE *prn_stream)
+r4081_print_page(gx_device_printer *pdev, gp_file *prn_stream)
{
int line_size = gdev_mem_bytes_per_scan_line((gx_device *)pdev);
int out_size = ((pdev->width + 7) & -8) ;
@@ -71,19 +71,19 @@ r4081_print_page(gx_device_printer *pdev, FILE *prn_stream)
}
/* Initialize the printer and set the starting position. */
- fprintf(prn_stream,"\033\rP\033\022YB2 \033\022G3,%d,%d,1,1,1,%d@",
+ gp_fprintf(prn_stream,"\033\rP\033\022YB2 \033\022G3,%d,%d,1,1,1,%d@",
out_size, last-lnum, (lnum+1)*720/Y_DPI);
/* Print lines of graphics */
while ( lnum < last )
{
gdev_prn_copy_scan_lines(pdev, lnum, (byte *)out, line_size);
- fwrite(out, sizeof(char), line_size, prn_stream);
+ gp_fwrite(out, sizeof(char), line_size, prn_stream);
lnum ++;
}
/* Eject the page and reinitialize the printer */
- fputs("\f\033\rP", prn_stream);
+ gp_fputs("\f\033\rP", prn_stream);
gs_free(pdev->memory, (char *)out, out_size, 1, "r4081_print_page(out)");
return 0;
diff --git a/devices/gdev4693.c b/devices/gdev4693.c
index 0152013e1..7e18054f4 100644
--- a/devices/gdev4693.c
+++ b/devices/gdev4693.c
@@ -74,7 +74,7 @@ gdev_t4693d_map_color_rgb(gx_device *dev, gx_color_index color, ushort prgb[3])
}
static int
-t4693d_print_page(gx_device_printer *dev, FILE *ps_stream)
+t4693d_print_page(gx_device_printer *dev, gp_file *ps_stream)
{
char header[32];
int depth = prn_dev->color_info.depth;
@@ -119,7 +119,7 @@ t4693d_print_page(gx_device_printer *dev, FILE *ps_stream)
*p++ = ((checksum%128)&0x7f) | 0x80;
*p = 0x02; /* end of line. */
/* write header */
- if (fwrite(header,1,22,ps_stream) != 22) {
+ if (gp_fwrite(header,1,22,ps_stream) != 22) {
errprintf(dev->memory, "Could not write header (t4693d).\n");
gs_free(dev->memory, data, line_size, 1, "t4693d_print_page");
return_error(gs_error_ioerror);
@@ -151,7 +151,7 @@ t4693d_print_page(gx_device_printer *dev, FILE *ps_stream)
return_error(gs_error_rangecheck);
}
- if (fwrite(&data[i],1,data_size,ps_stream) != data_size) {
+ if (gp_fwrite(&data[i],1,data_size,ps_stream) != data_size) {
errprintf(dev->memory,"Could not write pixel (t4693d).\n");
gs_free(dev->memory, data, line_size, 1, "t4693d_print_page");
return_error(gs_error_ioerror);
@@ -159,7 +159,7 @@ t4693d_print_page(gx_device_printer *dev, FILE *ps_stream)
}
- if (fputc(0x02,ps_stream) != 0x02) {
+ if (gp_fputc(0x02,ps_stream) != 0x02) {
errprintf(dev->memory,"Could not write EOL (t4693d).\n");
gs_free(dev->memory, data, line_size, 1, "t4693d_print_page");
return_error(gs_error_ioerror);
@@ -167,7 +167,7 @@ t4693d_print_page(gx_device_printer *dev, FILE *ps_stream)
}
- if (fputc(0x01,ps_stream) != 0x01) {
+ if (gp_fputc(0x01,ps_stream) != 0x01) {
errprintf(dev->memory,"Could not write EOT (t4693d).\n");
gs_free(dev->memory, data, line_size, 1, "t4693d_print_page");
return_error(gs_error_ioerror);
diff --git a/devices/gdev8510.c b/devices/gdev8510.c
index cefbff841..7d235b5f1 100644
--- a/devices/gdev8510.c
+++ b/devices/gdev8510.c
@@ -35,13 +35,13 @@ const gx_device_printer far_data gs_m8510_device =
/* ------ forward declarations ------ */
static void m8510_output_run(gx_device_printer *pdev,
- byte *out, int pass, FILE *prn_stream);
+ byte *out, int pass, gp_file *prn_stream);
/* ------ internal routines ------ */
/* Send the page to the printer. */
static int
-m8510_print_page(gx_device_printer *pdev, FILE *prn_stream)
+m8510_print_page(gx_device_printer *pdev, gp_file *prn_stream)
{
int line_size = gdev_mem_bytes_per_scan_line((gx_device *)pdev);
byte *in1 = (byte *) gs_malloc(pdev->memory, 8, line_size, "m8510_print_page(in1)");
@@ -62,7 +62,7 @@ m8510_print_page(gx_device_printer *pdev, FILE *prn_stream)
* NLQ mode, proportional print (160x144 dpi).
* and 16/144" linefeeds.
*/
- fwrite("\033m2\033P\033T16", 1, 9, prn_stream);
+ gp_fwrite("\033m2\033P\033T16", 1, 9, prn_stream);
/* Transfer pixels to printer */
while ( lnum < pdev->height ) {
@@ -92,8 +92,8 @@ m8510_print_page(gx_device_printer *pdev, FILE *prn_stream)
}
/* reset the printer. */
- fwrite("\033c1", 1, 3, prn_stream);
- fflush(prn_stream);
+ gp_fwrite("\033c1", 1, 3, prn_stream);
+ gp_fflush(prn_stream);
out:;
if (out) gs_free(pdev->memory, (char *) out, 8, line_size, "m8510_print_page(out)");
@@ -105,7 +105,7 @@ out:;
static void
m8510_output_run(gx_device_printer *pdev,
- byte *out, int pass, FILE *prn_stream)
+ byte *out, int pass, gp_file *prn_stream)
{
byte *out_end = out + pdev->width;
char tmp[10];
@@ -130,10 +130,10 @@ m8510_output_run(gx_device_printer *pdev,
count = out_end - out;
if (count) {
gs_sprintf(tmp, "\033g%03d", count/8);
- fwrite(tmp, 1, 5, prn_stream);
- fwrite(out, 1, count, prn_stream);
- fwrite("\r", 1, 1, prn_stream);
+ gp_fwrite(tmp, 1, 5, prn_stream);
+ gp_fwrite(out, 1, count, prn_stream);
+ gp_fwrite("\r", 1, 1, prn_stream);
}
- if (pass) fwrite("\n", 1, 1, prn_stream);
+ if (pass) gp_fwrite("\n", 1, 1, prn_stream);
}
diff --git a/devices/gdevatx.c b/devices/gdevatx.c
index 2036e7505..b5223316f 100644
--- a/devices/gdevatx.c
+++ b/devices/gdevatx.c
@@ -68,11 +68,11 @@ ATX_DEVICE("itk38", 80 /* 8.0" */, 35 /* (minimum) */,
/* Output a printer command with a 2-byte, little-endian numeric argument. */
static void
-fput_atx_command(FILE *f, const char *str, int value)
+fput_atx_command(gp_file *f, const char *str, int value)
{
- fputs(str, f);
- fputc((byte)value, f);
- fputc((byte)(value >> 8), f);
+ gp_fputs(str, f);
+ gp_fputc((byte)value, f);
+ gp_fputc((byte)(value >> 8), f);
}
/*
@@ -152,7 +152,7 @@ atx_compress(const byte *in_buf, int in_size, byte *out_buf, int out_size)
/* Send the page to the printer. */
static int
-atx_print_page(gx_device_printer *pdev, FILE *f, int max_width_bytes)
+atx_print_page(gx_device_printer *pdev, gp_file *f, int max_width_bytes)
{
/*
* The page length command uses 16 bits to represent the length in
@@ -214,14 +214,14 @@ atx_print_page(gx_device_printer *pdev, FILE *f, int max_width_bytes)
* Note that since compressed_raster can't exceed 510, count
* can't exceed 510 either.
*/
- fputs(ATX_COMPRESSED_DATA, f);
- fputc(count / 2, f);
- fwrite(compressed, 1, count, f);
+ gp_fputs(ATX_COMPRESSED_DATA, f);
+ gp_fputc(count / 2, f);
+ gp_fwrite(compressed, 1, count, f);
} else { /* uncompressed line */
int num_bytes = end - row;
fput_atx_command(f, ATX_UNCOMPRESSED_DATA, num_bytes);
- fwrite(row, 1, num_bytes, f);
+ gp_fwrite(row, 1, num_bytes, f);
}
}
@@ -240,7 +240,7 @@ atx_print_page(gx_device_printer *pdev, FILE *f, int max_width_bytes)
#endif
/* End the page. */
- fputs(ATX_END_PAGE, f);
+ gp_fputs(ATX_END_PAGE, f);
done:
gs_free_object(mem, compressed, "atx_print_page(compressed)");
@@ -250,17 +250,17 @@ atx_print_page(gx_device_printer *pdev, FILE *f, int max_width_bytes)
/* Print pages with specified maximum pixel widths. */
static int
-atx23_print_page(gx_device_printer *pdev, FILE *f)
+atx23_print_page(gx_device_printer *pdev, gp_file *f)
{
return atx_print_page(pdev, f, 576 / 8);
}
static int
-atx24_print_page(gx_device_printer *pdev, FILE *f)
+atx24_print_page(gx_device_printer *pdev, gp_file *f)
{
return atx_print_page(pdev, f, 832 / 8);
}
static int
-atx38_print_page(gx_device_printer *pdev, FILE *f)
+atx38_print_page(gx_device_printer *pdev, gp_file *f)
{
return atx_print_page(pdev, f, 2400 / 8);
}
diff --git a/devices/gdevbit.c b/devices/gdevbit.c
index 3a2b22cc8..98ef8d4dd 100644
--- a/devices/gdevbit.c
+++ b/devices/gdevbit.c
@@ -780,7 +780,7 @@ bit_put_params(gx_device * pdev, gs_param_list * plist)
/* Send the page to the printer. */
static int
-bit_print_page(gx_device_printer * pdev, FILE * prn_stream)
+bit_print_page(gx_device_printer * pdev, gp_file * prn_stream)
{ /* Just dump the bits on the file. */
/* If the file is 'nul', don't even do the writes. */
int line_size = gdev_mem_bytes_per_scan_line((gx_device *) pdev);
@@ -801,7 +801,7 @@ bit_print_page(gx_device_printer * pdev, FILE * prn_stream)
for (i = 0; i <= line_count; i++, lnum += step) {
gdev_prn_get_bits(pdev, lnum, in, &data);
if (!nul)
- fwrite(data, 1, line_size, prn_stream);
+ gp_fwrite(data, 1, line_size, prn_stream);
}
gs_free_object(pdev->memory, in, "bit_print_page(in)");
return 0;
@@ -811,7 +811,7 @@ bit_print_page(gx_device_printer * pdev, FILE * prn_stream)
proper ppm outputs for various dimensions and not be restricted to 72dpi when
using the tag viewer */
static int
-bittags_print_page(gx_device_printer * pdev, FILE * prn_stream)
+bittags_print_page(gx_device_printer * pdev, gp_file * prn_stream)
{ /* Just dump the bits on the file. */
/* If the file is 'nul', don't even do the writes. */
int line_size = gdev_mem_bytes_per_scan_line((gx_device *) pdev);
@@ -830,14 +830,14 @@ bittags_print_page(gx_device_printer * pdev, FILE * prn_stream)
return_error(gs_error_VMerror);
if (!nul)
- fprintf(prn_stream, "P7\nWIDTH %d\nHEIGHT %d\nMAXVAL 255\nDEPTH 4\nTUPLTYPE RGB_TAG\nENDHDR\n", pdev->width, pdev->height);
+ gp_fprintf(prn_stream, "P7\nWIDTH %d\nHEIGHT %d\nMAXVAL 255\nDEPTH 4\nTUPLTYPE RGB_TAG\nENDHDR\n", pdev->width, pdev->height);
if ((lnum == 0) && (bottom == 0))
line_count = pdev->height - 1; /* default when LastLine == 0, FirstLine == 0 */
for (i = 0; i <= line_count; i++, lnum += step) {
if ((code = gdev_prn_get_bits(pdev, lnum, in, &data)) < 0)
return code;
if (!nul)
- fwrite(data, 1, line_size, prn_stream);
+ gp_fwrite(data, 1, line_size, prn_stream);
}
gs_free_object(pdev->memory, in, "bit_print_page(in)");
return 0;
diff --git a/devices/gdevbj10.c b/devices/gdevbj10.c
index 4bf9483bc..00f8569e9 100644
--- a/devices/gdevbj10.c
+++ b/devices/gdevbj10.c
@@ -249,7 +249,7 @@ bj10e_open(gx_device *pdev)
/* Send the page to the printer. */
static int
-bj10e_print_page(gx_device_printer *pdev, FILE *prn_stream)
+bj10e_print_page(gx_device_printer *pdev, gp_file *prn_stream)
{ int line_size = gx_device_raster((gx_device *)pdev, 0);
int xres = (int)pdev->x_pixels_per_inch;
int yres = (int)pdev->y_pixels_per_inch;
@@ -275,25 +275,25 @@ bj10e_print_page(gx_device_printer *pdev, FILE *prn_stream)
/* Initialize the printer. */
#ifdef USE_FACTORY_DEFAULTS
/* Check for U.S. letter vs. A4 paper. */
- fwrite(( pdev->width / pdev->x_pixels_per_inch <= 8.4 ?
+ gp_fwrite(( pdev->width / pdev->x_pixels_per_inch <= 8.4 ?
"\033[K\002\000\000\044" /*A4--DIP switch defaults*/ :
"\033[K\002\000\004\044" /*letter--factory defaults*/ ),
1, 7, prn_stream);
#else
- fwrite("\033[K\002\000\000\044", 1, 7, prn_stream);
+ gp_fwrite("\033[K\002\000\000\044", 1, 7, prn_stream);
#endif
/* Turn off automatic carriage return, otherwise we get line feeds. */
- fwrite("\0335\000", 1, 3, prn_stream);
+ gp_fwrite("\0335\000", 1, 3, prn_stream);
/* Set vertical spacing. */
- fwrite("\033[\\\004\000\000\000", 1, 7, prn_stream);
- fputc(yres & 0xff, prn_stream);
- fputc(yres >> 8, prn_stream);
+ gp_fwrite("\033[\\\004\000\000\000", 1, 7, prn_stream);
+ gp_fputc(yres & 0xff, prn_stream);
+ gp_fputc(yres >> 8, prn_stream);
/* Set the page length. This is the printable length, in inches. */
- fwrite("\033C\000", 1, 3, prn_stream);
- fputc((last_row + yres - 1)/yres, prn_stream);
+ gp_fwrite("\033C\000", 1, 3, prn_stream);
+ gp_fputc((last_row + yres - 1)/yres, prn_stream);
/* Transfer pixels to printer. The last row we can print is defined
by "last_row". Only the bottom of the print head can print at the
@@ -343,11 +343,11 @@ notz: ;
lnum = limit;
}
while ( skip > 255 )
- { fputs("\033J\377", prn_stream);
+ { gp_fputs("\033J\377", prn_stream);
skip -= 255;
}
if ( skip )
- fprintf(prn_stream, "\033J%c", skip);
+ gp_fprintf(prn_stream, "\033J%c", skip);
/* If we've printed as far as "limit", then reset "limit"
to "last_row" for the final printing pass. */
@@ -406,7 +406,7 @@ notz: ;
if (outl > out_beg)
{ count = (outl - out_beg) / skip_unit;
if ( xres == 180 ) count <<= 1;
- fprintf(prn_stream, "\033d%c%c",
+ gp_fprintf(prn_stream, "\033d%c%c",
count & 0xff, count >> 8);
}
@@ -426,20 +426,20 @@ notz: ;
outl += n;
}
count = outl - out_beg + 1;
- fprintf(prn_stream, "\033[g%c%c%c",
+ gp_fprintf(prn_stream, "\033[g%c%c%c",
count & 0xff, count >> 8, mode);
- fwrite(out_beg, 1, count - 1, prn_stream);
+ gp_fwrite(out_beg, 1, count - 1, prn_stream);
out_beg = outl;
outl += n;
}
while ( out_beg < out_end );
- fputc('\r', prn_stream);
+ gp_fputc('\r', prn_stream);
}
/* Eject the page */
-xit: fputc(014, prn_stream); /* form feed */
- fflush(prn_stream);
+xit: gp_fputc(014, prn_stream); /* form feed */
+ gp_fflush(prn_stream);
fin: if ( out != 0 )
gs_free(pdev->memory, (char *)out, bits_per_column, line_size,
"bj10e_print_page(out)");
diff --git a/devices/gdevbmp.c b/devices/gdevbmp.c
index 7531169e6..3c6630ee7 100644
--- a/devices/gdevbmp.c
+++ b/devices/gdevbmp.c
@@ -139,7 +139,7 @@ prn_device(bmp32b_procs, "bmp32b",
/* Write out a page in BMP format. */
/* This routine is used for all non-separated formats. */
static int
-bmp_print_page(gx_device_printer * pdev, FILE * file)
+bmp_print_page(gx_device_printer * pdev, gp_file * file)
{
uint raster = gdev_prn_raster(pdev);
/* BMP scan lines are padded to 32 bits. */
@@ -163,7 +163,7 @@ bmp_print_page(gx_device_printer * pdev, FILE * file)
for (y = pdev->height - 1; y >= 0; y--) {
gdev_prn_copy_scan_lines(pdev, y, row, raster);
- fwrite((const char *)row, bmp_raster, 1, file);
+ gp_fwrite((const char *)row, bmp_raster, 1, file);
}
done:
@@ -175,7 +175,7 @@ done:
/* Write out a page in separated CMYK format. */
/* This routine is used for all formats. */
static int
-bmp_cmyk_print_page(gx_device_printer * pdev, FILE * file)
+bmp_cmyk_print_page(gx_device_printer * pdev, gp_file * file)
{
int plane_depth = pdev->color_info.depth / 4;
uint raster = (pdev->width * plane_depth + 7) >> 3;
@@ -212,7 +212,7 @@ bmp_cmyk_print_page(gx_device_printer * pdev, FILE * file)
&render_plane);
if (code < 0)
goto done;
- fwrite((const char *)actual_data, bmp_raster, 1, file);
+ gp_fwrite((const char *)actual_data, bmp_raster, 1, file);
}
}
diff --git a/devices/gdevbmp.h b/devices/gdevbmp.h
index d1dce5f2d..b7cb97f9c 100644
--- a/devices/gdevbmp.h
+++ b/devices/gdevbmp.h
@@ -25,10 +25,10 @@
#define Y_DPI 72
/* Write the BMP file header. This procedure is used for all formats. */
-int write_bmp_header(gx_device_printer *pdev, FILE *file);
+int write_bmp_header(gx_device_printer *pdev, gp_file *file);
/* Write a BMP header for separated CMYK output. */
-int write_bmp_separated_header(gx_device_printer *pdev, FILE *file);
+int write_bmp_separated_header(gx_device_printer *pdev, gp_file *file);
/* 24-bit color mappers */
dev_proc_map_rgb_color(bmp_map_16m_rgb_color);
diff --git a/devices/gdevbmpc.c b/devices/gdevbmpc.c
index 6cdc8cd99..4741d55e8 100644
--- a/devices/gdevbmpc.c
+++ b/devices/gdevbmpc.c
@@ -92,7 +92,7 @@ typedef struct bmp_quad_s {
/* Write the BMP file header. */
static int
-write_bmp_depth_header(gx_device_printer *pdev, FILE *file, int depth,
+write_bmp_depth_header(gx_device_printer *pdev, gp_file *file, int depth,
const byte *palette /* [4 << depth] */,
int raster)
{
@@ -103,8 +103,8 @@ write_bmp_depth_header(gx_device_printer *pdev, FILE *file, int depth,
/* Write the file header. */
- fputc('B', file);
- fputc('M', file);
+ gp_fputc('B', file);
+ gp_fputc('M', file);
{
bmp_file_header fhdr;
@@ -117,7 +117,7 @@ write_bmp_depth_header(gx_device_printer *pdev, FILE *file, int depth,
BMP_ASSIGN_DWORD(fhdr.offBits,
sizeof_bmp_file_header +
sizeof(bmp_info_header) + quads);
- if (fwrite((const char *)&fhdr, 1, sizeof(fhdr), file) != sizeof(fhdr))
+ if (gp_fwrite((const char *)&fhdr, 1, sizeof(fhdr), file) != sizeof(fhdr))
return_error(gs_error_ioerror);
}
@@ -146,21 +146,21 @@ write_bmp_depth_header(gx_device_printer *pdev, FILE *file, int depth,
#undef INCHES_PER_METER
BMP_ASSIGN_DWORD(ihdr.clrUsed, 0);
BMP_ASSIGN_DWORD(ihdr.clrImportant, 0);
- if (fwrite((const char *)&ihdr, 1, sizeof(ihdr), file) != sizeof(ihdr))
+ if (gp_fwrite((const char *)&ihdr, 1, sizeof(ihdr), file) != sizeof(ihdr))
return_error(gs_error_ioerror);
}
/* Write the palette. */
if (depth <= 8)
- fwrite(palette, sizeof(bmp_quad), 1 << depth, file);
+ gp_fwrite(palette, sizeof(bmp_quad), 1 << depth, file);
return 0;
}
/* Write the BMP file header. */
int
-write_bmp_header(gx_device_printer *pdev, FILE *file)
+write_bmp_header(gx_device_printer *pdev, gp_file *file)
{
int depth = pdev->color_info.depth;
bmp_quad palette[256];
@@ -189,7 +189,7 @@ write_bmp_header(gx_device_printer *pdev, FILE *file)
/* Write a BMP header for separated CMYK output. */
int
-write_bmp_separated_header(gx_device_printer *pdev, FILE *file)
+write_bmp_separated_header(gx_device_printer *pdev, gp_file *file)
{
int depth = pdev->color_info.depth;
int plane_depth = depth / 4;
diff --git a/devices/gdevccr.c b/devices/gdevccr.c
index d4615c5b9..9fb22f351 100644
--- a/devices/gdevccr.c
+++ b/devices/gdevccr.c
@@ -21,12 +21,12 @@
* if you have any questions about this driver.
*/
-#define CCFILESTART(p) putc(0x02, p)
-#define CCFILEEND(p) putc(0x04, p)
-#define CCNEWPASS(p) putc(0x0c, p)
-#define CCEMPTYLINE(p) putc(0x0a, p)
-#define CCLINESTART(len,p) do{ putc(0x1b,p);putc(0x4b,p);putc(len>>8,p); \
- putc(len&0xff,p);} while(0)
+#define CCFILESTART(p) gp_fputc(0x02, p)
+#define CCFILEEND(p) gp_fputc(0x04, p)
+#define CCNEWPASS(p) gp_fputc(0x0c, p)
+#define CCEMPTYLINE(p) gp_fputc(0x0a, p)
+#define CCLINESTART(len,p) do{ gp_fputc(0x1b,p);gp_fputc(0x4b,p);gp_fputc(len>>8,p); \
+ gp_fputc(len&0xff,p);} while(0)
#define CPASS (0)
#define MPASS (1)
@@ -57,7 +57,7 @@ typedef struct cmyrow_s
static int alloc_rb( gs_memory_t *mem, cmyrow **rb, int rows);
static int alloc_line( gs_memory_t *mem, cmyrow *row, int cols);
static void add_cmy8(cmyrow *rb, char c, char m, char y);
-static void write_cpass(cmyrow *buf, int rows, int pass, FILE * pstream);
+static void write_cpass(cmyrow *buf, int rows, int pass, gp_file * pstream);
static void free_rb_line( gs_memory_t *mem, cmyrow *rbuf, int rows, int cols);
struct gx_device_ccr_s {
@@ -135,7 +135,7 @@ ccr_map_color_rgb(gx_device *pdev, gx_color_index color, ushort rgb[3])
/* ------ print page routine ------ */
static int
-ccr_print_page(gx_device_printer *pdev, FILE *pstream)
+ccr_print_page(gx_device_printer *pdev, gp_file *pstream)
{
cmyrow *linebuf;
int line_size = gdev_prn_raster((gx_device *)pdev);
@@ -252,7 +252,7 @@ static void add_cmy8(cmyrow *rb, char c, char m, char y)
return;
}
-static void write_cpass(cmyrow *buf, int rows, int pass, FILE * pstream)
+static void write_cpass(cmyrow *buf, int rows, int pass, gp_file * pstream)
{
int row, len;
for(row=0; row<rows; row++)
@@ -263,7 +263,7 @@ static void write_cpass(cmyrow *buf, int rows, int pass, FILE * pstream)
else
{
CCLINESTART(len,pstream);
- fwrite( buf[row].cmybuf[pass], len, 1, pstream);
+ gp_fwrite( buf[row].cmybuf[pass], len, 1, pstream);
}
}
return;
diff --git a/devices/gdevcdj.c b/devices/gdevcdj.c
index 6c0525933..8cf4e2e77 100644
--- a/devices/gdevcdj.c
+++ b/devices/gdevcdj.c
@@ -678,7 +678,7 @@ gx_device_bjc800 far_data gs_bjc800_device =
/* Forward references */
static int gdev_pcl_mode1compress(const byte *, const byte *, byte *);
static int hp_colour_open(gx_device *, int);
-static int hp_colour_print_page(gx_device_printer *, FILE *, int);
+static int hp_colour_print_page(gx_device_printer *, gp_file *, int);
static int cdj_put_param_int(gs_param_list *, gs_param_name, int *, int, int, int);
static uint gdev_prn_rasterwidth(const gx_device_printer *, int);
static int cdj_put_param_bpp(gx_device *, gs_param_list *, int, int, int);
@@ -1245,14 +1245,14 @@ mwe: param_signal_error(plist, oname, code = ncode);
/* The DeskJet500C can compress (mode 9) */
static int
-dj500c_print_page(gx_device_printer * pdev, FILE * prn_stream)
+dj500c_print_page(gx_device_printer * pdev, gp_file * prn_stream)
{
return hp_colour_print_page(pdev, prn_stream, DJ500C);
}
/* The DeskJet550C can compress (mode 9) */
static int
-dj550c_print_page(gx_device_printer * pdev, FILE * prn_stream)
+dj550c_print_page(gx_device_printer * pdev, gp_file * prn_stream)
{
return hp_colour_print_page(pdev, prn_stream, DJ550C);
}
@@ -1260,93 +1260,93 @@ dj550c_print_page(gx_device_printer * pdev, FILE * prn_stream)
/* The Picty180C can compress (mode 9) */
/* This printer need switching mode using PJL */
static int
-picty180_print_page(gx_device_printer * pdev, FILE * prn_stream)
+picty180_print_page(gx_device_printer * pdev, gp_file * prn_stream)
{ int ret_code;
/* Ensure we're operating in PCL mode */
- fputs("\033%-12345X@PJL ENTER LANGUAGE = PCLSLEEK\n", prn_stream);
+ gp_fputs("\033%-12345X@PJL ENTER LANGUAGE = PCLSLEEK\n", prn_stream);
ret_code = hp_colour_print_page(pdev, prn_stream, DJ550C);
/* Reenter switch-configured language */
- fputs("\033%-12345X", prn_stream);
+ gp_fputs("\033%-12345X", prn_stream);
return ret_code;
}
/* The DeskJet505J can compress */
static int
-dj505j_print_page(gx_device_printer * pdev, FILE * prn_stream)
+dj505j_print_page(gx_device_printer * pdev, gp_file * prn_stream)
{
return hp_colour_print_page(pdev, prn_stream, DJ505J);
}
/* The DesignJet650C can compress (mode 1) */
static int
-dnj650c_print_page(gx_device_printer * pdev, FILE * prn_stream)
+dnj650c_print_page(gx_device_printer * pdev, gp_file * prn_stream)
{
return hp_colour_print_page(pdev, prn_stream, DNJ650C);
}
static int
-lj4dith_print_page(gx_device_printer * pdev, FILE * prn_stream)
+lj4dith_print_page(gx_device_printer * pdev, gp_file * prn_stream)
{
return hp_colour_print_page(pdev, prn_stream, LJ4DITH);
}
static int
-lj4dithp_print_page(gx_device_printer * pdev, FILE * prn_stream)
+lj4dithp_print_page(gx_device_printer * pdev, gp_file * prn_stream)
{ int ret_code;
/* Ensure we're operating in PCL mode */
- fputs("\033%-12345X@PJL\r\n@PJL ENTER LANGUAGE = PCL\r\n", prn_stream);
+ gp_fputs("\033%-12345X@PJL\r\n@PJL ENTER LANGUAGE = PCL\r\n", prn_stream);
ret_code = hp_colour_print_page(pdev, prn_stream, LJ4DITH);
/* Reenter switch-configured language */
- fputs("\033%-12345X", prn_stream);
+ gp_fputs("\033%-12345X", prn_stream);
return ret_code;
}
/* The PJXL300 can compress (modes 2 & 3) */
static int
-pjxl300_print_page(gx_device_printer * pdev, FILE * prn_stream)
+pjxl300_print_page(gx_device_printer * pdev, gp_file * prn_stream)
{ int ret_code;
/* Ensure we're operating in PCL mode */
- fputs("\033%-12345X@PJL enter language = PCL\n", prn_stream);
+ gp_fputs("\033%-12345X@PJL enter language = PCL\n", prn_stream);
ret_code = hp_colour_print_page(pdev, prn_stream, PJXL300);
/* Reenter switch-configured language */
- fputs("\033%-12345X", prn_stream);
+ gp_fputs("\033%-12345X", prn_stream);
return ret_code;
}
/* The PaintJet XL can compress (modes 2 & 3) */
static int
-pjxl_print_page(gx_device_printer * pdev, FILE * prn_stream)
+pjxl_print_page(gx_device_printer * pdev, gp_file * prn_stream)
{
return hp_colour_print_page(pdev, prn_stream, PJXL180);
}
/* The PaintJet can compress (mode 1) */
static int
-pj_print_page(gx_device_printer * pdev, FILE * prn_stream)
+pj_print_page(gx_device_printer * pdev, gp_file * prn_stream)
{
return hp_colour_print_page(pdev, prn_stream, PJ180);
}
/* The LJ250 can compress (mode 1) */
static int
-declj250_print_page(gx_device_printer * pdev, FILE * prn_stream)
+declj250_print_page(gx_device_printer * pdev, gp_file * prn_stream)
{ int ret_code;
- fputs("\033%8", prn_stream); /* Enter PCL emulation mode */
+ gp_fputs("\033%8", prn_stream); /* Enter PCL emulation mode */
ret_code = hp_colour_print_page(pdev, prn_stream, DECLJ250);
- fputs("\033%@", prn_stream); /* Exit PCL emulation mode */
+ gp_fputs("\033%@", prn_stream); /* Exit PCL emulation mode */
return ret_code;
}
/* The BJC-600 cannot compress w/o raster image commands. */
static int
-escp_print_page(gx_device_printer * pdev, FILE * prn_stream)
+escp_print_page(gx_device_printer * pdev, gp_file * prn_stream)
{
return hp_colour_print_page(pdev, prn_stream, ESC_P);
}
/* The BJC-600 can compress w/ raster image commands. */
static int
-bjc_print_page(gx_device_printer * pdev, FILE * prn_stream)
+bjc_print_page(gx_device_printer * pdev, gp_file * prn_stream)
{
return hp_colour_print_page(pdev, prn_stream, bjc->ptype);
}
@@ -1582,35 +1582,35 @@ bjc_print_page(gx_device_printer * pdev, FILE * prn_stream)
/*
* Miscellaneous functions for Canon BJC-600 printers in raster command mode.
*/
-#define fputshort(n, f) fputc((n)%256,f);fputc((n)/256,f)
+#define fputshort(n, f) gp_fputc((n)%256,f);gp_fputc((n)/256,f)
static int
-bjc_cmd(byte cmd, int argsize, byte* arg, gx_device_printer* pdev,
- FILE* f)
+bjc_cmd(byte cmd, int argsize, byte *arg, gx_device_printer *pdev,
+ gp_file *f)
{
- fputs("\033(", f);
- putc(cmd, f);
+ gp_fputs("\033(", f);
+ gp_fputc(cmd, f);
fputshort(argsize, f);
- fwrite(arg, sizeof(byte), argsize, f);
+ gp_fwrite(arg, sizeof(byte), argsize, f);
return 0;
}
static int
-bjc_raster_cmd_sub(char c, int rastsize, byte* data, FILE* f)
+bjc_raster_cmd_sub(char c, int rastsize, byte *data, gp_file *f)
{
- fputs("\033(A", f);
+ gp_fputs("\033(A", f);
fputshort(rastsize + 1, f);
- putc(c, f);
- fwrite(data, sizeof(byte), rastsize, f);
- putc('\015', f);
+ gp_fputc(c, f);
+ gp_fwrite(data, sizeof(byte), rastsize, f);
+ gp_fputc('\015', f);
return 0;
}
static int
-bjc_raster_cmd(int c_id, int rastsize, byte* data, gx_device_printer* pdev,
- FILE* f)
+bjc_raster_cmd(int c_id, int rastsize, byte *data, gx_device_printer *pdev,
+ gp_file *f)
{
if (bjcparams.printColors == BJC_COLOR_ALLBLACK) {
bjc_raster_cmd_sub('K', rastsize, data, f);
@@ -1642,7 +1642,7 @@ bjc_raster_cmd(int c_id, int rastsize, byte* data, gx_device_printer* pdev,
}
static int
-bjc_init_page(gx_device_printer* pdev, FILE* f)
+bjc_init_page(gx_device_printer *pdev, gp_file *f)
{
byte pagemargins[3], resolution[4], paperloading[2];
@@ -1681,10 +1681,10 @@ bjc_init_page(gx_device_printer* pdev, FILE* f)
/* Reinitialize printer in raster mode. */
- fputs("\033[K", f);
+ gp_fputs("\033[K", f);
fputshort(2, f);
- fputc(0x00, f);
- fputc(0x0f, f);
+ gp_fputc(0x00, f);
+ gp_fputc(0x0f, f);
/* Set page mode on (ignore data at end of page) */
@@ -1745,26 +1745,26 @@ bjc_init_page(gx_device_printer* pdev, FILE* f)
}
static int
-bjc_v_skip(int n, gx_device_printer* pdev, FILE* f)
+bjc_v_skip(int n, gx_device_printer *pdev, gp_file *f)
{
if (n) {
- fputs("\033(e", f);
- putc(2, f);
- putc(0, f);
- putc(n / 256, f);
- putc(n % 256, f);
+ gp_fputs("\033(e", f);
+ gp_fputc(2, f);
+ gp_fputc(0, f);
+ gp_fputc(n / 256, f);
+ gp_fputc(n % 256, f);
}
return 0;
}
static int
-bjc_finish_page(gx_device_printer* pdev, FILE* f)
+bjc_finish_page(gx_device_printer *pdev, gp_file *f)
{
bjc_cmd('a', 1, (byte*) "\000", pdev, f);
bjc_cmd('b', 1, (byte*) "\000", pdev, f);
- fputc('\014', f);
- fputs("\033@", f);
+ gp_fputc('\014', f);
+ gp_fputs("\033@", f);
return 0;
}
@@ -1870,7 +1870,7 @@ typedef struct {
#define min_rows (32) /* for optimization of text image printing */
static int
-ep_print_image(FILE *prn_stream, ep_globals *eg, char cmd, byte *data, int size)
+ep_print_image(gp_file *prn_stream, ep_globals *eg, char cmd, byte *data, int size)
{
int i, real_rows;
static const char color[4] = {4,1,2,0};
@@ -1903,16 +1903,16 @@ ep_print_image(FILE *prn_stream, ep_globals *eg, char cmd, byte *data, int size)
/* before print the image, perform vertical skip. */
while (eg->vskip1 >= (255*2)) {
- fputs("\033J\377", prn_stream); /* n/180in. feeding */
+ gp_fputs("\033J\377", prn_stream); /* n/180in. feeding */
eg->vskip1 -= (255*2);
}
if (eg->vskip1 > 255) {
- fputs("\033J\200", prn_stream);
+ gp_fputs("\033J\200", prn_stream);
eg->vskip1 -= 256;
}
if (eg->vskip1) {
/* n/360in. feeding */
- fputs("\033|J", prn_stream); putc(0, prn_stream); putc(eg->vskip1, prn_stream);
+ gp_fputs("\033|J", prn_stream); gp_fputc(0, prn_stream); gp_fputc(eg->vskip1, prn_stream);
}
/* Optimize the number of nozzles to be used. */
@@ -1946,11 +1946,11 @@ ep_print_image(FILE *prn_stream, ep_globals *eg, char cmd, byte *data, int size)
/* Set color */
if (eg->num_comps == 1) {
/* Don't set color (to enable user setting). */
- putc('\015', prn_stream);
+ gp_fputc('\015', prn_stream);
} else {
/* set color to one of CMYK. */
- fputs("\015\033r", prn_stream);
- putc(color[i], prn_stream);
+ gp_fputs("\015\033r", prn_stream);
+ gp_fputc(color[i], prn_stream);
}
*(outp = eg->print_buf + eg->plane_size * img_rows) = 1; /* sentinel */
@@ -1975,13 +1975,13 @@ ep_print_image(FILE *prn_stream, ep_globals *eg, char cmd, byte *data, int size)
if (p0 < p1) { /* print the image between p0 and p1 */
print_size = ((p1 < outp) ? p1 : outp) - p0;
- fputs("\033|B", prn_stream); putc(img_rows, prn_stream);
+ gp_fputs("\033|B", prn_stream); gp_fputc(img_rows, prn_stream);
fputshort(print_size, prn_stream);
- fwrite(p0, sizeof(byte), print_size, prn_stream);
+ gp_fwrite(p0, sizeof(byte), print_size, prn_stream);
}
if (p1 < p2) { /* skip running zeros from p1 to p2 */
hskip = (((p2 < outp) ? p2 : outp) - p1) / row_bytes / 2;
- fputs("\033\\", prn_stream);
+ gp_fputs("\033\\", prn_stream);
fputshort(hskip, prn_stream);
}
p0 = p2;
@@ -2004,7 +2004,7 @@ ep_print_image(FILE *prn_stream, ep_globals *eg, char cmd, byte *data, int size)
/* Send the page to the printer. Compress each scan line. */
static int
-hp_colour_print_page(gx_device_printer * pdev, FILE * prn_stream, int ptype)
+hp_colour_print_page(gx_device_printer * pdev, gp_file * prn_stream, int ptype)
{
uint raster_width = gdev_prn_rasterwidth(pdev, 1);
/* int line_size = gdev_prn_rasterwidth(pdev, 0); */
@@ -2156,18 +2156,18 @@ hp_colour_print_page(gx_device_printer * pdev, FILE * prn_stream, int ptype)
/* Initialize printer. */
if (ptype == DJ505J) {
- fputs("\033@",prn_stream); /* Reset printer */
- fprintf(prn_stream,"\033_R%c%c", /* Set resolution */
- (int)x_dpi & 0xff,((int)x_dpi >> 8) & 0xff);
+ gp_fputs("\033@",prn_stream); /* Reset printer */
+ gp_fprintf(prn_stream,"\033_R%c%c", /* Set resolution */
+ (int)x_dpi & 0xff,((int)x_dpi >> 8) & 0xff);
} else if (ptype == BJC600 || ptype == BJC800) {
bjc_init_page(pdev, prn_stream);
} else {
if (ptype == LJ4DITH) {
- fputs("\033*rB", prn_stream);
+ gp_fputs("\033*rB", prn_stream);
} else {
- fputs("\033*rbC", prn_stream); /* End raster graphics */
+ gp_fputs("\033*rbC", prn_stream); /* End raster graphics */
}
- fprintf(prn_stream, "\033*t%dR", (int)x_dpi);
+ gp_fprintf(prn_stream, "\033*t%dR", (int)x_dpi);
/* Set resolution */
}
@@ -2181,9 +2181,9 @@ hp_colour_print_page(gx_device_printer * pdev, FILE * prn_stream, int ptype)
switch (ptype) {
case LJ4DITH:
/* Page size, orientation, top margin & perforation skip */
- fprintf(prn_stream, "\033&l%dA\033&l0o0e0L\033*r0F", paper_size);
- fprintf(prn_stream, "\033*p0x0Y" ); /* These Offsets are hacked ! */
- fprintf(prn_stream, "\033&u600D\033*r1A" );
+ gp_fprintf(prn_stream, "\033&l%dA\033&l0o0e0L\033*r0F", paper_size);
+ gp_fprintf(prn_stream, "\033*p0x0Y" ); /* These Offsets are hacked ! */
+ gp_fprintf(prn_stream, "\033&u600D\033*r1A" );
/* Select data compression */
compression = 3;
combined_escapes = 0;
@@ -2191,52 +2191,52 @@ hp_colour_print_page(gx_device_printer * pdev, FILE * prn_stream, int ptype)
case DJ500C:
case DJ550C:
/* Page size, orientation, top margin & perforation skip */
- fprintf(prn_stream, "\033&l%daolE", paper_size);
+ gp_fprintf(prn_stream, "\033&l%daolE", paper_size);
/* Set depletion and shingling levels */
- fprintf(prn_stream, "\033*o%dd%dQ", cdj->depletion, cdj->shingling);
+ gp_fprintf(prn_stream, "\033*o%dd%dQ", cdj->depletion, cdj->shingling);
/* Move to top left of printed area */
- fprintf(prn_stream, "\033*p%dY", (int)(300 * DOFFSET));
+ gp_fprintf(prn_stream, "\033*p%dY", (int)(300 * DOFFSET));
/* Set number of planes ((-)1 is mono, (-)3 is (cmy)rgb, -4 is cmyk),
* and raster width, then start raster graphics */
- fprintf(prn_stream, "\033*r%ds-%du0A", raster_width, num_comps);
+ gp_fprintf(prn_stream, "\033*r%ds-%du0A", raster_width, num_comps);
/* Select data compression */
compression = 9;
break;
case DJ505J:
/* Set depletion and shingling levels */
- fprintf(prn_stream, "\033_D%c\033_E%c",
+ gp_fprintf(prn_stream, "\033_D%c\033_E%c",
cdj->depletion, cdj->shingling);
/* Move to top left of printed area */
- fwrite("\033_N\000", 4, 1, prn_stream);
- fwrite("\033_J\xc4\xff", 5, 1, prn_stream);
+ gp_fwrite("\033_N\000", 4, 1, prn_stream);
+ gp_fwrite("\033_J\xc4\xff", 5, 1, prn_stream);
/* Set number of planes ((-)1 is mono, (-)3 is (cmy)rgb, -4 is cmyk),
* and raster width, then start raster graphics */
- fprintf(prn_stream, "\033_U%c%c",
+ gp_fprintf(prn_stream, "\033_U%c%c",
(0xffff - num_comps + 1) & 0xff, ((0xffff - num_comps + 1) >> 8) & 0xff);
- fprintf(prn_stream,
+ gp_fprintf(prn_stream,
"\033_S%c%c", raster_width & 0xff, (raster_width >> 8) & 0xff);
/* set origin */
- fwrite("\033_A\001", 4, 1, prn_stream);
+ gp_fwrite("\033_A\001", 4, 1, prn_stream);
compression = 1;
combined_escapes = 0;
break;
case DNJ650C:
if (pdev->x_pixels_per_inch == 600) {
/* set resolution to 600dpi 1st through PJL command */
- fprintf(prn_stream,"\033%%-12345X@PJL SET RESOLUTION = 600\n");
+ gp_fprintf(prn_stream,"\033%%-12345X@PJL SET RESOLUTION = 600\n");
}
- fprintf (prn_stream, "\033%%0B"); /* Enter HPGL/2 mode */
- fprintf (prn_stream, "BP5,1"); /* Turn off autorotation */
- fprintf (prn_stream, "PS%d,%d",
+ gp_fprintf (prn_stream, "\033%%0B"); /* Enter HPGL/2 mode */
+ gp_fprintf (prn_stream, "BP5,1"); /* Turn off autorotation */
+ gp_fprintf (prn_stream, "PS%d,%d",
(int)((pdev->height/pdev->y_pixels_per_inch)*1016),
(int)((pdev->width/pdev->x_pixels_per_inch)*1016)); /* Set length/width of page */
- fprintf (prn_stream, "PU"); /* Pen up */
- fprintf (prn_stream, "PA%d,%d", 0, 0); /* Move pen to upper-left */
- fprintf (prn_stream, "\033%%1A"); /* Enter HP-RTL mode */
- fprintf (prn_stream, "\033&a1N"); /* No negative motion - allow plotting
+ gp_fprintf (prn_stream, "PU"); /* Pen up */
+ gp_fprintf (prn_stream, "PA%d,%d", 0, 0); /* Move pen to upper-left */
+ gp_fprintf (prn_stream, "\033%%1A"); /* Enter HP-RTL mode */
+ gp_fprintf (prn_stream, "\033&a1N"); /* No negative motion - allow plotting
while receiving */
if (pdev->x_pixels_per_inch == 600)
- fprintf (prn_stream, "\033*t600R"); /* request 600dpi via HP RTL */
+ gp_fprintf (prn_stream, "\033*t600R"); /* request 600dpi via HP RTL */
{ static const char temp[] = {
033, '*', 'v', '6', 'W',
000 /* color model */,
@@ -2246,13 +2246,13 @@ hp_colour_print_page(gx_device_printer * pdev, FILE * prn_stream, int ptype)
010 /* bits green */,
010 /* bits blue */
};
- fwrite (temp, 1, sizeof(temp), prn_stream);
+ gp_fwrite (temp, 1, sizeof(temp), prn_stream);
}
/* Set raster width */
- fprintf(prn_stream, "\033*r%dS", raster_width);
+ gp_fprintf(prn_stream, "\033*r%dS", raster_width);
/* Start raster graphics */
- fprintf(prn_stream, "\033*r1A");
+ gp_fprintf(prn_stream, "\033*r1A");
/* Select data compression */
compression = 1;
@@ -2261,59 +2261,59 @@ hp_colour_print_page(gx_device_printer * pdev, FILE * prn_stream, int ptype)
break;
case PJXL300:
/* Page size, orientation, top margin & perforation skip */
- fprintf(prn_stream, "\033&l%daolE", paper_size);
+ gp_fprintf(prn_stream, "\033&l%daolE", paper_size);
/* Set no-negative-motion mode, for faster (unbuffered) printing */
- fprintf(prn_stream, "\033&a1N");
+ gp_fprintf(prn_stream, "\033&a1N");
/* Set print quality */
- fprintf(prn_stream, "\033*o%dQ", pjxl->printqual);
+ gp_fprintf(prn_stream, "\033*o%dQ", pjxl->printqual);
/* Move to top left of printed area */
- fprintf(prn_stream, "\033*p%dY", (int)(300 * POFFSET));
+ gp_fprintf(prn_stream, "\033*p%dY", (int)(300 * POFFSET));
/* Configure colour setup */
if (pjxl->rendertype > 0) {
/* Set render type */
- fprintf(prn_stream, "\033*t%dJ", pjxl->rendertype);
+ gp_fprintf(prn_stream, "\033*t%dJ", pjxl->rendertype);
/* Configure image data */
- fputs(cid_string, prn_stream);
+ gp_fputs(cid_string, prn_stream);
/* Set raster width, then start raster graphics */
- fprintf(prn_stream, "\033*r%ds1A", raster_width);
+ gp_fprintf(prn_stream, "\033*r%ds1A", raster_width);
} else {
/* Set number of planes (1 is mono, 3 is rgb),
* and raster width, then start raster graphics */
- fprintf(prn_stream, "\033*r%ds-%du0A", raster_width, num_comps);
+ gp_fprintf(prn_stream, "\033*r%ds-%du0A", raster_width, num_comps);
}
/* No combined escapes for raster transfers */
combined_escapes = 0;
break;
case PJXL180:
/* Page size, orientation, top margin & perforation skip */
- fprintf(prn_stream, "\033&l%daolE", paper_size);
+ gp_fprintf(prn_stream, "\033&l%daolE", paper_size);
/* Set print quality */
- fprintf(prn_stream, "\033*o%dQ", pjxl->printqual);
+ gp_fprintf(prn_stream, "\033*o%dQ", pjxl->printqual);
/* Move to top left of printed area */
- fprintf(prn_stream, "\033*p%dY", (int)(180 * POFFSET));
+ gp_fprintf(prn_stream, "\033*p%dY", (int)(180 * POFFSET));
/* Configure colour setup */
if (pjxl->rendertype > 0) {
/* Set render type */
- fprintf(prn_stream, "\033*t%dJ", pjxl->rendertype);
+ gp_fprintf(prn_stream, "\033*t%dJ", pjxl->rendertype);
/* Configure image data */
- fputs(cid_string, prn_stream);
+ gp_fputs(cid_string, prn_stream);
/* Set raster width, then start raster graphics */
- fprintf(prn_stream, "\033*r%ds1A", raster_width);
+ gp_fprintf(prn_stream, "\033*r%ds1A", raster_width);
} else {
/* Set number of planes (1 is mono, 3 is rgb),
* and raster width, then start raster graphics */
- fprintf(prn_stream, "\033*r%ds%du0A", raster_width, num_comps);
+ gp_fprintf(prn_stream, "\033*r%ds%du0A", raster_width, num_comps);
}
break;
case PJ180:
case DECLJ250:
/* Disable perforation skip */
- fprintf(prn_stream, "\033&lL");
+ gp_fprintf(prn_stream, "\033&lL");
/* Move to top left of printed area */
- fprintf(prn_stream, "\033&a%dV", (int)(720 * POFFSET));
+ gp_fprintf(prn_stream, "\033&a%dV", (int)(720 * POFFSET));
/* Set number of planes (1 is mono, 3 is rgb),
* and raster width, then start raster graphics */
- fprintf(prn_stream, "\033*r%ds%du0A", raster_width, num_comps);
+ gp_fprintf(prn_stream, "\033*r%ds%du0A", raster_width, num_comps);
if (ptype == DECLJ250) {
/* No combined escapes for raster transfers */
combined_escapes = 0;
@@ -2325,7 +2325,7 @@ hp_colour_print_page(gx_device_printer * pdev, FILE * prn_stream, int ptype)
break;
case ESC_P:
/* Move to top left of printed area (must be modified for large movement(YK))*/
- if ((int)(EOFFSET*360)) fprintf(prn_stream, "\033|J%c%c", 0, (int)(360*EOFFSET));
+ if ((int)(EOFFSET*360)) gp_fprintf(prn_stream, "\033|J%c%c", 0, (int)(360*EOFFSET));
combined_escapes = 0;
break;
case BJC600:
@@ -2347,20 +2347,20 @@ hp_colour_print_page(gx_device_printer * pdev, FILE * prn_stream, int ptype)
* mode can give both computational and PCL file size advantages. */
if (ptype == DJ505J) {
- fprintf(prn_stream, "\033_M%c", compression);
+ gp_fprintf(prn_stream, "\033_M%c", compression);
} else if (combined_escapes) {
/* From now on, all escape commands start with \033*b, so we
* combine them (if the printer supports this). */
- fputs("\033*b", prn_stream);
+ gp_fputs("\033*b", prn_stream);
/* Set compression if the mode has been defined. */
if (compression)
- fprintf(prn_stream, "%dm", compression);
+ gp_fprintf(prn_stream, "%dm", compression);
}
else if (ptype == BJC600 || ptype == BJC800)
; /* Currently, nothing to do. */
else
if (compression)
- fprintf(prn_stream, "\033*b%dM", compression);
+ gp_fprintf(prn_stream, "\033*b%dM", compression);
/* Send each scan line in turn */
{
@@ -2430,7 +2430,7 @@ hp_colour_print_page(gx_device_printer * pdev, FILE * prn_stream, int ptype)
/* Skip blank lines if any */
if (num_blank_lines > 0) {
if (ptype == DJ505J) {
- fprintf(prn_stream,"\033_Y%c%c",
+ gp_fprintf(prn_stream,"\033_Y%c%c",
num_blank_lines & 0xff, (num_blank_lines >> 8) & 0xff);
} else if (ptype == ESC_P) {
ep_print_image(prn_stream, &eg, 'B', 0, num_blank_lines);
@@ -2444,34 +2444,34 @@ hp_colour_print_page(gx_device_printer * pdev, FILE * prn_stream, int ptype)
* better off printing blanks. */
this_pass -= num_blank_lines;
if (combined_escapes) {
- fputc('y', prn_stream); /* Clear current and seed rows */
+ gp_fputc('y', prn_stream); /* Clear current and seed rows */
for (; num_blank_lines; num_blank_lines--)
- fputc('w', prn_stream);
+ gp_fputc('w', prn_stream);
} else {
#if 0
/**************** The following code has been proposed ****************/
/**************** as a replacement: ****************/
- fputs("\033*b1Y", prn_stream); /* Clear current and seed rows */
+ gp_fputs("\033*b1Y", prn_stream); /* Clear current and seed rows */
if ( num_blank_lines > 1 )
- fprintf(prn_stream, "\033*b%dY", num_blank_lines - 1);
+ gp_fprintf(prn_stream, "\033*b%dY", num_blank_lines - 1);
num_blank_lines = 0;
#else
- fputs("\033*bY", prn_stream); /* Clear current and seed rows */
+ gp_fputs("\033*bY", prn_stream); /* Clear current and seed rows */
if (ptype == DNJ650C) {
- fprintf (prn_stream, "\033*b%dY", num_blank_lines);
+ gp_fprintf (prn_stream, "\033*b%dY", num_blank_lines);
num_blank_lines = 0;
}
else {
for (; num_blank_lines; num_blank_lines--)
- fputs("\033*bW", prn_stream);
+ gp_fputs("\033*bW", prn_stream);
}
#endif
}
} else {
if (combined_escapes)
- fprintf(prn_stream, "%dy", num_blank_lines);
+ gp_fprintf(prn_stream, "%dy", num_blank_lines);
else
- fprintf(prn_stream, "\033*b%dY", num_blank_lines);
+ gp_fprintf(prn_stream, "\033*b%dY", num_blank_lines);
}
memset(plane_data[1 - scan][0], 0, plane_size * num_comps);
num_blank_lines = 0;
@@ -2607,13 +2607,13 @@ hp_colour_print_page(gx_device_printer * pdev, FILE * prn_stream, int ptype)
if (out_count == 0)
{ output_plane = 0; /* No further output for this plane */
if (i == 0)
- fputc('w', prn_stream);
+ gp_fputc('w', prn_stream);
else
zero_row_count++;
}
else
{ for (; zero_row_count; zero_row_count--)
- fputc('v', prn_stream);
+ gp_fputc('v', prn_stream);
}
break;
case DJ505J:
@@ -2660,9 +2660,9 @@ hp_colour_print_page(gx_device_printer * pdev, FILE * prn_stream, int ptype)
if (count3 + penalty3 < count2 + penalty2)
{ if ( compression != 3 ) {
if (combined_escapes)
- fputs("3m", prn_stream);
+ gp_fputs("3m", prn_stream);
else
- fputs("\033*b3M", prn_stream);
+ gp_fputs("\033*b3M", prn_stream);
compression = 3;
}
out_data = out_row;
@@ -2671,9 +2671,9 @@ hp_colour_print_page(gx_device_printer * pdev, FILE * prn_stream, int ptype)
else
{ if ( compression != 2 ) {
if (combined_escapes)
- fputs("2m", prn_stream);
+ gp_fputs("2m", prn_stream);
else
- fputs("\033*b2M", prn_stream);
+ gp_fputs("\033*b2M", prn_stream);
compression = 2;
}
out_data = out_row_alt;
@@ -2693,10 +2693,10 @@ hp_colour_print_page(gx_device_printer * pdev, FILE * prn_stream, int ptype)
}
if (output_plane) {
if (ptype == DJ505J)
- fprintf(prn_stream, "\033_%c%c%c",
+ gp_fprintf(prn_stream, "\033_%c%c%c",
"WVVV"[i], out_count & 0xff, (out_count >> 8) & 0xff);
else if (combined_escapes)
- fprintf(prn_stream, "%d%c", out_count, "wvvv"[i]);
+ gp_fprintf(prn_stream, "%d%c", out_count, "wvvv"[i]);
else if (ptype == BJC600 || ptype == BJC800) {
if (out_count)
bjc_raster_cmd(num_comps == 1 ? 3 : i,
@@ -2705,9 +2705,9 @@ hp_colour_print_page(gx_device_printer * pdev, FILE * prn_stream, int ptype)
} else if (ptype == ESC_P)
ep_print_image(prn_stream, &eg, (char)i, plane_data[scan][i], plane_size);
else
- fprintf(prn_stream, "\033*b%d%c", out_count, "WVVV"[i]);
+ gp_fprintf(prn_stream, "\033*b%d%c", out_count, "WVVV"[i]);
if (ptype < ESC_P)
- fwrite(out_data, sizeof(byte), out_count, prn_stream);
+ gp_fwrite(out_data, sizeof(byte), out_count, prn_stream);
}
} /* Transfer Raster Graphics ... */
@@ -2719,30 +2719,30 @@ hp_colour_print_page(gx_device_printer * pdev, FILE * prn_stream, int ptype)
} /* send each scan line in turn */
if (combined_escapes)
- fputs("0M", prn_stream);
+ gp_fputs("0M", prn_stream);
/* end raster graphics */
if (ptype == BJC600 || ptype == BJC800) {
bjc_finish_page(pdev, prn_stream);
} else if (ptype == DJ505J)
- fputs("\033_C", prn_stream);
+ gp_fputs("\033_C", prn_stream);
else if (ptype != ESC_P)
- fputs("\033*rbC\033E", prn_stream);
+ gp_fputs("\033*rbC\033E", prn_stream);
/* eject page */
if (ptype == PJ180)
- fputc('\f', prn_stream);
+ gp_fputc('\f', prn_stream);
else if (ptype == DJ505J)
- fputs("\f\033@", prn_stream);
+ gp_fputs("\f\033@", prn_stream);
else if (ptype == DNJ650C)
- fputs ("\033*rC\033%0BPG;", prn_stream);
+ gp_fputs ("\033*rC\033%0BPG;", prn_stream);
else if (ptype == BJC600 || ptype == BJC800)
; /* Already done */
else if (ptype == ESC_P) {
ep_print_image(prn_stream, &eg, 'F', 0, 0); /* flush print buffer */
- fputs("\014\033@", prn_stream); /* reset after eject page */
+ gp_fputs("\014\033@", prn_stream); /* reset after eject page */
} else
- fputs("\033&l0H", prn_stream);
+ gp_fputs("\033&l0H", prn_stream);
/* free temporary storage */
gs_free(pdev->memory, (char *) eg.storage, eg.storage_size_words, W, "ep_print_buffer");
diff --git a/devices/gdevcfax.c b/devices/gdevcfax.c
index fa6f98c26..d6fbebc47 100644
--- a/devices/gdevcfax.c
+++ b/devices/gdevcfax.c
@@ -39,20 +39,20 @@ const gx_device_fax gs_cfax_device = {
/* ---------------- SFF output ----------------- */
static void
-cfax_byte(uint c, FILE * file)
+cfax_byte(uint c, gp_file * file)
{
- fputc(c & 0xff, file);
+ gp_fputc(c & 0xff, file);
}
static void
-cfax_word(ushort c, FILE * file)
+cfax_word(ushort c, gp_file * file)
{
cfax_byte(c & 0xff, file);
cfax_byte(c >> 8, file);
}
static void
-cfax_dword(ulong c, FILE * file)
+cfax_dword(ulong c, gp_file * file)
{
cfax_byte(c & 0xff, file);
cfax_byte(c >> 8, file);
@@ -61,7 +61,7 @@ cfax_dword(ulong c, FILE * file)
}
static void
-cfax_doc_hdr(FILE * file)
+cfax_doc_hdr(gp_file * file)
{
cfax_byte('S', file);
cfax_byte('f', file);
@@ -77,7 +77,7 @@ cfax_doc_hdr(FILE * file)
}
static void
-cfax_page_hdr(gx_device_printer * pdev, FILE * file)
+cfax_page_hdr(gx_device_printer * pdev, gp_file * file)
{
cfax_byte(254, file);
cfax_byte(16, file);
@@ -92,7 +92,7 @@ cfax_page_hdr(gx_device_printer * pdev, FILE * file)
}
static void
-cfax_doc_end(FILE * file)
+cfax_doc_end(gp_file * file)
{
cfax_byte(254, file);
cfax_byte(0, file);
@@ -100,7 +100,7 @@ cfax_doc_end(FILE * file)
/* Send the page to the printer. */
static int
-cfax_stream_print_page_width(gx_device_printer * pdev, FILE * prn_stream,
+cfax_stream_print_page_width(gx_device_printer * pdev, gp_file * prn_stream,
const stream_template * temp, stream_state * ss,
int width)
{
@@ -184,7 +184,7 @@ cfax_stream_print_page_width(gx_device_printer * pdev, FILE * prn_stream,
/* Begin a capi fax page. */
static int
-cfax_begin_page(gx_device_printer * pdev, FILE * fp, int width)
+cfax_begin_page(gx_device_printer * pdev, gp_file * fp, int width)
{
/* Patch the width to reflect fax page width adjustment. */
int save_width = pdev->width;
@@ -201,7 +201,7 @@ cfax_begin_page(gx_device_printer * pdev, FILE * fp, int width)
/* Print an capi fax (sff-encoded) page. */
static int
-cfax_print_page(gx_device_printer * pdev, FILE * prn_stream)
+cfax_print_page(gx_device_printer * pdev, gp_file * prn_stream)
{
stream_CFE_state state;
int code;
diff --git a/devices/gdevchameleon.c b/devices/gdevchameleon.c
index 4c04e1239..1a4709723 100644
--- a/devices/gdevchameleon.c
+++ b/devices/gdevchameleon.c
@@ -457,15 +457,15 @@ craprgbtocmyk(void *arg,
}
static int
-header_4x1(FILE *file, gx_device_chameleon *pcdev)
+header_4x1(gp_file *file, gx_device_chameleon *pcdev)
{
- fprintf(file, "P7\nWIDTH %d\nHEIGHT %d\nDEPTH 4\nMAXVAL 255\nTUPLTYPE CMYK\nENDHDR\n",
+ gp_fprintf(file, "P7\nWIDTH %d\nHEIGHT %d\nDEPTH 4\nMAXVAL 255\nTUPLTYPE CMYK\nENDHDR\n",
pcdev->width, pcdev->height);
return 0;
}
static int
-write_4x1(const byte *data, int n, FILE *file)
+write_4x1(const byte *data, int n, gp_file *file)
{
byte b[8];
n -= 4;
@@ -479,7 +479,7 @@ write_4x1(const byte *data, int n, FILE *file)
b[5] = (d & 4) ? 255 : 0;
b[6] = (d & 2) ? 255 : 0;
b[7] = (d & 1) ? 255 : 0;
- fwrite(b, 1, 8, file);
+ gp_fwrite(b, 1, 8, file);
n -= 8;
}
if (n == 0) {
@@ -488,23 +488,23 @@ write_4x1(const byte *data, int n, FILE *file)
b[1] = (d & 64) ? 255 : 0;
b[2] = (d & 32) ? 255 : 0;
b[3] = (d & 16) ? 255 : 0;
- fwrite(b, 1, 4, file);
+ gp_fwrite(b, 1, 4, file);
}
return 0;
}
static int
-header_3x8(FILE *file, gx_device_chameleon *pcdev)
+header_3x8(gp_file *file, gx_device_chameleon *pcdev)
{
- fprintf(file, "P6\n%d %d 255\n",
+ gp_fprintf(file, "P6\n%d %d 255\n",
pcdev->width, pcdev->height);
return 0;
}
static int
-do_fwrite(const byte *data, int n, FILE *file)
+do_fwrite(const byte *data, int n, gp_file *file)
{
- return fwrite(data, 1, (n+7)>>3, file);
+ return gp_fwrite(data, 1, (n+7)>>3, file);
}
static int tiff_chunky_post_cm(void *arg, byte **dst, byte **src, int w, int h,
@@ -552,7 +552,7 @@ static gx_downscaler_ht_t default_ht[4] =
/* Send the page to the printer. */
static int
-chameleon_print_page(gx_device_printer * pdev, FILE * prn_stream)
+chameleon_print_page(gx_device_printer * pdev, gp_file * prn_stream)
{ /* Just dump the bits on the file. */
gx_device_chameleon *pcdev = (gx_device_chameleon *)pdev;
/* If the file is 'nul', don't even do the writes. */
@@ -568,8 +568,8 @@ chameleon_print_page(gx_device_printer * pdev, FILE * prn_stream)
int mfs = pcdev->downscale.min_feature_size;
int pxm = pcdev->output_as_pxm;
int dst_bpp;
- int (*write)(const byte *, int, FILE *) = do_fwrite;
- int (*header)(FILE *, gx_device_chameleon *) = NULL;
+ int (*write)(const byte *, int, gp_file *) = do_fwrite;
+ int (*header)(gp_file *, gx_device_chameleon *) = NULL;
int bitwidth;
gx_downscale_cm_fn *col_convert = NULL;
void *col_convert_arg = NULL;
diff --git a/devices/gdevcif.c b/devices/gdevcif.c
index 8a33930f9..f67aaf2ac 100644
--- a/devices/gdevcif.c
+++ b/devices/gdevcif.c
@@ -42,7 +42,7 @@ const gx_device_printer far_data gs_cif_device =
/* Send the page to the output. */
static int
-cif_print_page(gx_device_printer *pdev, FILE *prn_stream)
+cif_print_page(gx_device_printer *pdev, gp_file *prn_stream)
{ int line_size = gdev_mem_bytes_per_scan_line((gx_device *)pdev);
int lnum;
byte *in = (byte *)gs_malloc(pdev->memory, line_size, 1, "cif_print_page(in)");
@@ -62,7 +62,7 @@ cif_print_page(gx_device_printer *pdev, FILE *prn_stream)
strncpy(s, pdev->fname, length);
*(s + length) = '\0';
- fprintf(prn_stream, "DS1 25 1;\n9 %s;\nLCP;\n", s);
+ gp_fprintf(prn_stream, "DS1 25 1;\n9 %s;\nLCP;\n", s);
gs_free(pdev->memory, s, length, 1, "cif_print_page(s)");
for (lnum = 0; lnum < pdev->height; lnum++) {
@@ -72,7 +72,7 @@ cif_print_page(gx_device_printer *pdev, FILE *prn_stream)
#ifdef TILE /* original, simple, inefficient algorithm */
for (scanbyte = 0; scanbyte < 8; scanbyte++)
if (((in[scanline] >> scanbyte) & 1) != 0)
- fprintf(prn_stream, "B4 4 %d %d;\n",
+ gp_fprintf(prn_stream, "B4 4 %d %d;\n",
(scanline * 8 + (7 - scanbyte)) * 4,
(pdev->height - lnum) * 4);
#else /* better algorithm */
@@ -84,14 +84,14 @@ cif_print_page(gx_device_printer *pdev, FILE *prn_stream)
length++;
} else {
if (length != 0)
- fprintf(prn_stream, "B%d 4 %d %d;\n", length * 4,
+ gp_fprintf(prn_stream, "B%d 4 %d %d;\n", length * 4,
start * 4 + length * 2,
(pdev->height - lnum) * 4);
length = 0;
}
#endif
}
- fprintf(prn_stream, "DF;\nC1;\nE\n");
+ gp_fprintf(prn_stream, "DF;\nC1;\nE\n");
gs_free(pdev->memory, in, line_size, 1, "cif_print_page(in)");
return 0;
}
diff --git a/devices/gdevclj.c b/devices/gdevclj.c
index bed13bc5d..d5b466897 100644
--- a/devices/gdevclj.c
+++ b/devices/gdevclj.c
@@ -404,7 +404,7 @@ pack_and_compress_scanline(
static int
clj_print_page(
gx_device_printer * pdev,
- FILE * prn_stream
+ gp_file * prn_stream
)
{
gs_memory_t *mem = pdev->memory;
@@ -451,7 +451,7 @@ clj_print_page(
offset such that it coincides with the offsets of the imageable
area. This calculation should be independant of rotation but
only the rotated case has been tested with a real device. */
- fprintf( prn_stream,
+ gp_fprintf( prn_stream,
"\033E\033&u300D\033&l%da1x%dO\033*p0x0y+50x-100Y\033*t%dR"
#ifdef USE_FAST_MODE
"\033*r-3U"
@@ -479,20 +479,20 @@ clj_print_page(
++blank_lines;
else {
if (blank_lines != 0) {
- fprintf(prn_stream, "\033*b%dY", blank_lines);
+ gp_fprintf(prn_stream, "\033*b%dY", blank_lines);
blank_lines = 0;
}
- fprintf(prn_stream, "\033*b%dV", clen[0]);
- fwrite(cdata[0], sizeof(byte), clen[0], prn_stream);
- fprintf(prn_stream, "\033*b%dV", clen[1]);
- fwrite(cdata[1], sizeof(byte), clen[1], prn_stream);
- fprintf(prn_stream, "\033*b%dW", clen[2]);
- fwrite(cdata[2], sizeof(byte), clen[2], prn_stream);
+ gp_fprintf(prn_stream, "\033*b%dV", clen[0]);
+ gp_fwrite(cdata[0], sizeof(byte), clen[0], prn_stream);
+ gp_fprintf(prn_stream, "\033*b%dV", clen[1]);
+ gp_fwrite(cdata[1], sizeof(byte), clen[1], prn_stream);
+ gp_fprintf(prn_stream, "\033*b%dW", clen[2]);
+ gp_fwrite(cdata[2], sizeof(byte), clen[2], prn_stream);
}
}
/* PCL will take care of blank lines at the end */
- fputs("\033*rC\f", prn_stream);
+ gp_fputs("\033*rC\f", prn_stream);
/* free the buffers used */
gs_free_object(mem, cdata[0], "clj_print_page(cdata)");
diff --git a/devices/gdevcljc.c b/devices/gdevcljc.c
index 6512b6187..703f2639f 100644
--- a/devices/gdevcljc.c
+++ b/devices/gdevcljc.c
@@ -29,7 +29,7 @@
* hardwired.
*/
static int
-cljc_print_page(gx_device_printer * pdev, FILE * prn_stream)
+cljc_print_page(gx_device_printer * pdev, gp_file * prn_stream)
{
gs_memory_t *mem = pdev->memory;
uint raster = gx_device_raster((gx_device *)pdev, false);
@@ -48,18 +48,18 @@ cljc_print_page(gx_device_printer * pdev, FILE * prn_stream)
goto out;
}
/* send a reset and the the paper definition */
- fprintf(prn_stream, "\033E\033&u300D\033&l%dA",
- gdev_pcl_paper_size((gx_device *) pdev));
+ gp_fprintf(prn_stream, "\033E\033&u300D\033&l%dA",
+ gdev_pcl_paper_size((gx_device *) pdev));
/* turn off source and pattern transparency */
- fprintf(prn_stream, "\033*v1N\033*v1O");
+ gp_fprintf(prn_stream, "\033*v1N\033*v1O");
/* set color render mode and the requested resolution */
- fprintf(prn_stream, "\033*t4J\033*t%dR", (int)(pdev->HWResolution[0]));
+ gp_fprintf(prn_stream, "\033*t4J\033*t%dR", (int)(pdev->HWResolution[0]));
/* set up the color model - NB currently hardwired to direct by
pixel which requires 8 bits per component. See PCL color
technical reference manual for other possible encodings. */
- fprintf(prn_stream, "\033*v6W%c%c%c%c%c%c", 0, 3, 0, 8, 8, 8);
+ gp_fprintf(prn_stream, "\033*v6W%c%c%c%c%c%c", 0, 3, 0, 8, 8, 8);
/* set up raster width and height, compression mode 3 */
- fprintf(prn_stream, "\033&l0e-180u36Z\033*p0x0Y\033*r1A\033*b3M");
+ gp_fprintf(prn_stream, "\033&l0e-180u36Z\033*p0x0Y\033*r1A\033*b3M");
/* initialize the seed row */
memset(prow, 0, worst_case_comp_size);
/* process each scanline */
@@ -70,11 +70,11 @@ cljc_print_page(gx_device_printer * pdev, FILE * prn_stream)
if (code < 0)
break;
compressed_size = gdev_pcl_mode3compress(raster, data, prow, cdata);
- fprintf(prn_stream, "\033*b%dW", compressed_size);
- fwrite(cdata, sizeof(byte), compressed_size, prn_stream);
+ gp_fprintf(prn_stream, "\033*b%dW", compressed_size);
+ gp_fwrite(cdata, sizeof(byte), compressed_size, prn_stream);
}
/* PCL will take care of blank lines at the end */
- fputs("\033*rC\f", prn_stream);
+ gp_fputs("\033*rC\f", prn_stream);
out:
gs_free_object(mem, prow, "cljc_print_page(prow)");
gs_free_object(mem, cdata, "cljc_print_page(cdata)");
diff --git a/devices/gdevcmykog.c b/devices/gdevcmykog.c
index 8cae834f9..5c900e8f7 100644
--- a/devices/gdevcmykog.c
+++ b/devices/gdevcmykog.c
@@ -294,7 +294,7 @@ cmykog_put_params(gx_device * pdev, gs_param_list * plist)
* passed to every process_page function:
*/
typedef struct cmykog_process_arg_s {
- FILE *spot_file[GX_DEVICE_COLOR_MAX_COMPONENTS];
+ gp_file *spot_file[GX_DEVICE_COLOR_MAX_COMPONENTS];
char spot_name[GX_DEVICE_COLOR_MAX_COMPONENTS][gp_file_name_sizeof];
int dev_raster;
} cmykog_process_arg_t;
@@ -551,11 +551,11 @@ cmykog_process(void *arg_, gx_device *dev_, gx_device *bdev, const gs_int_rect *
}
static void
-write_plane(FILE *file, byte *data, int w, int h, int raster)
+write_plane(gp_file *file, byte *data, int w, int h, int raster)
{
#ifndef NO_OUTPUT
for (; h > 0; h--) {
- fwrite(data, 1, w, file);
+ gp_fwrite(data, 1, w, file);
data += raster;
}
#endif
@@ -573,7 +573,7 @@ static const char empty[64] = {
};
static void
-write_empty_plane(FILE *file, int w, int h)
+write_empty_plane(gp_file *file, int w, int h)
{
#ifndef NO_OUTPUT
w *= h;
@@ -581,7 +581,7 @@ write_empty_plane(FILE *file, int w, int h)
h = w;
if (h > 64)
h = 64;
- fwrite(empty, 1, h, file);
+ gp_fwrite(empty, 1, h, file);
w -= h;
}
#endif
@@ -616,7 +616,7 @@ cmykog_output(void *arg_, gx_device *dev_, void *buffer_)
/* This, finally is the main entry point that triggers printing for the
* device. */
static int
-cmykog_print_page(gx_device_printer * pdev, FILE * prn_stream)
+cmykog_print_page(gx_device_printer * pdev, gp_file * prn_stream)
{
gx_device_cmykog * pdevn = (gx_device_cmykog *) pdev;
int ncomp = pdevn->color_info.num_components;
@@ -686,10 +686,10 @@ cmykog_print_page(gx_device_printer * pdev, FILE * prn_stream)
for (i = 1; i < ncomp; i++) {
char tmp[4096];
int n;
- fseek(arg->spot_file[i], 0, SEEK_SET);
- while (!feof(arg->spot_file[i])) {
- n = fread(tmp, 1, 4096, arg->spot_file[i]);
- fwrite(tmp, 1, n, prn_stream);
+ gp_fseek(arg->spot_file[i], 0, SEEK_SET);
+ while (!gp_feof(arg->spot_file[i])) {
+ n = gp_fread(tmp, 1, 4096, arg->spot_file[i]);
+ gp_fwrite(tmp, 1, n, prn_stream);
}
}
/* If Ghostscript knows that all 6 planes aren't used, it may
@@ -705,7 +705,7 @@ prn_done:
/* Close the temporary files. */
for(i = 1; i < ncomp; i++) {
if (arg->spot_file[i] != NULL)
- fclose(arg->spot_file[i]);
+ gp_fclose(arg->spot_file[i]);
if(arg->spot_name[i][0])
unlink(arg->spot_name[i]);
}
diff --git a/devices/gdevcslw.c b/devices/gdevcslw.c
index 07191fbba..471a82e41 100644
--- a/devices/gdevcslw.c
+++ b/devices/gdevcslw.c
@@ -47,7 +47,7 @@ prn_device(prn_bg_procs, "coslwxl", /* The print_page proc is compatible with al
/* Send the page to the printer. */
static int
-coslw_print_page(gx_device_printer * pdev, FILE * prn_stream)
+coslw_print_page(gx_device_printer * pdev, gp_file * prn_stream)
{
int line_size = gdev_mem_bytes_per_scan_line((gx_device *) pdev);
int line_size_words = (line_size + W - 1) / W;
@@ -111,7 +111,7 @@ coslw_print_page(gx_device_printer * pdev, FILE * prn_stream)
int this_blank = 255;
if (num_blank_lines < this_blank)
this_blank = num_blank_lines;
- fprintf(prn_stream, "\033f\001%c", this_blank);
+ gp_fprintf(prn_stream, "\033f\001%c", this_blank);
num_blank_lines -= this_blank;
}
@@ -125,18 +125,18 @@ coslw_print_page(gx_device_printer * pdev, FILE * prn_stream)
/* Possible change the bytes per line */
if (bytes_per_line != out_count)
{
- fprintf(prn_stream, "\033D%c", out_count);
+ gp_fprintf(prn_stream, "\033D%c", out_count);
bytes_per_line = out_count;
}
/* Transfer the data */
- fputs("\026", prn_stream);
- fwrite(out_data, sizeof(byte), out_count, prn_stream);
+ gp_fputs("\026", prn_stream);
+ gp_fwrite(out_data, sizeof(byte), out_count, prn_stream);
}
}
/* eject page */
- fputs("\033E", prn_stream);
+ gp_fputs("\033E", prn_stream);
/* free temporary storage */
gs_free(pdev->memory, (char *)storage, storage_size_words, W, "coslw_print_page");
diff --git a/devices/gdevdfax.c b/devices/gdevdfax.c
index a6636e53f..a833694a7 100644
--- a/devices/gdevdfax.c
+++ b/devices/gdevdfax.c
@@ -72,7 +72,7 @@ dfax_prn_open(gx_device *dev)
/* Print a DigiFAX page. */
static int
-dfax_print_page(gx_device_printer *dev, FILE *prn_stream)
+dfax_print_page(gx_device_printer *dev, gp_file *prn_stream)
{ stream_CFE_state state;
static char hdr[64] = "\000PC Research, Inc\000\000\000\000\000\000";
int code;
@@ -88,8 +88,8 @@ dfax_print_page(gx_device_printer *dev, FILE *prn_stream)
{ hdr[45] = 0x40; hdr[29] = 1; } /* high res */
else
{ hdr[45] = hdr[29] = 0; } /* low res */
- fseek(prn_stream, 0, SEEK_END);
- fwrite(hdr, sizeof(hdr), 1, prn_stream);
+ gp_fseek(prn_stream, 0, SEEK_END);
+ gp_fwrite(hdr, sizeof(hdr), 1, prn_stream);
/* Write the page */
code = gdev_fax_print_page(dev, prn_stream, &state);
@@ -97,11 +97,11 @@ dfax_print_page(gx_device_printer *dev, FILE *prn_stream)
return code;
/* Fixup page count */
- if (fseek(prn_stream, 24L, SEEK_SET) != 0)
+ if (gp_fseek(prn_stream, 24L, SEEK_SET) != 0)
return_error(gs_error_ioerror);
hdr[24] = dfdev->pageno; hdr[25] = dfdev->pageno >> 8;
- if (fwrite(hdr+24, 2, 1, prn_stream) != 1)
+ if (gp_fwrite(hdr+24, 2, 1, prn_stream) != 1)
return_error(gs_error_ioerror);
return 0;
diff --git a/devices/gdevdjet.c b/devices/gdevdjet.c
index 1e7aeb9ea..3ea965996 100644
--- a/devices/gdevdjet.c
+++ b/devices/gdevdjet.c
@@ -286,9 +286,9 @@ hpjet_close(gx_device * pdev)
return code;
if (ppdev->PageCount > 0) {
if (ppdev->Duplex_set >= 0 && ppdev->Duplex)
- fputs("\033&l0H", ppdev->file);
+ gp_fputs("\033&l0H", ppdev->file);
- fputs("\033E", ppdev->file);
+ gp_fputs("\033E", ppdev->file);
}
return gdev_prn_close(pdev);
@@ -306,9 +306,9 @@ ljet4pjl_close(gx_device *pdev)
code = gdev_prn_open_printer(pdev, 1);
if (code < 0)
return code;
- fputs("\033&l0H", ppdev->file) ;
+ gp_fputs("\033&l0H", ppdev->file) ;
}
- fputs("\033%-12345X", ppdev->file);
+ gp_fputs("\033%-12345X", ppdev->file);
return gdev_prn_close(pdev);
}
@@ -334,7 +334,7 @@ hpjet_make_init(gx_device_printer *pdev, char *buf, const char *str)
/* The DeskJet can compress (mode 2) */
static int
-djet_print_page_copies(gx_device_printer * pdev, FILE * prn_stream,
+djet_print_page_copies(gx_device_printer * pdev, gp_file * prn_stream,
int num_copies)
{
char init[80];
@@ -345,7 +345,7 @@ djet_print_page_copies(gx_device_printer * pdev, FILE * prn_stream,
}
/* The DeskJet500 can compress (modes 2&3) */
static int
-djet500_print_page_copies(gx_device_printer * pdev, FILE * prn_stream,
+djet500_print_page_copies(gx_device_printer * pdev, gp_file * prn_stream,
int num_copies)
{
char init[80];
@@ -358,7 +358,7 @@ djet500_print_page_copies(gx_device_printer * pdev, FILE * prn_stream,
/* which use the PeerlessPrint5 firmware) doesn't handle */
/* ESC&l#u and ESC&l#Z correctly. */
static int
-fs600_print_page_copies(gx_device_printer * pdev, FILE * prn_stream,
+fs600_print_page_copies(gx_device_printer * pdev, gp_file * prn_stream,
int num_copies)
{
int dots_per_inch = (int)pdev->y_pixels_per_inch;
@@ -373,7 +373,7 @@ fs600_print_page_copies(gx_device_printer * pdev, FILE * prn_stream,
}
/* The LaserJet series II can't compress */
static int
-ljet_print_page_copies(gx_device_printer * pdev, FILE * prn_stream,
+ljet_print_page_copies(gx_device_printer * pdev, gp_file * prn_stream,
int num_copies)
{
char init[80];
@@ -384,7 +384,7 @@ ljet_print_page_copies(gx_device_printer * pdev, FILE * prn_stream,
}
/* The LaserJet Plus can't compress */
static int
-ljetplus_print_page_copies(gx_device_printer * pdev, FILE * prn_stream,
+ljetplus_print_page_copies(gx_device_printer * pdev, gp_file * prn_stream,
int num_copies)
{
char init[80];
@@ -396,7 +396,7 @@ ljetplus_print_page_copies(gx_device_printer * pdev, FILE * prn_stream,
/* LaserJet series IIp & IId compress (mode 2) */
/* but don't support *p+ or *b vertical spacing. */
static int
-ljet2p_print_page_copies(gx_device_printer * pdev, FILE * prn_stream,
+ljet2p_print_page_copies(gx_device_printer * pdev, gp_file * prn_stream,
int num_copies)
{
char init[80];
@@ -408,7 +408,7 @@ ljet2p_print_page_copies(gx_device_printer * pdev, FILE * prn_stream,
/* All LaserJet series IIIs (III,IIId,IIIp,IIIsi) compress (modes 2&3) */
/* They also need their coordinate system translated slightly. */
static int
-ljet3_print_page_copies(gx_device_printer * pdev, FILE * prn_stream,
+ljet3_print_page_copies(gx_device_printer * pdev, gp_file * prn_stream,
int num_copies)
{
char init[80];
@@ -419,7 +419,7 @@ ljet3_print_page_copies(gx_device_printer * pdev, FILE * prn_stream,
}
/* LaserJet IIId is same as LaserJet III, except for duplex */
static int
-ljet3d_print_page_copies(gx_device_printer * pdev, FILE * prn_stream,
+ljet3d_print_page_copies(gx_device_printer * pdev, gp_file * prn_stream,
int num_copies)
{
char init[80];
@@ -437,7 +437,7 @@ ljet3d_print_page_copies(gx_device_printer * pdev, FILE * prn_stream,
/* allow it to specify coordinates at 600 dpi. */
/* It too needs its coordinate system translated slightly. */
static int
-ljet4_print_page_copies(gx_device_printer * pdev, FILE * prn_stream,
+ljet4_print_page_copies(gx_device_printer * pdev, gp_file * prn_stream,
int num_copies)
{
int dots_per_inch = (int)pdev->y_pixels_per_inch;
@@ -454,7 +454,7 @@ ljet4_print_page_copies(gx_device_printer * pdev, FILE * prn_stream,
init, init, false);
}
static int
-ljet4d_print_page_copies(gx_device_printer * pdev, FILE * prn_stream,
+ljet4d_print_page_copies(gx_device_printer * pdev, gp_file * prn_stream,
int num_copies)
{
int dots_per_inch = (int)pdev->y_pixels_per_inch;
@@ -490,7 +490,7 @@ ljet4d_print_page_copies(gx_device_printer * pdev, FILE * prn_stream,
/* allow it to specify coordinates at 600 dpi. */
/* It too needs its coordinate system translated slightly. */
static int
-ljet4pjl_print_page_copies(gx_device_printer *pdev, FILE *prn_stream,
+ljet4pjl_print_page_copies(gx_device_printer *pdev, gp_file *prn_stream,
int num_copies)
{ int dots_per_inch = (int)pdev->y_pixels_per_inch;
char real_init[60];
@@ -504,7 +504,7 @@ ljet4pjl_print_page_copies(gx_device_printer *pdev, FILE *prn_stream,
/* The 2563B line printer can't compress */
/* and doesn't support *p+ or *b vertical spacing. */
static int
-lp2563_print_page_copies(gx_device_printer * pdev, FILE * prn_stream,
+lp2563_print_page_copies(gx_device_printer * pdev, gp_file * prn_stream,
int num_copies)
{
char init[80];
@@ -516,17 +516,17 @@ lp2563_print_page_copies(gx_device_printer * pdev, FILE * prn_stream,
/* The Oce line printer has TIFF compression */
/* and doesn't support *p+ or *b vertical spacing. */
static int
-oce9050_print_page_copies(gx_device_printer * pdev, FILE * prn_stream,
+oce9050_print_page_copies(gx_device_printer * pdev, gp_file * prn_stream,
int num_copies)
{
int code;
char init[80];
/* Switch to HP_RTL. */
- fputs("\033%1B", prn_stream); /* Enter HPGL/2 mode */
- fputs("BP", prn_stream); /* Begin Plot */
- fputs("IN;", prn_stream); /* Initialize (start plot) */
- fputs("\033%1A", prn_stream); /* Enter PCL mode */
+ gp_fputs("\033%1B", prn_stream); /* Enter HPGL/2 mode */
+ gp_fputs("BP", prn_stream); /* Begin Plot */
+ gp_fputs("IN;", prn_stream); /* Initialize (start plot) */
+ gp_fputs("\033%1A", prn_stream); /* Enter PCL mode */
hpjet_make_init(pdev, init, "\033*b0M");
@@ -534,12 +534,12 @@ oce9050_print_page_copies(gx_device_printer * pdev, FILE * prn_stream,
400, PCL_OCE9050_FEATURES, init, init, false);
/* Return to HPGL/2 mode. */
- fputs("\033%1B", prn_stream); /* Enter HPGL/2 mode */
+ gp_fputs("\033%1B", prn_stream); /* Enter HPGL/2 mode */
if (code == 0) {
- fputs("PU", prn_stream); /* Pen Up */
- fputs("SP0", prn_stream); /* Pen Select */
- fputs("PG;", prn_stream); /* Advance Full Page */
- fputs("\033E", prn_stream); /* Reset */
+ gp_fputs("PU", prn_stream); /* Pen Up */
+ gp_fputs("SP0", prn_stream); /* Pen Select */
+ gp_fputs("PG;", prn_stream); /* Advance Full Page */
+ gp_fputs("\033E", prn_stream); /* Reset */
}
return code;
}
diff --git a/devices/gdevdjtc.c b/devices/gdevdjtc.c
index 651fcaed3..fa4681af2 100644
--- a/devices/gdevdjtc.c
+++ b/devices/gdevdjtc.c
@@ -53,7 +53,7 @@ const gx_device_printer far_data gs_djet500c_device =
3, djet500c_print_page);
/* Forward references */
-static int djet500c_print_page(gx_device_printer *, FILE *);
+static int djet500c_print_page(gx_device_printer *, gp_file *);
static int mode2compress(byte *row, byte *end_row, byte *compressed);
@@ -67,7 +67,7 @@ static int mode2compress(byte *row, byte *end_row, byte *compressed);
/* The DeskJet Color can compress (mode 2) */
static int
-djet500c_print_page(gx_device_printer *pdev, FILE *fprn)
+djet500c_print_page(gx_device_printer *pdev, gp_file *fprn)
{
byte *bitData=NULL;
byte *plane1=NULL;
@@ -78,32 +78,32 @@ djet500c_print_page(gx_device_printer *pdev, FILE *fprn)
/* select the most compressed mode available & clear tmp storage */
/* put printer in known state */
- fputs("\033E",fprn);
+ gp_fputs("\033E",fprn);
/* ends raster graphics to set raster graphics resolution */
- fputs("\033*rbC", fprn); /* was \033*rB */
+ gp_fputs("\033*rbC", fprn); /* was \033*rB */
/* set raster graphics resolution -- 300 dpi */
- fputs("\033*t300R", fprn);
+ gp_fputs("\033*t300R", fprn);
/* A4, skip perf, def. paper tray */
- fputs("\033&l26a0l1H", fprn);
+ gp_fputs("\033&l26a0l1H", fprn);
/* RGB Mode */
- fputs("\033*r3U", fprn);
+ gp_fputs("\033*r3U", fprn);
/* set depletion level */
- fprintf(fprn, "\033*o%dD", DEPLETION);
+ gp_fprintf(fprn, "\033*o%dD", DEPLETION);
/* set shingling level */
- fprintf(fprn, "\033*o%dQ", SHINGLING);
+ gp_fprintf(fprn, "\033*o%dQ", SHINGLING);
/* move to top left of page & set current position */
- fputs("\033*p0x0Y", fprn); /* cursor pos: 0,0 */
+ gp_fputs("\033*p0x0Y", fprn); /* cursor pos: 0,0 */
- fputs("\033*b2M", fprn); /* mode 2 compression for now */
+ gp_fputs("\033*b2M", fprn); /* mode 2 compression for now */
- fputs("\033*r0A", fprn); /* start graf. left */
+ gp_fputs("\033*r0A", fprn); /* start graf. left */
/* Send each scan line in turn */
{ int lnum;
@@ -171,7 +171,7 @@ djet500c_print_page(gx_device_printer *pdev, FILE *fprn)
/* Skip blank lines if any */
if (num_blank_lines > 0)
{ /* move down from current position */
- fprintf(fprn, "\033*b%dY", num_blank_lines);
+ gp_fprintf(fprn, "\033*b%dY", num_blank_lines);
num_blank_lines = 0;
}
@@ -183,29 +183,29 @@ djet500c_print_page(gx_device_printer *pdev, FILE *fprn)
are different, so we are stuck with mode 2, which is good enough */
/* set the line width */
- fprintf(fprn, "\033*r%dS", lineLen*8);
+ gp_fprintf(fprn, "\033*r%dS", lineLen*8);
count = mode2compress(plane1, plane1 + lineLen, bitData);
- fprintf(fprn, "\033*b%dV", count);
- fwrite(bitData, sizeof(byte), count, fprn);
+ gp_fprintf(fprn, "\033*b%dV", count);
+ gp_fwrite(bitData, sizeof(byte), count, fprn);
count = mode2compress(plane2, plane2 + lineLen, bitData);
- fprintf(fprn, "\033*b%dV", count);
- fwrite(bitData, sizeof(byte), count, fprn);
+ gp_fprintf(fprn, "\033*b%dV", count);
+ gp_fwrite(bitData, sizeof(byte), count, fprn);
count = mode2compress(plane3, plane3 + lineLen, bitData);
- fprintf(fprn, "\033*b%dW", count);
- fwrite(bitData, sizeof(byte), count, fprn);
+ gp_fprintf(fprn, "\033*b%dW", count);
+ gp_fwrite(bitData, sizeof(byte), count, fprn);
}
}
}
/* end raster graphics */
- fputs("\033*rbC", fprn); /* was \033*rB */
- fputs("\033*r1U", fprn); /* back to 1 plane */
+ gp_fputs("\033*rbC", fprn); /* was \033*rB */
+ gp_fputs("\033*r1U", fprn); /* back to 1 plane */
- /* put printer in known state */
- fputs("\033E",fprn);
+ /* put printer in known state */
+ gp_fputs("\033E",fprn);
/* eject page */
- fputs("\033&l0H", fprn);
+ gp_fputs("\033&l0H", fprn);
/* release allocated memory */
if (bitData) free(bitData);
diff --git a/devices/gdevdljm.c b/devices/gdevdljm.c
index 678262f82..876b1dbb6 100644
--- a/devices/gdevdljm.c
+++ b/devices/gdevdljm.c
@@ -45,14 +45,14 @@
/* Send a page to the printer. */
int
-dljet_mono_print_page(gx_device_printer * pdev, FILE * prn_stream,
+dljet_mono_print_page(gx_device_printer * pdev, gp_file * prn_stream,
int dots_per_inch, int features, const char *page_init)
{
return dljet_mono_print_page_copies(pdev, prn_stream, 1, dots_per_inch,
features, page_init, page_init, false);
}
int
-dljet_mono_print_page_copies(gx_device_printer * pdev, FILE * prn_stream,
+dljet_mono_print_page_copies(gx_device_printer * pdev, gp_file * prn_stream,
int num_copies, int dots_per_inch, int features,
const char *odd_page_init, const char *even_page_init, bool tumble)
{
@@ -104,26 +104,26 @@ dljet_mono_print_page_copies(gx_device_printer * pdev, FILE * prn_stream,
/* Initialize printer. */
if (pdev->PageCount == 0) {
if (features & HACK__IS_A_LJET4PJL) {
- fputs("\033%-12345X@PJL\r\n@PJL ENTER LANGUAGE = PCL\r\n",
+ gp_fputs("\033%-12345X@PJL\r\n@PJL ENTER LANGUAGE = PCL\r\n",
prn_stream);
}
- fputs("\033E", prn_stream); /* reset printer */
+ gp_fputs("\033E", prn_stream); /* reset printer */
/* If the printer supports it, set the paper size */
/* based on the actual requested size. */
- fprintf(prn_stream, "\033&l%dO", page_orientation);
+ gp_fprintf(prn_stream, "\033&l%dO", page_orientation);
if (features & PCL_CAN_SET_PAPER_SIZE) {
- fprintf(prn_stream, "\033&l%dA", paper_size);
+ gp_fprintf(prn_stream, "\033&l%dA", paper_size);
}
/* If printer can duplex, set duplex mode appropriately. */
if (features & PCL_HAS_DUPLEX) {
if (dupset && dup && !tumble)
- fputs("\033&l1S", prn_stream);
+ gp_fputs("\033&l1S", prn_stream);
else if (dupset && dup && tumble)
- fputs("\033&l2S", prn_stream);
+ gp_fputs("\033&l2S", prn_stream);
else if (dupset && !dup)
- fputs("\033&l0S", prn_stream);
+ gp_fputs("\033&l0S", prn_stream);
else /* default to duplex for this printer */
- fputs("\033&l1S", prn_stream);
+ gp_fputs("\033&l1S", prn_stream);
}
}
/* Put out per-page initialization. */
@@ -142,37 +142,37 @@ dljet_mono_print_page_copies(gx_device_printer * pdev, FILE * prn_stream,
if ((features & PCL_HAS_DUPLEX) && dupset && dup) {
/* We are printing duplex, so change margins as needed */
if (( (pdev->PageCount/num_copies)%2)==0) {
- fprintf(prn_stream, "\033&l%dO", page_orientation);
+ gp_fprintf(prn_stream, "\033&l%dO", page_orientation);
if (features & PCL_CAN_SET_PAPER_SIZE) {
- fprintf(prn_stream, "\033&l%dA", paper_size);
+ gp_fprintf(prn_stream, "\033&l%dA", paper_size);
}
- fputs("\033&l0l0E", prn_stream);
- fputs(odd_page_init, prn_stream);
+ gp_fputs("\033&l0l0E", prn_stream);
+ gp_fputs(odd_page_init, prn_stream);
} else
- fputs(even_page_init, prn_stream);
+ gp_fputs(even_page_init, prn_stream);
} else {
- fprintf(prn_stream, "\033&l%dO", page_orientation);
+ gp_fprintf(prn_stream, "\033&l%dO", page_orientation);
if (features & PCL_CAN_SET_PAPER_SIZE){
- fprintf(prn_stream, "\033&l%dA", paper_size);
+ gp_fprintf(prn_stream, "\033&l%dA", paper_size);
}
- fputs("\033&l0l0E", prn_stream);
- fputs(odd_page_init, prn_stream);
+ gp_fputs("\033&l0l0E", prn_stream);
+ gp_fputs(odd_page_init, prn_stream);
}
- fprintf(prn_stream, "\033&l%dX", num_copies); /* # of copies */
+ gp_fprintf(prn_stream, "\033&l%dX", num_copies); /* # of copies */
/* End raster graphics, position cursor at top. */
- fputs("\033*rB\033*p0x0Y", prn_stream);
+ gp_fputs("\033*rB\033*p0x0Y", prn_stream);
/* The DeskJet and DeskJet Plus reset everything upon */
/* receiving \033*rB, so we must reinitialize graphics mode. */
if (features & PCL_END_GRAPHICS_DOES_RESET) {
- fputs(odd_page_init, prn_stream); /* Assume this does the right thing */
- fprintf(prn_stream, "\033&l%dX", num_copies); /* # of copies */
+ gp_fputs(odd_page_init, prn_stream); /* Assume this does the right thing */
+ gp_fprintf(prn_stream, "\033&l%dX", num_copies); /* # of copies */
}
/* Set resolution. */
- fprintf(prn_stream, "\033*t%dR", x_dpi);
+ gp_fprintf(prn_stream, "\033*t%dR", x_dpi);
/* Send each scan line in turn */
{
@@ -204,16 +204,16 @@ dljet_mono_print_page_copies(gx_device_printer * pdev, FILE * prn_stream,
/* We're at the top of a page. */
if (features & PCL_ANY_SPACING) {
if (num_blank_lines > 0)
- fprintf(prn_stream, "\033*p+%dY",
+ gp_fprintf(prn_stream, "\033*p+%dY",
num_blank_lines * y_dots_per_pixel);
/* Start raster graphics. */
- fputs("\033*r1A", prn_stream);
+ gp_fputs("\033*r1A", prn_stream);
} else if (features & PCL_MODE_3_COMPRESSION) {
/* Start raster graphics. */
- fputs("\033*r1A", prn_stream);
+ gp_fputs("\033*r1A", prn_stream);
#if 1 /* don't waste paper */
if (num_blank_lines > 0)
- fputs("\033*b0W", prn_stream);
+ gp_fputs("\033*b0W", prn_stream);
num_blank_lines = 0;
#else
for (; num_blank_lines; num_blank_lines--)
@@ -221,9 +221,9 @@ dljet_mono_print_page_copies(gx_device_printer * pdev, FILE * prn_stream,
#endif
} else {
/* Start raster graphics. */
- fputs("\033*r1A", prn_stream);
+ gp_fputs("\033*r1A", prn_stream);
for (; num_blank_lines; num_blank_lines--)
- fputs("\033*bW", prn_stream);
+ gp_fputs("\033*bW", prn_stream);
}
}
/* Skip blank lines if any */
@@ -247,27 +247,27 @@ dljet_mono_print_page_copies(gx_device_printer * pdev, FILE * prn_stream,
if (mode_3ns && compression != 2) {
/* Switch to mode 2 */
- fputs(from3to2, prn_stream);
+ gp_fputs(from3to2, prn_stream);
compression = 2;
}
if (features & PCL_MODE_3_COMPRESSION) {
/* Must clear the seed row. */
- fputs("\033*b1Y", prn_stream);
+ gp_fputs("\033*b1Y", prn_stream);
num_blank_lines--;
}
if (mode_3ns) {
for (; num_blank_lines; num_blank_lines--)
- fputs("\033*b0W", prn_stream);
+ gp_fputs("\033*b0W", prn_stream);
} else {
for (; num_blank_lines; num_blank_lines--)
- fputs("\033*bW", prn_stream);
+ gp_fputs("\033*bW", prn_stream);
}
} else if (features & PCL3_SPACING) {
- fprintf(prn_stream, "\033*p+%dY",
- num_blank_lines * y_dots_per_pixel);
+ gp_fprintf(prn_stream, "\033*p+%dY",
+ num_blank_lines * y_dots_per_pixel);
} else {
- fprintf(prn_stream, "\033*b%dY",
- num_blank_lines);
+ gp_fprintf(prn_stream, "\033*b%dY",
+ num_blank_lines);
}
/* Clear the seed row (only matters for */
/* mode 3 compression). */
@@ -292,13 +292,13 @@ dljet_mono_print_page_copies(gx_device_printer * pdev, FILE * prn_stream,
if (count3 + penalty3 < count2 + penalty2) {
if (compression != 3)
- fputs(from2to3, prn_stream);
+ gp_fputs(from2to3, prn_stream);
compression = 3;
out_data = out_row;
out_count = count3;
} else {
if (compression != 2)
- fputs(from3to2, prn_stream);
+ gp_fputs(from3to2, prn_stream);
compression = 2;
out_data = out_row_alt;
out_count = count2;
@@ -313,14 +313,14 @@ dljet_mono_print_page_copies(gx_device_printer * pdev, FILE * prn_stream,
}
/* Transfer the data */
- fprintf(prn_stream, "\033*b%dW", out_count);
- fwrite(out_data, sizeof(byte), out_count,
- prn_stream);
+ gp_fprintf(prn_stream, "\033*b%dW", out_count);
+ gp_fwrite(out_data, sizeof(byte), out_count,
+ prn_stream);
}
}
/* end raster graphics and eject page */
- fputs("\033*rB\f", prn_stream);
+ gp_fputs("\033*rB\f", prn_stream);
/* free temporary storage */
gs_free_object(pdev->memory, storage, "hpjet_print_page");
diff --git a/devices/gdevdljm.h b/devices/gdevdljm.h
index 55aa88e9c..1481b827f 100644
--- a/devices/gdevdljm.h
+++ b/devices/gdevdljm.h
@@ -131,14 +131,14 @@
/* Send a page to the printer. */
int dljet_mono_print_page(
gx_device_printer * pdev, /* from device-specific _print_page */
- FILE * prn_stream, /* ibid. */
+ gp_file * prn_stream, /* ibid. */
int dots_per_inch, /* may be a multiple of y resolution */
int features, /* as defined above */
const char *page_init /* page initialization string */
);
int dljet_mono_print_page_copies(
gx_device_printer * pdev,
- FILE * prn_stream,
+ gp_file * prn_stream,
int num_copies,
int dots_per_inch,
int features,
diff --git a/devices/gdevdm24.c b/devices/gdevdm24.c
index 4736f4f52..abf8508c2 100644
--- a/devices/gdevdm24.c
+++ b/devices/gdevdm24.c
@@ -44,12 +44,12 @@ const gx_device_printer gs_lq850_device =
/* ------ Internal routines ------ */
/* Forward references */
-static void dot24_output_run (byte *, int, int, FILE *);
+static void dot24_output_run (byte *, int, int, gp_file *);
static void dot24_improve_bitmap (byte *, int);
/* Send the page to the printer. */
static int
-dot24_print_page (gx_device_printer *pdev, FILE *prn_stream, char *init_string, int init_len)
+dot24_print_page (gx_device_printer *pdev, gp_file *prn_stream, char *init_string, int init_len)
{
int xres = (int)pdev->x_pixels_per_inch;
int yres = (int)pdev->y_pixels_per_inch;
@@ -77,8 +77,8 @@ dot24_print_page (gx_device_printer *pdev, FILE *prn_stream, char *init_string,
}
/* Initialize the printer and reset the margins. */
- fwrite (init_string, init_len - 1, sizeof (char), prn_stream);
- fputc ((int) (pdev->width / pdev->x_pixels_per_inch * 10) + 2,
+ gp_fwrite (init_string, init_len - 1, sizeof (char), prn_stream);
+ gp_fputc ((int) (pdev->width / pdev->x_pixels_per_inch * 10) + 2,
prn_stream);
/* Print lines of graphics */
@@ -104,16 +104,16 @@ dot24_print_page (gx_device_printer *pdev, FILE *prn_stream, char *init_string,
/* Vertical tab to the appropriate position. */
while ((skip >> 1) > 255)
{
- fputs ("\033J\377", prn_stream);
+ gp_fputs ("\033J\377", prn_stream);
skip -= 255 * 2;
}
if (skip)
{
if (skip >> 1)
- fprintf (prn_stream, "\033J%c", skip >> 1);
+ gp_fprintf (prn_stream, "\033J%c", skip >> 1);
if (skip & 1)
- fputc ('\n', prn_stream);
+ gp_fputc ('\n', prn_stream);
}
/* Copy the rest of the scan lines. */
@@ -196,7 +196,7 @@ dot24_print_page (gx_device_printer *pdev, FILE *prn_stream, char *init_string,
x_high, prn_stream);
}
/* Tab over to the appropriate position. */
- fprintf (prn_stream, "\033D%c%c\t", tpos, 0);
+ gp_fprintf (prn_stream, "\033D%c%c\t", tpos, 0);
out_blk = outp = newp;
}
}
@@ -211,17 +211,17 @@ dot24_print_page (gx_device_printer *pdev, FILE *prn_stream, char *init_string,
prn_stream);
}
- fputc ('\r', prn_stream);
+ gp_fputc ('\r', prn_stream);
if (ypass < y_passes - 1)
- fputc ('\n', prn_stream);
+ gp_fputc ('\n', prn_stream);
}
skip = 48 - y_high;
lnum += bits_per_column;
}
/* Eject the page and reinitialize the printer */
- fputs ("\f\033@", prn_stream);
- fflush (prn_stream);
+ gp_fputs ("\f\033@", prn_stream);
+ gp_fflush (prn_stream);
gs_free (pdev->memory, (char *) out, out_size, 1, "dot24_print_page (out)");
gs_free (pdev->memory, (char *) in, in_size, 1, "dot24_print_page (in)");
@@ -231,15 +231,15 @@ dot24_print_page (gx_device_printer *pdev, FILE *prn_stream, char *init_string,
/* Output a single graphics command. */
static void
-dot24_output_run (byte *data, int count, int x_high, FILE *prn_stream)
+dot24_output_run (byte *data, int count, int x_high, gp_file *prn_stream)
{
int xcount = count / 3;
- fputc (033, prn_stream);
- fputc ('*', prn_stream);
- fputc ((x_high ? 40 : 39), prn_stream);
- fputc (xcount & 0xff, prn_stream);
- fputc (xcount >> 8, prn_stream);
- fwrite (data, 1, count, prn_stream);
+ gp_fputc (033, prn_stream);
+ gp_fputc ('*', prn_stream);
+ gp_fputc ((x_high ? 40 : 39), prn_stream);
+ gp_fputc (xcount & 0xff, prn_stream);
+ gp_fputc (xcount >> 8, prn_stream);
+ gp_fwrite (data, 1, count, prn_stream);
}
/* If xdpi == 360, the P6 / LQ850 cannot print adjacent pixels. Clear the
@@ -264,7 +264,7 @@ dot24_improve_bitmap (byte *data, int count)
}
static int
-necp6_print_page(gx_device_printer *pdev, FILE *prn_stream)
+necp6_print_page(gx_device_printer *pdev, gp_file *prn_stream)
{
char necp6_init_string [] = "\033@\033P\033l\000\r\034\063\001\033Q";
@@ -272,7 +272,7 @@ necp6_print_page(gx_device_printer *pdev, FILE *prn_stream)
}
static int
-lq850_print_page(gx_device_printer *pdev, FILE *prn_stream)
+lq850_print_page(gx_device_printer *pdev, gp_file *prn_stream)
{
char lq850_init_string [] = "\033@\033P\033l\000\r\033\053\001\033Q";
diff --git a/devices/gdevepsc.c b/devices/gdevepsc.c
index a102e12cd..192128a43 100644
--- a/devices/gdevepsc.c
+++ b/devices/gdevepsc.c
@@ -157,12 +157,12 @@ prn_device(epson_procs, "epsonc",
/* ------ Internal routines ------ */
/* Forward references */
-static void epsc_output_run(byte *, int, int, char, FILE *, int);
+static void epsc_output_run(byte *, int, int, char, gp_file *, int);
/* Send the page to the printer. */
#define DD 0x80 /* double density flag */
static int
-epsc_print_page(gx_device_printer * pdev, FILE * prn_stream)
+epsc_print_page(gx_device_printer * pdev, gp_file * prn_stream)
{
static int graphics_modes_9[5] = { -1, 0 /*60 */ , 1 /*120 */ , -1, DD + 3 /*240 */
};
@@ -208,7 +208,7 @@ epsc_print_page(gx_device_printer * pdev, FILE * prn_stream)
}
/* Initialize the printer and reset the margins. */
- fwrite("\033@\033P\033l\000\033Q\377\033U\001\r", 1, 14, prn_stream);
+ gp_fwrite("\033@\033P\033l\000\033Q\377\033U\001\r", 1, 14, prn_stream);
/* Create color buffer */
if (gx_device_has_color(pdev)) {
@@ -248,11 +248,11 @@ epsc_print_page(gx_device_printer * pdev, FILE * prn_stream)
/* Vertical tab to the appropriate position. */
while (skip > 255) {
- fputs("\033J\377", prn_stream);
+ gp_fputs("\033J\377", prn_stream);
skip -= 255;
}
if (skip)
- fprintf(prn_stream, "\033J%c", skip);
+ gp_fprintf(prn_stream, "\033J%c", skip);
/* Copy the rest of the scan lines. */
lcnt = 1 + gdev_prn_copy_scan_lines(pdev, lnum + 1,
@@ -347,7 +347,7 @@ epsc_print_page(gx_device_printer * pdev, FILE * prn_stream)
** but lets check anyway
*/
if (current_color)
- fprintf(prn_stream, "\033r%c", current_color ^ 7);
+ gp_fprintf(prn_stream, "\033r%c", current_color ^ 7);
}
/* We have to 'transpose' blocks of 8 pixels x 8 lines, */
@@ -405,7 +405,7 @@ epsc_print_page(gx_device_printer * pdev, FILE * prn_stream)
y_mult, start_graphics,
prn_stream, pass);
/* Tab over to the appropriate position. */
- fprintf(prn_stream, "\033D%c%c\t", tpos, 0);
+ gp_fprintf(prn_stream, "\033D%c%c\t", tpos, 0);
out_blk = outp = newp;
}
} else
@@ -415,7 +415,7 @@ epsc_print_page(gx_device_printer * pdev, FILE * prn_stream)
epsc_output_run(out_blk, (int)(outp - out_blk),
y_mult, start_graphics, prn_stream, pass);
- fputc('\r', prn_stream);
+ gp_fputc('\r', prn_stream);
}
} while (nextcolor);
skip = 24;
@@ -423,7 +423,7 @@ epsc_print_page(gx_device_printer * pdev, FILE * prn_stream)
}
/* Eject the page and reinitialize the printer */
- fputs("\f\033@", prn_stream);
+ gp_fputs("\f\033@", prn_stream);
gs_free(pdev->memory, (char *)out, out_size + 1, 1,
"epsc_print_page(out)");
@@ -438,21 +438,21 @@ epsc_print_page(gx_device_printer * pdev, FILE * prn_stream)
/* pass=0 for all columns, 1 for even columns, 2 for odd columns. */
static void
epsc_output_run(byte * data, int count, int y_mult,
- char start_graphics, FILE * prn_stream, int pass)
+ char start_graphics, gp_file * prn_stream, int pass)
{
int xcount = count / y_mult;
- fputc(033, prn_stream);
+ gp_fputc(033, prn_stream);
if (!(start_graphics & ~3)) {
- fputc("KLYZ"[(int)start_graphics], prn_stream);
+ gp_fputc("KLYZ"[(int)start_graphics], prn_stream);
} else {
- fputc('*', prn_stream);
- fputc(start_graphics & ~DD, prn_stream);
+ gp_fputc('*', prn_stream);
+ gp_fputc(start_graphics & ~DD, prn_stream);
}
- fputc(xcount & 0xff, prn_stream);
- fputc(xcount >> 8, prn_stream);
+ gp_fputc(xcount & 0xff, prn_stream);
+ gp_fputc(xcount >> 8, prn_stream);
if (!pass)
- fwrite((char *)data, 1, count, prn_stream);
+ gp_fwrite((char *)data, 1, count, prn_stream);
else { /* Only write every other column of y_mult bytes. */
int which = pass;
byte *dp = data;
@@ -460,7 +460,7 @@ epsc_output_run(byte * data, int count, int y_mult,
for (i = 0; i < xcount; i++, which++)
for (j = 0; j < y_mult; j++, dp++) {
- putc(((which & 1) ? *dp : 0), prn_stream);
+ gp_fputc(((which & 1) ? *dp : 0), prn_stream);
}
}
}
diff --git a/devices/gdevepsn.c b/devices/gdevepsn.c
index d74770b37..49faaf3d7 100644
--- a/devices/gdevepsn.c
+++ b/devices/gdevepsn.c
@@ -134,12 +134,12 @@ const gx_device_printer far_data gs_ibmpro_device =
/* ------ Driver procedures ------ */
/* Forward references */
-static void eps_output_run(byte *, int, int, char, FILE *, int);
+static void eps_output_run(byte *, int, int, char, gp_file *, int);
/* Send the page to the printer. */
#define DD 0x40 /* double density flag */
static int
-eps_print_page(gx_device_printer *pdev, FILE *prn_stream, int y_9pin_high,
+eps_print_page(gx_device_printer *pdev, gp_file *prn_stream, int y_9pin_high,
const char *init_string, int init_length, const char *end_string,
int archaic, int tab_hiccup)
{
@@ -185,9 +185,9 @@ eps_print_page(gx_device_printer *pdev, FILE *prn_stream, int y_9pin_high,
}
/* Initialize the printer and reset the margins. */
- fwrite(init_string, 1, init_length, prn_stream);
+ gp_fwrite(init_string, 1, init_length, prn_stream);
if ( init_string[init_length - 1] == 'Q' )
- fputc((int)(pdev->width / pdev->x_pixels_per_inch * 10) + 2,
+ gp_fputc((int)(pdev->width / pdev->x_pixels_per_inch * 10) + 2,
prn_stream);
/* Calculate the minimum tab distance. */
@@ -220,12 +220,12 @@ eps_print_page(gx_device_printer *pdev, FILE *prn_stream, int y_9pin_high,
/* Vertical tab to the appropriate position. */
while ( skip > 255 )
{
- fputs("\033J\377", prn_stream);
+ gp_fputs("\033J\377", prn_stream);
skip -= 255;
}
if ( skip )
{
- fprintf(prn_stream, "\033J%c", skip);
+ gp_fprintf(prn_stream, "\033J%c", skip);
}
/* Copy the the scan lines. */
@@ -356,12 +356,12 @@ eps_print_page(gx_device_printer *pdev, FILE *prn_stream, int y_9pin_high,
}
/* Tab over to the appropriate position. */
if ( tab_hiccup )
- fputs("\010 ", prn_stream); /* bksp, space */
+ gp_fputs("\010 ", prn_stream); /* bksp, space */
/* The following statement is broken up */
/* to work around a bug in emx/gcc. */
- fprintf(prn_stream, "\033D%c", tpos);
- fputc(0, prn_stream);
- fputc('\t', prn_stream);
+ gp_fprintf(prn_stream, "\033D%c", tpos);
+ gp_fputc(0, prn_stream);
+ gp_fputc('\t', prn_stream);
out_blk = outp = newp;
}
}
@@ -378,18 +378,18 @@ eps_print_page(gx_device_printer *pdev, FILE *prn_stream, int y_9pin_high,
(y_9pin_high == 2 ? (1 + ypass) & 1 : pass));
}
- fputc('\r', prn_stream);
+ gp_fputc('\r', prn_stream);
}
if ( ypass < y_passes - 1 )
- fputs("\033J\001", prn_stream);
+ gp_fputs("\033J\001", prn_stream);
}
skip = 24 - y_passes + 1; /* no skip on last Y pass */
lnum += 8 * in_y_mult;
}
/* Eject the page and reinitialize the printer */
- fputs(end_string, prn_stream);
- fflush(prn_stream);
+ gp_fputs(end_string, prn_stream);
+ gp_fflush(prn_stream);
gs_free(pdev->memory, (char *)buf2, in_size, 1, "eps_print_page(buf2)");
gs_free(pdev->memory, (char *)buf1, in_size, 1, "eps_print_page(buf1)");
@@ -400,25 +400,25 @@ eps_print_page(gx_device_printer *pdev, FILE *prn_stream, int y_9pin_high,
/* pass=0 for all columns, 1 for even columns, 2 for odd columns. */
static void
eps_output_run(byte *data, int count, int y_mult,
- char start_graphics, FILE *prn_stream, int pass)
+ char start_graphics, gp_file *prn_stream, int pass)
{
int xcount = count / y_mult;
- fputc(033, prn_stream);
+ gp_fputc(033, prn_stream);
if ( !(start_graphics & ~3) )
{
- fputc("KLYZ"[(int)start_graphics], prn_stream);
+ gp_fputc("KLYZ"[(int)start_graphics], prn_stream);
}
else
{
- fputc('*', prn_stream);
- fputc(start_graphics & ~DD, prn_stream);
+ gp_fputc('*', prn_stream);
+ gp_fputc(start_graphics & ~DD, prn_stream);
}
- fputc(xcount & 0xff, prn_stream);
- fputc(xcount >> 8, prn_stream);
+ gp_fputc(xcount & 0xff, prn_stream);
+ gp_fputc(xcount >> 8, prn_stream);
if ( !pass )
{
- fwrite(data, 1, count, prn_stream);
+ gp_fwrite(data, 1, count, prn_stream);
}
else
{
@@ -431,7 +431,7 @@ eps_output_run(byte *data, int count, int y_mult,
{
for ( j = 0; j < y_mult; j++, dp++ )
{
- putc(((which & 1) ? *dp : 0), prn_stream);
+ gp_fputc(((which & 1) ? *dp : 0), prn_stream);
}
}
}
@@ -455,7 +455,7 @@ static const char eps_init_string[] = {
};
static int
-epson_print_page(gx_device_printer *pdev, FILE *prn_stream)
+epson_print_page(gx_device_printer *pdev, gp_file *prn_stream)
{
return eps_print_page(pdev, prn_stream, 0, eps_init_string,
sizeof(eps_init_string), "\f\033@",
@@ -463,7 +463,7 @@ epson_print_page(gx_device_printer *pdev, FILE *prn_stream)
}
static int
-eps9high_print_page(gx_device_printer *pdev, FILE *prn_stream)
+eps9high_print_page(gx_device_printer *pdev, gp_file *prn_stream)
{
return eps_print_page(pdev, prn_stream, 1, eps_init_string,
sizeof(eps_init_string), "\f\033@",
@@ -471,7 +471,7 @@ eps9high_print_page(gx_device_printer *pdev, FILE *prn_stream)
}
static int
-eps9mid_print_page(gx_device_printer *pdev, FILE *prn_stream)
+eps9mid_print_page(gx_device_printer *pdev, gp_file *prn_stream)
{
return eps_print_page(pdev, prn_stream, 2, eps_init_string,
sizeof(eps_init_string), "\f\033@",
@@ -479,7 +479,7 @@ eps9mid_print_page(gx_device_printer *pdev, FILE *prn_stream)
}
static int
-ibmpro_print_page(gx_device_printer *pdev, FILE *prn_stream)
+ibmpro_print_page(gx_device_printer *pdev, gp_file *prn_stream)
{
/*
* IBM Proprinter Guide to Operations, p. 4-5: "DC1: Select Printer: Sets
diff --git a/devices/gdevescp.c b/devices/gdevescp.c
index 6f10d20e0..000431920 100644
--- a/devices/gdevescp.c
+++ b/devices/gdevescp.c
@@ -107,7 +107,7 @@ const gx_device_printer far_data gs_ap3250_device =
/* Send the page to the printer. */
static int
-escp2_print_page(gx_device_printer *pdev, FILE *prn_stream)
+escp2_print_page(gx_device_printer *pdev, gp_file *prn_stream)
{
int line_size = gdev_prn_raster((gx_device_printer *)pdev);
int band_size = 24; /* 1, 8, or 24 */
@@ -153,7 +153,7 @@ escp2_print_page(gx_device_printer *pdev, FILE *prn_stream)
** Reset printer, enter graphics mode:
*/
- fwrite("\033@\033(G\001\000\001", 1, 8, prn_stream);
+ gp_fwrite("\033@\033(G\001\000\001", 1, 8, prn_stream);
#ifdef A4
/*
@@ -172,9 +172,9 @@ escp2_print_page(gx_device_printer *pdev, FILE *prn_stream)
*/
if( pdev->y_pixels_per_inch == 360 )
- fwrite("\033(U\001\0\012\033+\030", 1, 9, prn_stream);
+ gp_fwrite("\033(U\001\0\012\033+\030", 1, 9, prn_stream);
else
- fwrite("\033(U\001\0\024\033+\060", 1, 9, prn_stream);
+ gp_fwrite("\033(U\001\0\024\033+\060", 1, 9, prn_stream);
/*
** If the printer has automatic page feeding, then the paper
@@ -235,9 +235,9 @@ escp2_print_page(gx_device_printer *pdev, FILE *prn_stream)
*/
if( skip ) {
- fwrite("\033(v\002\000", 1, 5, prn_stream);
- fputc(skip & 0xff, prn_stream);
- fputc(skip >> 8, prn_stream);
+ gp_fwrite("\033(v\002\000", 1, 5, prn_stream);
+ gp_fputc(skip & 0xff, prn_stream);
+ gp_fputc(skip >> 8, prn_stream);
skip = 0;
}
@@ -375,33 +375,33 @@ escp2_print_page(gx_device_printer *pdev, FILE *prn_stream)
** Output data:
*/
- fwrite("\033.\001", 1, 3, prn_stream);
+ gp_fwrite("\033.\001", 1, 3, prn_stream);
if(pdev->y_pixels_per_inch == 360)
- fputc('\012', prn_stream);
+ gp_fputc('\012', prn_stream);
else
- fputc('\024', prn_stream);
+ gp_fputc('\024', prn_stream);
if(pdev->x_pixels_per_inch == 360)
- fputc('\012', prn_stream);
+ gp_fputc('\012', prn_stream);
else
- fputc('\024', prn_stream);
+ gp_fputc('\024', prn_stream);
- fputc(band_size, prn_stream);
+ gp_fputc(band_size, prn_stream);
- fputc((width << 3) & 0xff, prn_stream);
- fputc( width >> 5, prn_stream);
+ gp_fputc((width << 3) & 0xff, prn_stream);
+ gp_fputc( width >> 5, prn_stream);
- fwrite(out, 1, (outp - out), prn_stream);
+ gp_fwrite(out, 1, (outp - out), prn_stream);
- fwrite("\r\n", 1, 2, prn_stream);
+ gp_fwrite("\r\n", 1, 2, prn_stream);
lnum += band_size;
}
/* Eject the page and reinitialize the printer */
- fputs("\f\033@", prn_stream);
- fflush(prn_stream);
+ gp_fputs("\f\033@", prn_stream);
+ gp_fflush(prn_stream);
gs_free(pdev->memory, (char *)buf2, in_size, 1, "escp2_print_page(buf2)");
gs_free(pdev->memory, (char *)buf1, in_size, 1, "escp2_print_page(buf1)");
diff --git a/devices/gdevfax.c b/devices/gdevfax.c
index 3a7a5a8b5..dd7832397 100644
--- a/devices/gdevfax.c
+++ b/devices/gdevfax.c
@@ -171,7 +171,7 @@ gdev_fax_init_fax_state(stream_CFE_state *ss, const gx_device_fax *fdev)
* page; TIFF devices call this once per strip.
*/
int
-gdev_fax_print_strip(gx_device_printer * pdev, FILE * prn_stream,
+gdev_fax_print_strip(gx_device_printer * pdev, gp_file * prn_stream,
const stream_template * temp, stream_state * ss,
int width, int row_first, int row_end /* last + 1 */)
{
@@ -280,7 +280,7 @@ gdev_fax_print_strip(gx_device_printer * pdev, FILE * prn_stream,
break;
case 1: /* need to write output */
if (!nul)
- fwrite(out, 1, w.ptr + 1 - out, prn_stream);
+ gp_fwrite(out, 1, w.ptr + 1 - out, prn_stream);
w.ptr = out - 1;
break;
}
@@ -289,7 +289,7 @@ gdev_fax_print_strip(gx_device_printer * pdev, FILE * prn_stream,
ok:
/* Write out any remaining output. */
if (!nul)
- fwrite(out, 1, w.ptr + 1 - out, prn_stream);
+ gp_fwrite(out, 1, w.ptr + 1 - out, prn_stream);
done:
/* We only get one strip, we need to free min_feature_data without
@@ -309,7 +309,7 @@ gdev_fax_print_strip(gx_device_printer * pdev, FILE * prn_stream,
/* Print a fax page. Other fax drivers use this. */
int
-gdev_fax_print_page(gx_device_printer * pdev, FILE * prn_stream,
+gdev_fax_print_page(gx_device_printer * pdev, gp_file * prn_stream,
stream_CFE_state * ss)
{
return gdev_fax_print_strip(pdev, prn_stream, &s_CFE_template,
@@ -319,7 +319,7 @@ gdev_fax_print_page(gx_device_printer * pdev, FILE * prn_stream,
/* Print a 1-D Group 3 page. */
static int
-faxg3_print_page(gx_device_printer * pdev, FILE * prn_stream)
+faxg3_print_page(gx_device_printer * pdev, gp_file * prn_stream)
{
stream_CFE_state state;
@@ -331,7 +331,7 @@ faxg3_print_page(gx_device_printer * pdev, FILE * prn_stream)
/* Print a 2-D Group 3 page. */
static int
-faxg32d_print_page(gx_device_printer * pdev, FILE * prn_stream)
+faxg32d_print_page(gx_device_printer * pdev, gp_file * prn_stream)
{
stream_CFE_state state;
@@ -344,7 +344,7 @@ faxg32d_print_page(gx_device_printer * pdev, FILE * prn_stream)
/* Print a Group 4 page. */
static int
-faxg4_print_page(gx_device_printer * pdev, FILE * prn_stream)
+faxg4_print_page(gx_device_printer * pdev, gp_file * prn_stream)
{
stream_CFE_state state;
diff --git a/devices/gdevfax.h b/devices/gdevfax.h
index 7966562ff..ca9892692 100644
--- a/devices/gdevfax.h
+++ b/devices/gdevfax.h
@@ -62,11 +62,11 @@ extern const gx_device_procs gdev_fax_std_procs;
void gdev_fax_init_state(stream_CFE_state *ss, const gx_device_fax *fdev);
void gdev_fax_init_fax_state(stream_CFE_state *ss,
const gx_device_fax *fdev);
-int gdev_fax_print_strip(gx_device_printer * pdev, FILE * prn_stream,
+int gdev_fax_print_strip(gx_device_printer * pdev, gp_file * prn_stream,
const stream_template * temp, stream_state * ss,
int width, int row_first,
int row_end /* last + 1 */);
-int gdev_fax_print_page(gx_device_printer *pdev, FILE *prn_stream,
+int gdev_fax_print_page(gx_device_printer *pdev, gp_file *prn_stream,
stream_CFE_state *ss);
#endif /* gdevfax_INCLUDED */
diff --git a/devices/gdevfpng.c b/devices/gdevfpng.c
index a79075403..cc91f6722 100644
--- a/devices/gdevfpng.c
+++ b/devices/gdevfpng.c
@@ -231,20 +231,20 @@ static void big32(unsigned char *buf, unsigned int v)
buf[3] = (v) & 0xff;
}
-static void write_big32(int v, FILE *file)
+static void write_big32(int v, gp_file *file)
{
- fputc(v>>24, file);
- fputc(v>>16, file);
- fputc(v>>8, file);
- fputc(v>>0, file);
+ gp_fputc(v>>24, file);
+ gp_fputc(v>>16, file);
+ gp_fputc(v>>8, file);
+ gp_fputc(v>>0, file);
}
-static void putchunk(const char *tag, const unsigned char *data, int size, FILE *file)
+static void putchunk(const char *tag, const unsigned char *data, int size, gp_file *file)
{
unsigned int sum;
write_big32(size, file);
- fwrite(tag, 1, 4, file);
- fwrite(data, 1, size, file);
+ gp_fwrite(tag, 1, 4, file);
+ gp_fwrite(data, 1, size, file);
sum = crc32(0, NULL, 0);
sum = crc32(sum, (const unsigned char*)tag, 4);
sum = crc32(sum, data, size);
@@ -400,7 +400,7 @@ static int fpng_process(void *arg, gx_device *dev, gx_device *bdev, const gs_int
static int fpng_output(void *arg, gx_device *dev, void *buffer_)
{
- FILE *file = (FILE *)arg;
+ gp_file *file = (gp_file *)arg;
fpng_buffer_t *buffer = (fpng_buffer_t *)buffer_;
putchunk("IDAT", &buffer->data[0], buffer->compressed, file);
@@ -410,14 +410,14 @@ static int fpng_output(void *arg, gx_device *dev, void *buffer_)
/* Write out a page in PNG format. */
static int
-fpng_print_page(gx_device_printer *pdev, FILE *file)
+fpng_print_page(gx_device_printer *pdev, gp_file *file)
{
gx_device_fpng *fdev = (gx_device_fpng *)pdev;
static const unsigned char pngsig[8] = { 137, 80, 78, 71, 13, 10, 26, 10 };
unsigned char head[13];
gx_process_page_options_t process = { 0 };
- fwrite(pngsig, 1, 8, file); /* Signature */
+ gp_fwrite(pngsig, 1, 8, file); /* Signature */
/* IHDR chunk */
big32(&head[0], gx_downscaler_scale_rounded(pdev->width, fdev->downscale.downscale_factor));
diff --git a/devices/gdevgprf.c b/devices/gdevgprf.c
index 6874312cc..ff383e576 100644
--- a/devices/gdevgprf.c
+++ b/devices/gdevgprf.c
@@ -562,7 +562,7 @@ gprf_get_color_comp_index(gx_device * dev, const char * pname,
/* ------ Private definitions ------ */
typedef struct {
- FILE *f;
+ gp_file *f;
int width;
int height;
@@ -582,7 +582,7 @@ typedef struct {
} gprf_write_ctx;
static int
-gprf_setup(gprf_write_ctx *xc, gx_device_printer *pdev, FILE *file, int w, int h,
+gprf_setup(gprf_write_ctx *xc, gx_device_printer *pdev, gp_file *file, int w, int h,
gsicc_link_t *icclink)
{
int i;
@@ -664,7 +664,7 @@ static int
gprf_write(gprf_write_ctx *xc, const byte *buf, int size) {
int code;
- code = fwrite(buf, 1, size, xc->f);
+ code = gp_fwrite(buf, 1, size, xc->f);
if (code < size)
return_error(gs_error_ioerror);
return 0;
@@ -702,7 +702,7 @@ gprf_write_header(gprf_write_ctx *xc)
unsigned int offset;
gx_devn_prn_device *dev = (gx_devn_prn_device *)xc->dev;
- code = (unsigned int)ftell(xc->f);
+ code = (unsigned int)gp_ftell(xc->f);
if (code < 0)
return_error(gs_error_ioerror);
@@ -872,16 +872,16 @@ gprf_write_header(gprf_write_ctx *xc)
/* Since MuPDF can't really use the profile and it's optional, at this point
* we will not spend time writing out the profile. */
/* Update header pointer to table */
- code = (unsigned long)ftell(xc->f);
+ code = (unsigned long)gp_ftell(xc->f);
if (code < 0)
return_error(gs_error_ioerror);
xc->table_offset = (unsigned int) code;
- if (fseek(xc->f, offset+28, SEEK_SET) != 0)
+ if (gp_fseek(xc->f, offset+28, SEEK_SET) != 0)
return_error (gs_error_ioerror);
code = gprf_write_32(xc, xc->table_offset);
if (code < 0)
return code;
- if (fseek(xc->f, xc->table_offset, SEEK_SET) != 0)
+ if (gp_fseek(xc->f, xc->table_offset, SEEK_SET) != 0)
return_error(gs_error_ioerror);
return 0;
}
@@ -920,12 +920,12 @@ updateTable(gprf_write_ctx *xc)
int offset, code;
/* Read the current position of the file */
- offset = ftell(xc->f);
+ offset = gp_ftell(xc->f);
if (offset < 0)
return_error(gs_error_ioerror);
/* Put that value into the table */
- if (fseek(xc->f, xc->table_offset, SEEK_SET) != 0)
+ if (gp_fseek(xc->f, xc->table_offset, SEEK_SET) != 0)
return_error(gs_error_ioerror);
code = gprf_write_32(xc, offset);
@@ -939,7 +939,7 @@ updateTable(gprf_write_ctx *xc)
xc->table_offset += 8;
/* Seek back to where we were before */
- if (fseek(xc->f, offset, SEEK_SET) != 0)
+ if (gp_fseek(xc->f, offset, SEEK_SET) != 0)
return_error(gs_error_ioerror);
return 0;
}
@@ -1309,7 +1309,7 @@ cleanup:
}
static int
-gprf_print_page(gx_device_printer *pdev, FILE *file)
+gprf_print_page(gx_device_printer *pdev, gp_file *file)
{
int code;
diff --git a/devices/gdevhl7x.c b/devices/gdevhl7x.c
index 07375a2d5..786449d99 100644
--- a/devices/gdevhl7x.c
+++ b/devices/gdevhl7x.c
@@ -161,11 +161,11 @@ static Byte * currentPosition(ByteList * list);
static void addCodedNumber(ByteList * list, short number);
static int isThereEnoughRoom(ByteList * list, short biggest);
static short roomLeft(ByteList * list);
-static void dumpToPrinter(ByteList * list,FILE * printStream);
+static void dumpToPrinter(ByteList * list,gp_file * printStream);
/* Real Print function */
-static int hl7x0_print_page(gx_device_printer *, FILE *, int, int, ByteList *);
+static int hl7x0_print_page(gx_device_printer *, gp_file *, int, int, ByteList *);
/* Define the default, maximum resolutions. */
#ifdef X_DPI
@@ -280,7 +280,7 @@ hl7x0_close(gx_device *pdev)
if (code < 0)
return code;
- fputs("@N@N@N@N@X", ppdev->file) ;
+ gp_fputs("@N@N@N@N@X", ppdev->file) ;
return gdev_prn_close_printer(pdev);
}
@@ -288,7 +288,7 @@ hl7x0_close(gx_device *pdev)
/* The HL 720 can compress*/
static int
-hl720_print_page(gx_device_printer *pdev, FILE *prn_stream)
+hl720_print_page(gx_device_printer *pdev, gp_file *prn_stream)
{
Byte prefix[] ={
0x1B,'%','-','1','2','3','4','5','X'
@@ -316,7 +316,7 @@ hl720_print_page(gx_device_printer *pdev, FILE *prn_stream)
/* Send the page to the printer. For speed, compress each scan line, */
/* since computer-to-printer communication time is often a bottleneck. */
static int
-hl7x0_print_page(gx_device_printer *pdev, FILE *printStream, int ptype,
+hl7x0_print_page(gx_device_printer *pdev, gp_file *printStream, int ptype,
int dots_per_inch, ByteList *initCommand)
{
/* UTILE*/
@@ -998,13 +998,13 @@ static short roomLeft(ByteList * list){
* Dump all commands to the printer and reset the structure
*
*/
-static void dumpToPrinter(ByteList * list,FILE * printStream){
+static void dumpToPrinter(ByteList * list,gp_file * printStream){
short loopCounter;
/* Actual dump */
/* Please note that current is the first empty byte */
for (loopCounter = 0; loopCounter < list->current; loopCounter++)
{
- fputc(list->data[loopCounter],printStream);
+ gp_fputc(list->data[loopCounter],printStream);
}
/* Reset of the ByteList */
diff --git a/devices/gdevicov.c b/devices/gdevicov.c
index bc9d535f9..4f4d7f5cd 100644
--- a/devices/gdevicov.c
+++ b/devices/gdevicov.c
@@ -35,7 +35,7 @@
#include "gdevprn.h"
static int
-cov_write_page(gx_device_printer *pdev, FILE *file)
+cov_write_page(gx_device_printer *pdev, gp_file *file)
{
int code = 0;
int raster = gdev_prn_raster(pdev);
@@ -76,16 +76,16 @@ cov_write_page(gx_device_printer *pdev, FILE *file)
}
- if (IS_LIBCTX_STDOUT(pdev->memory, file)) {
+ if (IS_LIBCTX_STDOUT(pdev->memory, gp_get_file(file))) {
outprintf(pdev->memory, "%8.5f %8.5f %8.5f %8.5f CMYK %s\n",
c, m, y, k, code ? "ERROR" : "OK");
}
- else if (IS_LIBCTX_STDERR(pdev->memory, file)) {
+ else if (IS_LIBCTX_STDERR(pdev->memory, gp_get_file(file))) {
errprintf(pdev->memory, "%8.5f %8.5f %8.5f %8.5f CMYK %s\n",
c, m, y, k, code ? "ERROR" : "OK");
}
else {
- fprintf (file, "%8.5f %8.5f %8.5f %8.5f CMYK %s\n",
+ gp_fprintf (file, "%8.5f %8.5f %8.5f %8.5f CMYK %s\n",
c, m, y, k, code ? "ERROR" : "OK");
}
}
@@ -95,7 +95,7 @@ cov_write_page(gx_device_printer *pdev, FILE *file)
/* cov_write_page2 gave ink coverage values not ratecoverage */
-static int cov_write_page_ink(gx_device_printer *pdev, FILE *file)
+static int cov_write_page_ink(gx_device_printer *pdev, gp_file *file)
{
int code = 0;
int raster = gdev_prn_raster(pdev);
@@ -145,16 +145,16 @@ static int cov_write_page_ink(gx_device_printer *pdev, FILE *file)
k = (dk_pix*100) / (total_pix*255);
}
- if (IS_LIBCTX_STDOUT(pdev->memory, file)) {
+ if (IS_LIBCTX_STDOUT(pdev->memory, gp_get_file(file))) {
outprintf(pdev->memory, "%8.5f %8.5f %8.5f %8.5f CMYK %s\n",
c, m, y, k, code ? "ERROR" : "OK");
}
- else if (IS_LIBCTX_STDERR(pdev->memory, file)) {
+ else if (IS_LIBCTX_STDERR(pdev->memory, gp_get_file(file))) {
errprintf(pdev->memory, "%8.5f %8.5f %8.5f %8.5f CMYK %s\n",
c, m, y, k, code ? "ERROR" : "OK");
}
else {
- fprintf (file, "%8.5f %8.5f %8.5f %8.5f CMYK %s\n",
+ gp_fprintf (file, "%8.5f %8.5f %8.5f %8.5f CMYK %s\n",
c, m, y, k, code ? "ERROR" : "OK");
}
}
diff --git a/devices/gdevifno.c b/devices/gdevifno.c
index b880dffd2..31aa51460 100644
--- a/devices/gdevifno.c
+++ b/devices/gdevifno.c
@@ -46,7 +46,7 @@ struct Rectangle {
};
static const Point ZP = { 0, 0 };
-static WImage* initwriteimage(FILE *f, Rectangle r, int ldepth, gs_memory_t *mem);
+static WImage* initwriteimage(gp_file *f, Rectangle r, int ldepth, gs_memory_t *mem);
static int writeimageblock(WImage *w, uchar *data, int ndata, gs_memory_t *mem);
static int bytesperline(Rectangle, int);
static int rgb2cmap(int, int, int);
@@ -268,7 +268,7 @@ inferno_close(gx_device *dev)
* worry about that).
*/
static int
-inferno_print_page(gx_device_printer *pdev, FILE *f)
+inferno_print_page(gx_device_printer *pdev, gp_file *f)
{
uchar *buf;
uchar *p;
@@ -416,7 +416,7 @@ struct Dump {
};
struct WImage {
- FILE *f;
+ gp_file *f;
/* image attributes */
Rectangle origr, r;
@@ -470,8 +470,8 @@ addbuf(WImage *w, uchar *buf, int nbuf)
return ERROR;
}
n=w->loutp-w->outbuf;
- fprintf(w->f, "%11d %11d ", w->r.max.y, n);
- fwrite(w->outbuf, 1, n, w->f);
+ gp_fprintf(w->f, "%11d %11d ", w->r.max.y, n);
+ gp_fwrite(w->outbuf, 1, n, w->f);
w->r.min.y=w->r.max.y;
w->outp=w->outbuf;
w->loutp=w->outbuf;
@@ -663,7 +663,7 @@ shiftwindow(WImage *w, uchar *data, uchar *edata)
}
static WImage*
-initwriteimage(FILE *f, Rectangle r, int ldepth, gs_memory_t *mem)
+initwriteimage(gp_file *f, Rectangle r, int ldepth, gs_memory_t *mem)
{
WImage *w;
int n, bpl;
@@ -694,8 +694,8 @@ initwriteimage(FILE *f, Rectangle r, int ldepth, gs_memory_t *mem)
w->dump.ndump = 0;
zerohash(w);
- fprintf(f, "compressed\n%11d %11d %11d %11d %11d ",
- ldepth, r.min.x, r.min.y, r.max.x, r.max.y);
+ gp_fprintf(f, "compressed\n%11d %11d %11d %11d %11d ",
+ ldepth, r.min.x, r.min.y, r.max.x, r.max.y);
return w;
}
@@ -724,7 +724,7 @@ writeimageblock(WImage *w, uchar *data, int ndata, gs_memory_t *mem)
data = shiftwindow(w, data, edata);
}
if(data != edata) {
- fprintf(w->f, "data != edata. uh oh\n");
+ gp_fprintf(w->f, "data != edata. uh oh\n");
return ERROR; /* can't happen */
}
return 0;
diff --git a/devices/gdevijs.c b/devices/gdevijs.c
index f99c041ce..3d337c5d9 100644
--- a/devices/gdevijs.c
+++ b/devices/gdevijs.c
@@ -849,7 +849,12 @@ gsijs_open(gx_device *dev)
/* Note: dup() may not be portable to all interesting IJS
platforms. In that case, this branch should be #ifdef'ed out.
*/
- fd = dup(fileno(ijsdev->file));
+ FILE *file = gp_get_file(ijsdev->file);
+
+ if (file == NULL)
+ fd = -1;
+ else
+ fd = dup(fileno(file));
if (fd < 0) {
emprintf(ijsdev->memory, "dup() failed\n");
return gs_note_error(gs_error_ioerror);
diff --git a/devices/gdevimgn.c b/devices/gdevimgn.c
index 3935b645a..7340c8d4c 100644
--- a/devices/gdevimgn.c
+++ b/devices/gdevimgn.c
@@ -248,7 +248,7 @@ const gx_device_printer far_data gs_imagen_device =
/*-------------------------------------------*/
static void
-iWrite(FILE *Out, byte Val)
+iWrite(gp_file *Out, byte Val)
{ /* iWrite */
const char *hexList = "0123456789ABCDEF";
@@ -260,18 +260,18 @@ iWrite(FILE *Out, byte Val)
( Val == QUOTE_CHAR || Val == EOF_CHAR
|| Val == EXTRA_QUOTE1 || Val == EXTRA_QUOTE2
|| Val == EXTRA_QUOTE3 || Val == EXTRA_QUOTE4 ) ) {
- fputc (QUOTE_CHAR, Out);
- fputc ((char) hexList[Val / 0x10], Out);
- fputc ((char) hexList[Val % 0x10], Out);
+ gp_fputc (QUOTE_CHAR, Out);
+ gp_fputc ((char) hexList[Val / 0x10], Out);
+ gp_fputc ((char) hexList[Val % 0x10], Out);
} else { /* quoted char */
/* Not doing quoting, just send it out */
- fputc(Val, Out);
+ gp_fputc(Val, Out);
} /* quoted char */
} /* iWrite */
/* Write out 16bit, high byte first */
static void
-iWrite2(FILE *Out, int Val)
+iWrite2(gp_file *Out, int Val)
{ /* iWrite2 */
iWrite(Out,(byte) (Val >> 8) & 0x00FF );
iWrite(Out,(byte) Val & 0x00FF );
@@ -304,7 +304,7 @@ imagen_prn_open(gx_device *pdev)
impHeader = IMPRESSHEADER ;
} /* if impHeader */
- fprintf(ppdev->file,"@document(language impress, %s)",impHeader);
+ gp_fprintf(ppdev->file,"@document(language impress, %s)",impHeader);
code = gdev_prn_close_printer(pdev);
if ( code < 0 ) return code;
@@ -332,10 +332,10 @@ imagen_prn_close(gx_device *pdev)
/* And byte stream end of file */
if (BYTE_STREAM) {
/* DON'T use iWrite because actual EOF should not be quoted! */
- fputc(EOF_CHAR,ppdev->file);
+ gp_fputc(EOF_CHAR,ppdev->file);
} /* if byte stream */
- fflush(ppdev->file);
+ gp_fflush(ppdev->file);
code = gdev_prn_close_printer(pdev);
if ( code < 0 ) return code;
@@ -350,7 +350,7 @@ imagen_prn_close(gx_device *pdev)
/*-------------------------------------------*/
/* Send the page to the printer. */
static int
-imagen_print_page(gx_device_printer *pdev, FILE *prn_stream)
+imagen_print_page(gx_device_printer *pdev, gp_file *prn_stream)
{
int line_size = gdev_mem_bytes_per_scan_line((gx_device *)pdev);
const int align_size = obj_align_round((line_size/BIGSIZE)+1);
@@ -551,7 +551,7 @@ imagen_print_page(gx_device_printer *pdev, FILE *prn_stream)
/* Eject the page */
iWrite(prn_stream,iENDPAGE);
- fflush(prn_stream);
+ gp_fflush(prn_stream);
gs_free(pdev->memory, (char *)out, TotalBytesPerSw, swatchCount+1, "imagen_print_page(out)");
gs_free(pdev->memory, (char *)swatchMap, BIGSIZE, swatchCount / BIGSIZE + 1,
diff --git a/devices/gdevjbig2.c b/devices/gdevjbig2.c
index 443394db5..ce85aa2ca 100644
--- a/devices/gdevjbig2.c
+++ b/devices/gdevjbig2.c
@@ -51,7 +51,7 @@ prn_device(prn_bg_procs, "jbig2", /* The print_page proc is compatible with allo
/* Send the page to the file. */
static int
-jbig2_print_page(gx_device_printer * pdev, FILE * prn_stream)
+jbig2_print_page(gx_device_printer * pdev, gp_file * prn_stream)
{
gx_device_jbig2 *jdev = (gx_device_jbig2 *) pdev;
gs_memory_t *mem = jdev->memory;
diff --git a/devices/gdevjpeg.c b/devices/gdevjpeg.c
index 7ce6aac74..229e6ccb3 100644
--- a/devices/gdevjpeg.c
+++ b/devices/gdevjpeg.c
@@ -414,7 +414,7 @@ jpeg_get_initial_matrix(gx_device *dev, gs_matrix *pmat)
/* Send the page to the file. */
static int
-jpeg_print_page(gx_device_printer * pdev, FILE * prn_stream)
+jpeg_print_page(gx_device_printer * pdev, gp_file * prn_stream)
{
gx_device_jpeg *jdev = (gx_device_jpeg *) pdev;
gs_memory_t *mem = pdev->memory;
diff --git a/devices/gdevjpx.c b/devices/gdevjpx.c
index 60a9aaa56..0ba4e1a89 100644
--- a/devices/gdevjpx.c
+++ b/devices/gdevjpx.c
@@ -139,7 +139,7 @@ jpx_cmyk_map_cmyk_color(gx_device * dev, const gx_color_value cv[])
/* Send the page to the file. */
static int
-jpx_print_page(gx_device_printer * pdev, FILE * prn_stream)
+jpx_print_page(gx_device_printer * pdev, gp_file * prn_stream)
{
gx_device_jpx *jdev = (gx_device_jpx *) pdev;
gs_memory_t *mem = jdev->memory;
diff --git a/devices/gdevl31s.c b/devices/gdevl31s.c
index 8bacdd1b0..0871920ac 100644
--- a/devices/gdevl31s.c
+++ b/devices/gdevl31s.c
@@ -99,29 +99,29 @@ gx_device_printer far_data gs_lj3100sw_device =
#define BUFFERSIZE 0x1000
static void
-lj3100sw_output_section_header(FILE *prn_stream, int type, int arg1, int arg2)
+lj3100sw_output_section_header(gp_file *prn_stream, int type, int arg1, int arg2)
{
- fputc(type & 0xff, prn_stream);
- fputc(type >> 8 & 0xff, prn_stream);
- fputc(arg1 & 0xff, prn_stream);
- fputc(arg1 >> 8 & 0xff, prn_stream);
- fputc(arg2 & 0xff, prn_stream);
- fputc(arg2 >> 8 & 0xff, prn_stream);
+ gp_fputc(type & 0xff, prn_stream);
+ gp_fputc(type >> 8 & 0xff, prn_stream);
+ gp_fputc(arg1 & 0xff, prn_stream);
+ gp_fputc(arg1 >> 8 & 0xff, prn_stream);
+ gp_fputc(arg2 & 0xff, prn_stream);
+ gp_fputc(arg2 >> 8 & 0xff, prn_stream);
}
static void
-lj3100sw_flush_buffer(FILE *prn_stream, char *buffer, char **pptr)
+lj3100sw_flush_buffer(gp_file *prn_stream, char *buffer, char **pptr)
{
int size = *pptr - buffer;
if (size) {
lj3100sw_output_section_header(prn_stream, 0, size, 0);
- fwrite(buffer, 1, size, prn_stream);
+ gp_fwrite(buffer, 1, size, prn_stream);
*pptr = buffer;
}
}
static void
-lj3100sw_output_data_byte(FILE *prn_stream, char *buffer, char **pptr, int val)
+lj3100sw_output_data_byte(gp_file *prn_stream, char *buffer, char **pptr, int val)
{
if (*pptr >= buffer + BUFFERSIZE)
lj3100sw_flush_buffer(prn_stream, buffer, pptr);
@@ -129,7 +129,7 @@ lj3100sw_output_data_byte(FILE *prn_stream, char *buffer, char **pptr, int val)
}
static void
-lj3100sw_output_repeated_data_bytes(FILE *prn_stream, char *buffer, char **pptr, int val, int num)
+lj3100sw_output_repeated_data_bytes(gp_file *prn_stream, char *buffer, char **pptr, int val, int num)
{
int size;
while (num) {
@@ -143,7 +143,7 @@ lj3100sw_output_repeated_data_bytes(FILE *prn_stream, char *buffer, char **pptr,
}
static void
-lj3100sw_output_newline(FILE *prn_stream, char *buffer, char **pptr)
+lj3100sw_output_newline(gp_file *prn_stream, char *buffer, char **pptr)
{
lj3100sw_output_data_byte(prn_stream, buffer, pptr, 0);
lj3100sw_output_data_byte(prn_stream, buffer, pptr, 0);
@@ -151,7 +151,7 @@ lj3100sw_output_newline(FILE *prn_stream, char *buffer, char **pptr)
}
static void
-lj3100sw_output_empty_line(FILE *prn_stream, char *buffer, char **pptr, bool high_resolution)
+lj3100sw_output_empty_line(gp_file *prn_stream, char *buffer, char **pptr, bool high_resolution)
{
if (high_resolution) {
lj3100sw_output_data_byte(prn_stream, buffer, pptr, 0x80);
@@ -166,7 +166,7 @@ lj3100sw_output_empty_line(FILE *prn_stream, char *buffer, char **pptr, bool hig
}
static int
-lj3100sw_print_page_copies(gx_device_printer *pdev, FILE *prn_stream, int num_copies /* ignored */)
+lj3100sw_print_page_copies(gx_device_printer *pdev, gp_file *prn_stream, int num_copies /* ignored */)
{
int i, j;
char buffer[BUFFERSIZE], *ptr = buffer;
@@ -269,11 +269,11 @@ static int
lj3100sw_close(gx_device *pdev)
{
int i;
- FILE *prn_stream = ((gx_device_printer *)pdev)->file;
+ gp_file *prn_stream = ((gx_device_printer *)pdev)->file;
if (prn_stream) {
lj3100sw_output_section_header(prn_stream, 0, 4, 0);
- fputs("XX\r\n", prn_stream);
+ gp_fputs("XX\r\n", prn_stream);
for (i = 0; i < 4 * ppdev->NumCopies; i++)
lj3100sw_output_section_header(prn_stream, 54, 0, 0);
lj3100sw_output_section_header(prn_stream, 2, 0, 0);
diff --git a/devices/gdevlbp8.c b/devices/gdevlbp8.c
index 342c37298..b99e219bd 100644
--- a/devices/gdevlbp8.c
+++ b/devices/gdevlbp8.c
@@ -102,14 +102,14 @@ static const char lips3_end[] = {
/* Send the page to the printer. */
static int
-can_print_page(gx_device_printer *pdev, FILE *prn_stream,
+can_print_page(gx_device_printer *pdev, gp_file *prn_stream,
const char *init, int init_size, const char *end, int end_size)
{
char data[LINE_SIZE*2];
char *out_data;
int last_line_nro = 0;
- fwrite(init, init_size, 1, prn_stream); /* initialize */
+ gp_fwrite(init, init_size, 1, prn_stream); /* initialize */
/* Send each scan line in turn */
{
@@ -133,8 +133,8 @@ can_print_page(gx_device_printer *pdev, FILE *prn_stream,
out_data = data;
/* move down */
- fprintf(prn_stream, "%c[%de",
- ESC, lnum-last_line_nro );
+ gp_fprintf(prn_stream, "%c[%de",
+ ESC, lnum-last_line_nro );
last_line_nro = lnum;
while (out_data < end_data) {
@@ -170,15 +170,15 @@ can_print_page(gx_device_printer *pdev, FILE *prn_stream,
break;
/* move down and across*/
- fprintf(prn_stream, "%c[%d`",
- ESC, num_cols );
+ gp_fprintf(prn_stream, "%c[%d`",
+ ESC, num_cols );
/* transfer raster graphic command */
- fprintf(prn_stream, "%c[%d;%d;300;.r",
- ESC, out_count, out_count);
+ gp_fprintf(prn_stream, "%c[%d;%d;300;.r",
+ ESC, out_count, out_count);
/* send the row */
- fwrite(out_data, sizeof(char),
- out_count, prn_stream);
+ gp_fwrite(out_data, sizeof(char),
+ out_count, prn_stream);
out_data += out_count+zero_count;
num_cols += 8*(out_count+zero_count);
@@ -188,18 +188,18 @@ can_print_page(gx_device_printer *pdev, FILE *prn_stream,
}
/* eject page */
- fprintf(prn_stream, "%c=", ESC);
+ gp_fprintf(prn_stream, "%c=", ESC);
/* terminate */
if (end != NULL)
- (void)fwrite(end, end_size, 1, prn_stream);
+ (void)gp_fwrite(end, end_size, 1, prn_stream);
return 0;
}
/* Print an LBP-8 page. */
static int
-lbp8_print_page(gx_device_printer *pdev, FILE *prn_stream)
+lbp8_print_page(gx_device_printer *pdev, gp_file *prn_stream)
{
return can_print_page(pdev, prn_stream, lbp8_init, sizeof(lbp8_init),
NULL, 0);
@@ -208,7 +208,7 @@ lbp8_print_page(gx_device_printer *pdev, FILE *prn_stream)
#ifdef NOCONTRIB
/* Print a LIPS III page. */
static int
-lips3_print_page(gx_device_printer *pdev, FILE *prn_stream)
+lips3_print_page(gx_device_printer *pdev, gp_file *prn_stream)
{ return can_print_page(pdev, prn_stream, lips3_init, sizeof(lips3_init),
lips3_end, sizeof(lips3_end));
}
diff --git a/devices/gdevlj56.c b/devices/gdevlj56.c
index 68286ab3b..4a473e0dd 100644
--- a/devices/gdevlj56.c
+++ b/devices/gdevlj56.c
@@ -106,7 +106,7 @@ ljet5_close(gx_device * pdev)
/* Send the page to the printer. For now, just send the whole image. */
static int
-ljet5_print_page(gx_device_printer * pdev, FILE * prn_stream)
+ljet5_print_page(gx_device_printer * pdev, gp_file * prn_stream)
{
gs_memory_t *mem = pdev->memory;
uint line_size = gdev_mem_bytes_per_scan_line((gx_device *) pdev);
diff --git a/devices/gdevlp8k.c b/devices/gdevlp8k.c
index 3e10ebe4b..0a9bc03c8 100644
--- a/devices/gdevlp8k.c
+++ b/devices/gdevlp8k.c
@@ -177,7 +177,7 @@ gx_device_printer far_data gs_lp8000_device =
1, lp8000_print_page);
static int
-lp8000_print_page(gx_device_printer *pdev, FILE *prn_stream)
+lp8000_print_page(gx_device_printer *pdev, gp_file *prn_stream)
{
int line_size = gdev_mem_bytes_per_scan_line((gx_device *)pdev);
@@ -206,21 +206,21 @@ lp8000_print_page(gx_device_printer *pdev, FILE *prn_stream)
/* Initialize the printer */
- fwrite("\033\001@EJL \n",1,8,prn_stream);
- fwrite("@EJL EN LA=ESC/PAGE\n",1,20,prn_stream);
- fwrite("\035rhE\033\001@EJL \n",1,12,prn_stream);
- fwrite("@EJL SE LA=ESC/PAGE\n",1,20,prn_stream);
- fwrite("@EJL SET PU=1 PS=A4 ZO=OFF\n",1,27,prn_stream);
- fwrite("@EJL EN LA=ESC/PAGE\n",1,20,prn_stream);
- fwrite("\0350;0.24muE\0352;300;300drE",1,23,prn_stream);
- fwrite("\0350;300;300drE\0351tsE\0351mmE",1,23,prn_stream);
- fwrite("\0357isE\0355iaF\0355ipP\03514psE\0350poE",1,26,prn_stream);
- fwrite("\03560;60loE\0350X\0350Y",1,15,prn_stream);
- fwrite("\0350;0;2360;3388caE",1,17,prn_stream);
- fwrite("\0351cmE\0350alfP",1,11,prn_stream);
- fwrite("\0350affP\0350boP\0350abP",1,16,prn_stream);
- fwrite("\0354ilG\0350bcI\0350sarG",1,16,prn_stream);
- fwrite("\0351;0;100spE\0352owE",1,16,prn_stream);
+ gp_fwrite("\033\001@EJL \n",1,8,prn_stream);
+ gp_fwrite("@EJL EN LA=ESC/PAGE\n",1,20,prn_stream);
+ gp_fwrite("\035rhE\033\001@EJL \n",1,12,prn_stream);
+ gp_fwrite("@EJL SE LA=ESC/PAGE\n",1,20,prn_stream);
+ gp_fwrite("@EJL SET PU=1 PS=A4 ZO=OFF\n",1,27,prn_stream);
+ gp_fwrite("@EJL EN LA=ESC/PAGE\n",1,20,prn_stream);
+ gp_fwrite("\0350;0.24muE\0352;300;300drE",1,23,prn_stream);
+ gp_fwrite("\0350;300;300drE\0351tsE\0351mmE",1,23,prn_stream);
+ gp_fwrite("\0357isE\0355iaF\0355ipP\03514psE\0350poE",1,26,prn_stream);
+ gp_fwrite("\03560;60loE\0350X\0350Y",1,15,prn_stream);
+ gp_fwrite("\0350;0;2360;3388caE",1,17,prn_stream);
+ gp_fwrite("\0351cmE\0350alfP",1,11,prn_stream);
+ gp_fwrite("\0350affP\0350boP\0350abP",1,16,prn_stream);
+ gp_fwrite("\0354ilG\0350bcI\0350sarG",1,16,prn_stream);
+ gp_fwrite("\0351;0;100spE\0352owE",1,16,prn_stream);
/* Here the common part of the initialization string ends */
@@ -232,12 +232,12 @@ starting X value of the printer line.
left1 = (left1 >> 3) << 3;
left0 = left1;
- fwrite("\035",1,1,prn_stream);
- fprintf(prn_stream,"%d",left1);
- fwrite("X",1,1,prn_stream);
+ gp_fwrite("\035",1,1,prn_stream);
+ gp_fprintf(prn_stream,"%d",left1);
+ gp_fwrite("X",1,1,prn_stream);
/* Set the compressed data format */
- fwrite("\0353bcI",1,5,prn_stream);
+ gp_fwrite("\0353bcI",1,5,prn_stream);
top = T_MARGIN * pdev->y_pixels_per_inch;
bottom = pdev->height - B_MARGIN * pdev->y_pixels_per_inch;
@@ -347,24 +347,24 @@ if (p == (in_end - 1)) *outp++ = *p;
if (left2 != left0)
{
left0 = left2;
- fwrite("\035",1,1,prn_stream);
- fprintf(prn_stream,"%d",left2);
- fwrite("X",1,1,prn_stream);
+ gp_fwrite("\035",1,1,prn_stream);
+ gp_fprintf(prn_stream,"%d",left2);
+ gp_fwrite("X",1,1,prn_stream);
}
/* Output the data string to the printer.
Y coordinate of the printer equals (lnum - 60)
*/
- fwrite("\035",1,1,prn_stream);
- fprintf(prn_stream,"%d",lnum-60);
- fwrite("Y\035",1,2,prn_stream);
+ gp_fwrite("\035",1,1,prn_stream);
+ gp_fprintf(prn_stream,"%d",lnum-60);
+ gp_fwrite("Y\035",1,2,prn_stream);
report_size = outp - out;
- fprintf(prn_stream,"%d;",report_size);
+ gp_fprintf(prn_stream,"%d;",report_size);
report_size = (in_end - inp) << 3;
- fprintf(prn_stream,"%d;",report_size);
- fwrite("1;0bi{I",1,7,prn_stream);
- fwrite(out,1,(outp - out),prn_stream);
+ gp_fprintf(prn_stream,"%d;",report_size);
+ gp_fwrite("1;0bi{I",1,7,prn_stream);
+ gp_fwrite(out,1,(outp - out),prn_stream);
lnum++;
@@ -372,27 +372,27 @@ Y coordinate of the printer equals (lnum - 60)
/* Send the termination string */
- fwrite("\0350bcI",1,5,prn_stream);
- fwrite("\0351coO",1,5,prn_stream);
- fwrite("\035rhE",1,4,prn_stream);
-
- fwrite("\033\001@EJL \n",1,8,prn_stream);
- fwrite("@EJL SE LA=ESC/PAGE\n",1,20,prn_stream);
- fwrite("@EJL SET PU=1 PS=A4 ZO=OFF\n",1,27,prn_stream);
- fwrite("@EJL EN LA=ESC/PAGE\n",1,20,prn_stream);
- fwrite("\0350;0.24muE\0352;300;300drE",1,23,prn_stream);
- fwrite("\0350;300;300drE\0351tsE\0351mmE",1,23,prn_stream);
- fwrite("\0357isE\0355iaF\0355ipP\03514psE\0350poE",1,26,prn_stream);
- fwrite("\03560;60loE\0350X\0350Y",1,15,prn_stream);
- fwrite("\0350;0;2360;3388caE",1,17,prn_stream);
- fwrite("\0351cmE\0350alfP",1,11,prn_stream);
- fwrite("\0350affP\0350boP\0350abP",1,16,prn_stream);
- fwrite("\0354ilG\0350bcI\0350sarG",1,16,prn_stream);
- fwrite("\035rhE",1,4,prn_stream);
- fwrite("\033\001@EJL \n",1,8,prn_stream);
- fwrite("\033\001@EJL \n",1,8,prn_stream);
-
- fflush(prn_stream);
+ gp_fwrite("\0350bcI",1,5,prn_stream);
+ gp_fwrite("\0351coO",1,5,prn_stream);
+ gp_fwrite("\035rhE",1,4,prn_stream);
+
+ gp_fwrite("\033\001@EJL \n",1,8,prn_stream);
+ gp_fwrite("@EJL SE LA=ESC/PAGE\n",1,20,prn_stream);
+ gp_fwrite("@EJL SET PU=1 PS=A4 ZO=OFF\n",1,27,prn_stream);
+ gp_fwrite("@EJL EN LA=ESC/PAGE\n",1,20,prn_stream);
+ gp_fwrite("\0350;0.24muE\0352;300;300drE",1,23,prn_stream);
+ gp_fwrite("\0350;300;300drE\0351tsE\0351mmE",1,23,prn_stream);
+ gp_fwrite("\0357isE\0355iaF\0355ipP\03514psE\0350poE",1,26,prn_stream);
+ gp_fwrite("\03560;60loE\0350X\0350Y",1,15,prn_stream);
+ gp_fwrite("\0350;0;2360;3388caE",1,17,prn_stream);
+ gp_fwrite("\0351cmE\0350alfP",1,11,prn_stream);
+ gp_fwrite("\0350affP\0350boP\0350abP",1,16,prn_stream);
+ gp_fwrite("\0354ilG\0350bcI\0350sarG",1,16,prn_stream);
+ gp_fwrite("\035rhE",1,4,prn_stream);
+ gp_fwrite("\033\001@EJL \n",1,8,prn_stream);
+ gp_fwrite("\033\001@EJL \n",1,8,prn_stream);
+
+ gp_fflush(prn_stream);
gs_free(pdev->memory, (char *)buf2, in_size, 1, "lp8000_print_page(buf2)");
gs_free(pdev->memory, (char *)buf1, in_size, 1, "lp8000_print_page(buf1)");
diff --git a/devices/gdevlxm.c b/devices/gdevlxm.c
index 7edca55e7..f3135dcd9 100644
--- a/devices/gdevlxm.c
+++ b/devices/gdevlxm.c
@@ -124,7 +124,7 @@ lxm_device far_data gs_lxm5700m_device = {
#define fin() \
0x1b,'*', 7, 0x65 \
-#define outByte(b) putc(b, prn_stream)
+#define outByte(b) gp_fputc(b, prn_stream)
#define RIGHTWARD 0
#define LEFTWARD 1
@@ -141,7 +141,7 @@ lxm_device far_data gs_lxm5700m_device = {
/* Send the page to the printer. */
static int
-lxm5700m_print_page(gx_device_printer *pdev, FILE *prn_stream)
+lxm5700m_print_page(gx_device_printer *pdev, gp_file *prn_stream)
{
int lnum,minX, maxX, i, l, highestX, leastX, extent;
int direction = RIGHTWARD;
@@ -172,7 +172,7 @@ quit_ignomiously: /* and a goto into an if statement is pretty ignomious! */
init2(),
init3()
};
- fwrite(init_string, 1, sizeof(init_string), prn_stream);
+ gp_fwrite(init_string, 1, sizeof(init_string), prn_stream);
}
/* Print lines of graphics */
for (lnum=0; lnum < pdev->height-swipeHeight ; ) { /* increment in body */
@@ -335,7 +335,7 @@ quit_ignomiously: /* and a goto into an if statement is pretty ignomious! */
outByte(0x22); outByte(0x33); outByte(0x44);
outByte(0x55); outByte(1);
/* put out bytes */
- fwrite(swipeBuf,1,outp-swipeBuf,prn_stream);
+ gp_fwrite(swipeBuf,1,outp-swipeBuf,prn_stream);
}
lnum += overLap;
direction ^= 1;
@@ -351,9 +351,9 @@ quit_ignomiously: /* and a goto into an if statement is pretty ignomious! */
top(),
fin() */
};
- fwrite(bottom, 1, sizeof(bottom), prn_stream);
+ gp_fwrite(bottom, 1, sizeof(bottom), prn_stream);
}
- fflush(prn_stream);
+ gp_fflush(prn_stream);
gs_free(pdev->memory, (char *)swipeBuf, swipeBuf_size, 1, "lxm_print_page(swipeBuf)");
gs_free(pdev->memory, (char *)buf1, in_size, 1, "lxm_print_page(buf1)");
diff --git a/devices/gdevmgr.c b/devices/gdevmgr.c
index b853c2c29..6f1f8d543 100644
--- a/devices/gdevmgr.c
+++ b/devices/gdevmgr.c
@@ -106,7 +106,7 @@ typedef struct mgr_cursor_s {
/* Begin an MGR output page. */
/* Write the header information and initialize the cursor. */
static int
-mgr_begin_page(gx_device_mgr *bdev, FILE *pstream, mgr_cursor *pcur)
+mgr_begin_page(gx_device_mgr *bdev, gp_file *pstream, mgr_cursor *pcur)
{ struct b_header head;
uint line_size =
gdev_prn_raster((gx_device_printer *)bdev) + 3;
@@ -117,10 +117,10 @@ mgr_begin_page(gx_device_mgr *bdev, FILE *pstream, mgr_cursor *pcur)
/* Write the header */
B_PUTHDR8(&head, bdev->width, bdev->height, bdev->mgr_depth);
- fprintf(pstream, "");
- if ( fwrite(&head, 1, sizeof(head), pstream) < sizeof(head) )
+ gp_fprintf(pstream, "");
+ if ( gp_fwrite(&head, 1, sizeof(head), pstream) < sizeof(head) )
return_error(gs_error_ioerror);
- fflush(pstream);
+ gp_fflush(pstream);
/* Initialize the cursor. */
pcur->dev = bdev;
@@ -151,7 +151,7 @@ mgr_next_row(mgr_cursor *pcur)
/* Print a monochrome page. */
static int
-mgr_print_page(gx_device_printer *pdev, FILE *pstream)
+mgr_print_page(gx_device_printer *pdev, gp_file *pstream)
{ mgr_cursor cur;
int mgr_wide;
int code = mgr_begin_page(bdev, pstream, &cur);
@@ -162,7 +162,7 @@ mgr_print_page(gx_device_printer *pdev, FILE *pstream)
mgr_wide += 8 - (mgr_wide & 7);
while ( !(code = mgr_next_row(&cur)) )
- { if ( fwrite(cur.data, sizeof(char), mgr_wide / 8, pstream) <
+ { if ( gp_fwrite(cur.data, sizeof(char), mgr_wide / 8, pstream) <
mgr_wide / 8)
return_error(gs_error_ioerror);
}
@@ -171,7 +171,7 @@ mgr_print_page(gx_device_printer *pdev, FILE *pstream)
/* Print a gray-mapped page. */
static int
-mgrN_print_page(gx_device_printer *pdev, FILE *pstream)
+mgrN_print_page(gx_device_printer *pdev, gp_file *pstream)
{ mgr_cursor cur;
int i = 0, j, k, mgr_wide;
uint mgr_line_size;
@@ -223,7 +223,7 @@ mgrN_print_page(gx_device_printer *pdev, FILE *pstream)
*dp |= (*(bp++) & 0xc0) >> 4;
*(dp++) |= (*(bp++) & 0xc0) >> 6;
}
- if ( fwrite(data, sizeof(byte), mgr_line_size, pstream) < mgr_line_size )
+ if ( gp_fwrite(data, sizeof(byte), mgr_line_size, pstream) < mgr_line_size )
return_error(gs_error_ioerror);
break;
@@ -232,14 +232,14 @@ mgrN_print_page(gx_device_printer *pdev, FILE *pstream)
*dp = mgr->bgreybacktable[*(bp++) >> 4] << 4;
*(dp++) |= mgr->bgreybacktable[*(bp++) >> 4];
}
- if ( fwrite(data, sizeof(byte), mgr_line_size, pstream) < mgr_line_size )
+ if ( gp_fwrite(data, sizeof(byte), mgr_line_size, pstream) < mgr_line_size )
return_error(gs_error_ioerror);
break;
case 8:
for (i = 0,bp = cur.data; i < mgr_line_size; i++, bp++)
*bp = mgr->bgrey256backtable[*bp];
- if ( fwrite(cur.data, sizeof(cur.data[0]), mgr_line_size, pstream)
+ if ( gp_fwrite(cur.data, sizeof(cur.data[0]), mgr_line_size, pstream)
< mgr_line_size )
return_error(gs_error_ioerror);
break;
@@ -269,14 +269,14 @@ mgrN_print_page(gx_device_printer *pdev, FILE *pstream)
#if !ARCH_IS_BIG_ENDIAN
swap_bwords( (unsigned char *) mgr->clut, sizeof( struct nclut ) * i );
#endif
- if ( fwrite(&mgr->clut, sizeof(struct nclut), i, pstream) < i )
+ if ( gp_fwrite(&mgr->clut, sizeof(struct nclut), i, pstream) < i )
return_error(gs_error_ioerror);
return (code < 0 ? code : 0);
}
/* Print a color page. */
static int
-cmgrN_print_page(gx_device_printer *pdev, FILE *pstream)
+cmgrN_print_page(gx_device_printer *pdev, gp_file *pstream)
{ mgr_cursor cur;
int i = 0, j, mgr_wide, r, g, b, colors8 = 0;
uint mgr_line_size;
@@ -320,14 +320,14 @@ cmgrN_print_page(gx_device_printer *pdev, FILE *pstream)
*dp = *(bp++) << 4;
*(dp++) |= *(bp++) & 0x0f;
}
- if ( fwrite(data, sizeof(byte), mgr_line_size, pstream) < mgr_line_size )
+ if ( gp_fwrite(data, sizeof(byte), mgr_line_size, pstream) < mgr_line_size )
return_error(gs_error_ioerror);
break;
case 8:
for (i = 0,bp = cur.data; i < mgr_line_size; i++, bp++)
*bp = backtable[*bp] + MGR_RESERVEDCOLORS;
- if ( fwrite(cur.data, sizeof(cur.data[0]), mgr_line_size, pstream) < mgr_line_size )
+ if ( gp_fwrite(cur.data, sizeof(cur.data[0]), mgr_line_size, pstream) < mgr_line_size )
return_error(gs_error_ioerror);
break;
}
@@ -356,7 +356,7 @@ cmgrN_print_page(gx_device_printer *pdev, FILE *pstream)
#if !ARCH_IS_BIG_ENDIAN
swap_bwords( (unsigned char *) mgr->clut, sizeof( struct nclut ) * i );
#endif
- if ( fwrite(&mgr->clut, sizeof(struct nclut), i, pstream) < i )
+ if ( gp_fwrite(&mgr->clut, sizeof(struct nclut), i, pstream) < i )
return_error(gs_error_ioerror);
return (code < 0 ? code : 0);
}
diff --git a/devices/gdevmiff.c b/devices/gdevmiff.c
index 2e4fac627..ed45474d5 100644
--- a/devices/gdevmiff.c
+++ b/devices/gdevmiff.c
@@ -39,7 +39,7 @@ prn_device(miff24_procs, "miff24",
/* Print one page in 24-bit RLE direct color format. */
static int
-miff24_print_page(gx_device_printer * pdev, FILE * file)
+miff24_print_page(gx_device_printer * pdev, gp_file * file)
{
int raster = gx_device_raster((gx_device *) pdev, true);
byte *line = gs_alloc_bytes(pdev->memory, raster, "miff line buffer");
@@ -48,12 +48,12 @@ miff24_print_page(gx_device_printer * pdev, FILE * file)
if (line == 0) /* can't allocate line buffer */
return_error(gs_error_VMerror);
- fputs("id=ImageMagick\n", file);
- fputs("class=DirectClass\n", file);
- fprintf(file, "columns=%d\n", pdev->width);
- fputs("compression=RunlengthEncoded\n", file);
- fprintf(file, "rows=%d\n", pdev->height);
- fputs(":\n", file);
+ gp_fputs("id=ImageMagick\n", file);
+ gp_fputs("class=DirectClass\n", file);
+ gp_fprintf(file, "columns=%d\n", pdev->width);
+ gp_fputs("compression=RunlengthEncoded\n", file);
+ gp_fprintf(file, "rows=%d\n", pdev->height);
+ gp_fputs(":\n", file);
for (y = 0; y < pdev->height; ++y) {
byte *row;
byte *end;
@@ -70,10 +70,10 @@ miff24_print_page(gx_device_printer * pdev, FILE * file)
row[2] == row[5]
)
++count, row += 3;
- putc(row[0], file);
- putc(row[1], file);
- putc(row[2], file);
- putc(count, file);
+ gp_fputc(row[0], file);
+ gp_fputc(row[1], file);
+ gp_fputc(row[2], file);
+ gp_fputc(count, file);
row += 3;
}
}
diff --git a/devices/gdevn533.c b/devices/gdevn533.c
index 289a14423..5130bd38e 100644
--- a/devices/gdevn533.c
+++ b/devices/gdevn533.c
@@ -161,7 +161,7 @@ nwp533_close(gx_device *dev)
/* Send the page to the printer. */
static int
-nwp533_print_page(gx_device_printer *dev, FILE *prn_stream)
+nwp533_print_page(gx_device_printer *dev, gp_file *prn_stream)
{
int lnum;
int line_size = gdev_mem_bytes_per_scan_line(dev);
diff --git a/devices/gdevo182.c b/devices/gdevo182.c
index 4dc155f53..713596a0f 100644
--- a/devices/gdevo182.c
+++ b/devices/gdevo182.c
@@ -179,7 +179,7 @@ oki_compress(byte *in, int origWidth, int highRes,
/* Send the page to the printer. */
static int
-oki_print_page(gx_device_printer *pdev, FILE *prn_stream)
+oki_print_page(gx_device_printer *pdev, gp_file *prn_stream)
{
int highRes = pdev->y_pixels_per_inch > 100;
int bits_per_column = 7;
@@ -206,10 +206,10 @@ oki_print_page(gx_device_printer *pdev, FILE *prn_stream)
/* Initialize the printer. */
/* CAN; 72x72; left margin = 001; disable skip over perforation */
- fwrite("\030\034\033%C001\033%S0", 1, 12, prn_stream);
+ gp_fwrite("\030\034\033%C001\033%S0", 1, 12, prn_stream);
if (highRes) {
- fwrite("\033R", 1, 2, prn_stream);
+ gp_fwrite("\033R", 1, 2, prn_stream);
bits_per_column = 14;
}
@@ -234,11 +234,11 @@ oki_print_page(gx_device_printer *pdev, FILE *prn_stream)
/* use fine line feed to get to the appropriate position. */
while ( skip > 127 ) {
- fputs("\033%5\177", prn_stream);
+ gp_fputs("\033%5\177", prn_stream);
skip -= 127;
}
if ( skip )
- fprintf(prn_stream, "\033%%5%c",
+ gp_fprintf(prn_stream, "\033%%5%c",
(char) (skip & 0xff));
skip = 0;
@@ -266,31 +266,31 @@ oki_print_page(gx_device_printer *pdev, FILE *prn_stream)
&spaces, &width);
for (i=0; i < spaces; i++)
- putc(' ', prn_stream);
+ gp_fputc(' ', prn_stream);
- fwrite("\003", 1, 1, prn_stream);
- fwrite(out3, 1, width, prn_stream);
+ gp_fwrite("\003", 1, 1, prn_stream);
+ gp_fwrite(out3, 1, width, prn_stream);
if (highRes) {
/* exit graphics; carriage return; 1 bit line feed */
- fprintf(prn_stream, "\003\002\015\033%%5%c", (char) 1);
+ gp_fprintf(prn_stream, "\003\002\015\033%%5%c", (char) 1);
out3 = oki_compress(out2, pdev->width, highRes,
&spaces, &width);
for (i=0; i < spaces; i++)
- putc(' ', prn_stream);
- fwrite("\003", 1, 1, prn_stream);
- fwrite(out3, 1, width, prn_stream);
- fprintf(prn_stream, "\003\002\015\033%%5%c", (char) 13);
+ gp_fputc(' ', prn_stream);
+ gp_fwrite("\003", 1, 1, prn_stream);
+ gp_fwrite(out3, 1, width, prn_stream);
+ gp_fprintf(prn_stream, "\003\002\015\033%%5%c", (char) 13);
} else
- fwrite("\003\016\003\002", 1, 4, prn_stream);
+ gp_fwrite("\003\016\003\002", 1, 4, prn_stream);
lnum += bits_per_column;
}
/* Eject the page */
xit:
- fputc(014, prn_stream); /* form feed */
- fflush(prn_stream);
+ gp_fputc(014, prn_stream); /* form feed */
+ gp_fflush(prn_stream);
bail:
if ( out1 != 0 )
diff --git a/devices/gdevokii.c b/devices/gdevokii.c
index cb827da43..d8929a22c 100644
--- a/devices/gdevokii.c
+++ b/devices/gdevokii.c
@@ -83,11 +83,11 @@ const gx_device_printer far_data gs_okiibm_device =
/* ------ Internal routines ------ */
/* Forward references */
-static void okiibm_output_run(byte *, int, int, char, FILE *, int);
+static void okiibm_output_run(byte *, int, int, char, gp_file *, int);
/* Send the page to the printer. */
static int
-okiibm_print_page1(gx_device_printer *pdev, FILE *prn_stream, int y_9pin_high,
+okiibm_print_page1(gx_device_printer *pdev, gp_file *prn_stream, int y_9pin_high,
const char *init_string, int init_length,
const char *end_string, int end_length)
{
@@ -123,7 +123,7 @@ okiibm_print_page1(gx_device_printer *pdev, FILE *prn_stream, int y_9pin_high,
}
/* Initialize the printer. */
- fwrite(init_string, 1, init_length, prn_stream);
+ gp_fwrite(init_string, 1, init_length, prn_stream);
/* Print lines of graphics */
while ( lnum < pdev->height )
@@ -155,19 +155,19 @@ okiibm_print_page1(gx_device_printer *pdev, FILE *prn_stream, int y_9pin_high,
if ( skip & 1 )
{
int n = 1 + (y_step == 0 ? 1 : 0);
- fprintf(prn_stream, "\033J%c", n);
+ gp_fprintf(prn_stream, "\033J%c", n);
y_step = (y_step + n) % 3;
skip -= 1;
}
skip = skip / 2 * 3;
while ( skip > 255 )
{
- fputs("\033J\377", prn_stream);
+ gp_fputs("\033J\377", prn_stream);
skip -= 255;
}
if ( skip )
{
- fprintf(prn_stream, "\033J%c", skip);
+ gp_fprintf(prn_stream, "\033J%c", skip);
}
/* Copy the the scan lines. */
@@ -229,12 +229,12 @@ okiibm_print_page1(gx_device_printer *pdev, FILE *prn_stream, int y_9pin_high,
out_y_mult, start_graphics,
prn_stream, pass);
}
- fputc('\r', prn_stream);
+ gp_fputc('\r', prn_stream);
}
if ( ypass < y_passes - 1 )
{
int n = 1 + (y_step == 0 ? 1 : 0);
- fprintf(prn_stream, "\033J%c", n);
+ gp_fprintf(prn_stream, "\033J%c", n);
y_step = (y_step + n) % 3;
}
}
@@ -243,8 +243,8 @@ okiibm_print_page1(gx_device_printer *pdev, FILE *prn_stream, int y_9pin_high,
}
/* Reinitialize the printer. */
- fwrite(end_string, 1, end_length, prn_stream);
- fflush(prn_stream);
+ gp_fwrite(end_string, 1, end_length, prn_stream);
+ gp_fflush(prn_stream);
gs_free(pdev->memory, (char *)buf2, in_size, 1, "okiibm_print_page(buf2)");
gs_free(pdev->memory, (char *)buf1, in_size, 1, "okiibm_print_page(buf1)");
@@ -255,17 +255,17 @@ okiibm_print_page1(gx_device_printer *pdev, FILE *prn_stream, int y_9pin_high,
/* pass=0 for all columns, 1 for even columns, 2 for odd columns. */
static void
okiibm_output_run(byte *data, int count, int y_mult,
- char start_graphics, FILE *prn_stream, int pass)
+ char start_graphics, gp_file *prn_stream, int pass)
{
int xcount = count / y_mult;
- fputc(033, prn_stream);
- fputc((int)("KLYZ"[(int)start_graphics]), prn_stream);
- fputc(xcount & 0xff, prn_stream);
- fputc(xcount >> 8, prn_stream);
+ gp_fputc(033, prn_stream);
+ gp_fputc((int)("KLYZ"[(int)start_graphics]), prn_stream);
+ gp_fputc(xcount & 0xff, prn_stream);
+ gp_fputc(xcount >> 8, prn_stream);
if ( !pass )
{
- fwrite(data, 1, count, prn_stream);
+ gp_fwrite(data, 1, count, prn_stream);
}
else
{
@@ -278,7 +278,7 @@ okiibm_output_run(byte *data, int count, int y_mult,
{
for ( j = 0; j < y_mult; j++, dp++ )
{
- putc(((which & 1) ? *dp : 0), prn_stream);
+ gp_fputc(((which & 1) ? *dp : 0), prn_stream);
}
}
}
@@ -292,7 +292,7 @@ static const char okiibm_one_direct[] = { 0x1b, 0x55, 0x01 };
static const char okiibm_two_direct[] = { 0x1b, 0x55, 0x00 };
static int
-okiibm_print_page(gx_device_printer *pdev, FILE *prn_stream)
+okiibm_print_page(gx_device_printer *pdev, gp_file *prn_stream)
{
char init_string[16], end_string[16];
int init_length, end_length;
diff --git a/devices/gdevpbm.c b/devices/gdevpbm.c
index 80f56f8cf..647349ed3 100644
--- a/devices/gdevpbm.c
+++ b/devices/gdevpbm.c
@@ -638,15 +638,15 @@ pnm_begin_typed_image(gx_device *dev,
/* ------ Internal routines ------ */
/* NOP row processing function used when no output */
-static int nop_row_proc(gx_device_printer *pdev, byte *data, int len, FILE *f)
+static int nop_row_proc(gx_device_printer *pdev, byte *data, int len, gp_file *f)
{
return 0;
}
/* Print a page using a given row printing routine. */
static int
-pbm_print_page_loop(gx_device_printer * pdev, char magic, FILE * pstream,
- int (*row_proc) (gx_device_printer *, byte *, int, FILE *))
+pbm_print_page_loop(gx_device_printer * pdev, char magic, gp_file * pstream,
+ int (*row_proc) (gx_device_printer *, byte *, int, gp_file *))
{
gx_device_pbm * const bdev = (gx_device_pbm *)pdev;
uint raster = gdev_prn_raster_chunky(pdev);
@@ -661,72 +661,72 @@ pbm_print_page_loop(gx_device_printer * pdev, char magic, FILE * pstream,
if (!output_is_nul) {
/* Hack. This should be done in the callers. */
if (magic == '9') {
- if (fprintf(pstream, "%11d %11d %11d %11d %11d ",
+ if (gp_fprintf(pstream, "%11d %11d %11d %11d %11d ",
0, 0, 0, pdev->width, pdev->height) < 0) {
code = gs_note_error(gs_error_ioerror);
goto punt;
}
} else if (magic == '7') {
int ncomps = pdev->color_info.num_components;
- if (fprintf(pstream, "P%c\n", magic) < 0) {
+ if (gp_fprintf(pstream, "P%c\n", magic) < 0) {
code = gs_note_error(gs_error_ioerror);
goto punt;
}
- if (fprintf(pstream, "WIDTH %d\n", pdev->width) < 0) {
+ if (gp_fprintf(pstream, "WIDTH %d\n", pdev->width) < 0) {
code = gs_note_error(gs_error_ioerror);
goto punt;
}
- if (fprintf(pstream, "HEIGHT %d\n", pdev->height) < 0) {
+ if (gp_fprintf(pstream, "HEIGHT %d\n", pdev->height) < 0) {
code = gs_note_error(gs_error_ioerror);
goto punt;
}
- if (fprintf(pstream, "DEPTH %d\n", ncomps) < 0) {
+ if (gp_fprintf(pstream, "DEPTH %d\n", ncomps) < 0) {
code = gs_note_error(gs_error_ioerror);
goto punt;
}
- if (fprintf(pstream, "MAXVAL %d\n", 255) < 0) { /* force MAXVAL to 255 */
+ if (gp_fprintf(pstream, "MAXVAL %d\n", 255) < 0) { /* force MAXVAL to 255 */
code = gs_note_error(gs_error_ioerror);
goto punt;
}
- if (fprintf(pstream, "TUPLTYPE %s\n",
+ if (gp_fprintf(pstream, "TUPLTYPE %s\n",
(ncomps == 4) ? "CMYK" :
((ncomps == 3) ? "RGB" : "GRAYSCALE")) < 0) {
code = gs_note_error(gs_error_ioerror);
goto punt;
}
if (bdev->comment[0]) {
- if (fprintf(pstream, "# %s\n", bdev->comment) < 0) {
+ if (gp_fprintf(pstream, "# %s\n", bdev->comment) < 0) {
code = gs_note_error(gs_error_ioerror);
goto punt;
}
} else {
- if (fprintf(pstream, "# Image generated by %s\n", gs_product) < 0) {
+ if (gp_fprintf(pstream, "# Image generated by %s\n", gs_product) < 0) {
code = gs_note_error(gs_error_ioerror);
goto punt;
}
}
- if (fprintf(pstream, "ENDHDR\n") < 0) {
+ if (gp_fprintf(pstream, "ENDHDR\n") < 0) {
code = gs_note_error(gs_error_ioerror);
goto punt;
}
} else {
- if (fprintf(pstream, "P%c\n", magic) < 0) {
+ if (gp_fprintf(pstream, "P%c\n", magic) < 0) {
code = gs_note_error(gs_error_ioerror);
goto punt;
}
if (bdev->comment[0]) {
- if (fprintf(pstream, "# %s\n", bdev->comment) < 0) {
+ if (gp_fprintf(pstream, "# %s\n", bdev->comment) < 0) {
code = gs_note_error(gs_error_ioerror);
goto punt;
}
} else {
- if (fprintf(pstream, "# Image generated by %s (device=%s)\n",
+ if (gp_fprintf(pstream, "# Image generated by %s (device=%s)\n",
gs_product, pdev->dname) < 0) {
code = gs_note_error(gs_error_ioerror);
goto punt;
}
}
- if (fprintf(pstream, "%d %d\n", pdev->width, pdev->height) < 0) {
+ if (gp_fprintf(pstream, "%d %d\n", pdev->width, pdev->height) < 0) {
code = gs_note_error(gs_error_ioerror);
goto punt;
}
@@ -739,13 +739,13 @@ pbm_print_page_loop(gx_device_printer * pdev, char magic, FILE * pstream,
break;
case '3': /* pkm */
case '6': /* pkmraw */
- if (fprintf(pstream, "%d\n", 255) < 0) {
+ if (gp_fprintf(pstream, "%d\n", 255) < 0) {
code = gs_note_error(gs_error_ioerror);
goto punt;
}
break;
default:
- if (fprintf(pstream, "%d\n", pdev->color_info.max_gray) < 0) {
+ if (gp_fprintf(pstream, "%d\n", pdev->color_info.max_gray) < 0) {
code = gs_note_error(gs_error_ioerror);
goto punt;
}
@@ -773,24 +773,24 @@ pbm_print_page_loop(gx_device_printer * pdev, char magic, FILE * pstream,
/* Print a monobit page. */
static int
pbm_print_row(gx_device_printer * pdev, byte * data, int depth,
- FILE * pstream)
+ gp_file * pstream)
{
gx_device_pbm * const bdev = (gx_device_pbm *)pdev;
if (bdev->is_raw) {
uint n = (pdev->width + 7) >> 3;
- if (fwrite(data, 1, n, pstream) != n)
+ if (gp_fwrite(data, 1, n, pstream) != n)
return_error(gs_error_ioerror);
} else {
byte *bp;
uint x, mask;
for (bp = data, x = 0, mask = 0x80; x < pdev->width;) {
- if (putc((*bp & mask ? '1' : '0'), pstream) == EOF)
+ if (gp_fputc((*bp & mask ? '1' : '0'), pstream) == EOF)
return_error(gs_error_ioerror);
if (++x == pdev->width || !(x & 63)) {
- if (putc('\n', pstream) == EOF)
+ if (gp_fputc('\n', pstream) == EOF)
return_error(gs_error_ioerror);
}
if ((mask >>= 1) == 0)
@@ -800,7 +800,7 @@ pbm_print_row(gx_device_printer * pdev, byte * data, int depth,
return 0;
}
static int
-pbm_print_page(gx_device_printer * pdev, FILE * pstream)
+pbm_print_page(gx_device_printer * pdev, gp_file * pstream)
{
gx_device_pbm * const bdev = (gx_device_pbm *)pdev;
@@ -810,7 +810,7 @@ pbm_print_page(gx_device_printer * pdev, FILE * pstream)
/* Print a gray-mapped page. */
static int
pgm_print_row(gx_device_printer * pdev, byte * data, int depth,
- FILE * pstream)
+ gp_file * pstream)
{ /* Note that bpp <= 8 for raw format, bpp <= 16 for plain. */
gx_device_pbm * const bdev = (gx_device_pbm *)pdev;
uint mask = (1 << depth) - 1;
@@ -826,11 +826,11 @@ pgm_print_row(gx_device_printer * pdev, byte * data, int depth,
if (bdev->is_raw && depth == 8) {
if (invert) {
for (bp = data, x = 0; x < pdev->width; bp++, x++) {
- if (putc((byte)~*bp, pstream) == EOF)
+ if (gp_fputc((byte)~*bp, pstream) == EOF)
return_error(gs_error_ioerror);
}
} else {
- if (fwrite(data, 1, pdev->width, pstream) != pdev->width)
+ if (gp_fwrite(data, 1, pdev->width, pstream) != pdev->width)
return_error(gs_error_ioerror);
}
} else
@@ -848,10 +848,10 @@ pgm_print_row(gx_device_printer * pdev, byte * data, int depth,
++x;
pixel ^= invert;
if (bdev->is_raw) {
- if (putc(pixel, pstream) == EOF)
+ if (gp_fputc(pixel, pstream) == EOF)
return_error(gs_error_ioerror);
} else {
- if (fprintf(pstream, "%d%c", pixel,
+ if (gp_fprintf(pstream, "%d%c", pixel,
(x == pdev->width || !(x & 15) ? '\n' : ' ')) < 0)
return_error(gs_error_ioerror);
}
@@ -860,7 +860,7 @@ pgm_print_row(gx_device_printer * pdev, byte * data, int depth,
}
static int
pxm_pbm_print_row(gx_device_printer * pdev, byte * data, int depth,
- FILE * pstream)
+ gp_file * pstream)
{ /* Compress a PGM or PPM row to a PBM row. */
/* This doesn't have to be very fast. */
/* Note that we have to invert the data as well. */
@@ -903,7 +903,7 @@ pxm_pbm_print_row(gx_device_printer * pdev, byte * data, int depth,
return pbm_print_row(pdev, data, 1, pstream);
}
static int
-pgm_print_page(gx_device_printer * pdev, FILE * pstream)
+pgm_print_page(gx_device_printer * pdev, gp_file * pstream)
{
gx_device_pbm * const bdev = (gx_device_pbm *)pdev;
@@ -917,7 +917,7 @@ pgm_print_page(gx_device_printer * pdev, FILE * pstream)
/* Print a color-mapped page. */
static int
ppgm_print_row(gx_device_printer * pdev, byte * data, int depth,
- FILE * pstream, bool color)
+ gp_file * pstream, bool color)
{ /* If color=false, write only one value per pixel; */
/* if color=true, write 3 values per pixel. */
/* Note that depth <= 24 for raw format, depth <= 32 for plain. */
@@ -932,7 +932,7 @@ ppgm_print_row(gx_device_printer * pdev, byte * data, int depth,
if (bdev->is_raw && depth == 24 && color) {
uint n = pdev->width * (depth / 8);
- if (fwrite(data, 1, n, pstream) != n)
+ if (gp_fwrite(data, 1, n, pstream) != n)
return_error(gs_error_ioerror);
} else {
for (bp = data, x = 0, shift = 8 - depth; x < pdev->width;) {
@@ -970,19 +970,19 @@ ppgm_print_row(gx_device_printer * pdev, byte * data, int depth,
r = pixel & mask;
if (bdev->is_raw) {
if (color) {
- if (putc(r, pstream) == EOF)
+ if (gp_fputc(r, pstream) == EOF)
return_error(gs_error_ioerror);
- if (putc(g, pstream) == EOF)
+ if (gp_fputc(g, pstream) == EOF)
return_error(gs_error_ioerror);
}
- if (putc(b, pstream) == EOF)
+ if (gp_fputc(b, pstream) == EOF)
return_error(gs_error_ioerror);
} else {
if (color) {
- if (fprintf(pstream, "%d %d ", r, g) < 0)
+ if (gp_fprintf(pstream, "%d %d ", r, g) < 0)
return_error(gs_error_ioerror);
}
- if (fprintf(pstream, "%d%c", b,
+ if (gp_fprintf(pstream, "%d%c", b,
(x == pdev->width || !(x & eol_mask) ?
'\n' : ' ')) < 0)
return_error(gs_error_ioerror);
@@ -993,18 +993,18 @@ ppgm_print_row(gx_device_printer * pdev, byte * data, int depth,
}
static int
ppm_print_row(gx_device_printer * pdev, byte * data, int depth,
- FILE * pstream)
+ gp_file * pstream)
{
return ppgm_print_row(pdev, data, depth, pstream, true);
}
static int
ppm_pgm_print_row(gx_device_printer * pdev, byte * data, int depth,
- FILE * pstream)
+ gp_file * pstream)
{
return ppgm_print_row(pdev, data, depth, pstream, false);
}
static int
-ppm_print_page(gx_device_printer * pdev, FILE * pstream)
+ppm_print_page(gx_device_printer * pdev, gp_file * pstream)
{
gx_device_pbm * const bdev = (gx_device_pbm *)pdev;
@@ -1020,19 +1020,19 @@ ppm_print_page(gx_device_printer * pdev, FILE * pstream)
static int
pam_print_row(gx_device_printer * pdev, byte * data, int depth,
- FILE * pstream)
+ gp_file * pstream)
{
if (depth == 32) {
uint n = pdev->width * (depth / 8);
- if (fwrite(data, 1, n, pstream) != n)
+ if (gp_fwrite(data, 1, n, pstream) != n)
return_error(gs_error_ioerror);
}
return 0;
}
static int
-pam_print_page(gx_device_printer * pdev, FILE * pstream)
+pam_print_page(gx_device_printer * pdev, gp_file * pstream)
{
gx_device_pbm * const bdev = (gx_device_pbm *)pdev;
@@ -1041,7 +1041,7 @@ pam_print_page(gx_device_printer * pdev, FILE * pstream)
}
static int
-pnmcmyk_print_page(gx_device_printer *pdev, FILE *pstream)
+pnmcmyk_print_page(gx_device_printer *pdev, gp_file *pstream)
{
if (pdev->icc_struct->graydetection == true && pdev->icc_struct->pageneutralcolor == true) {
/* Here we need to convert the data from CMYK to K (gray) then print */
@@ -1052,30 +1052,30 @@ pnmcmyk_print_page(gx_device_printer *pdev, FILE *pstream)
int code = 0;
int output_is_nul = !strncmp(pdev->fname, "nul:", min(strlen(pdev->fname), 4)) ||
!strncmp(pdev->fname, "/dev/null", min(strlen(pdev->fname), 9));
- int (*row_proc) (gx_device_printer *, byte *, int, FILE *);
+ int (*row_proc) (gx_device_printer *, byte *, int, gp_file *);
if (!output_is_nul) {
- if (fprintf(pstream, "P5\n") < 0) { /* PGM raw */
+ if (gp_fprintf(pstream, "P5\n") < 0) { /* PGM raw */
code = gs_note_error(gs_error_ioerror);
goto punt;
}
if (bdev->comment[0]) {
- if (fprintf(pstream, "# %s\n", bdev->comment) < 0) {
+ if (gp_fprintf(pstream, "# %s\n", bdev->comment) < 0) {
code = gs_note_error(gs_error_ioerror);
goto punt;
}
} else {
- if (fprintf(pstream, "# Image generated by %s (device=%s)\n",
+ if (gp_fprintf(pstream, "# Image generated by %s (device=%s)\n",
gs_product, pdev->dname) < 0) {
code = gs_note_error(gs_error_ioerror);
goto punt;
}
}
- if (fprintf(pstream, "%d %d\n", pdev->width, pdev->height) < 0) {
+ if (gp_fprintf(pstream, "%d %d\n", pdev->width, pdev->height) < 0) {
code = gs_note_error(gs_error_ioerror);
goto punt;
}
- if (fprintf(pstream, "255\n") < 0) {
+ if (gp_fprintf(pstream, "255\n") < 0) {
code = gs_note_error(gs_error_ioerror);
goto punt;
}
@@ -1132,7 +1132,7 @@ pnmcmyk_print_page(gx_device_printer *pdev, FILE *pstream)
static int
pam4_print_row(gx_device_printer * pdev, byte * data, int depth,
- FILE * pstream)
+ gp_file * pstream)
{
int w, s;
if (depth == 4) {
@@ -1140,10 +1140,10 @@ pam4_print_row(gx_device_printer * pdev, byte * data, int depth,
byte C = *data++;
for (s = 7; s >= 0; s -= 4)
{
- fputc(((C>>s )&1)*0xff, pstream);
- fputc(((C>>(s-1))&1)*0xff, pstream);
- fputc(((C>>(s-2))&1)*0xff, pstream);
- fputc(((C>>(s-3))&1)*0xff, pstream);
+ gp_fputc(((C>>s )&1)*0xff, pstream);
+ gp_fputc(((C>>(s-1))&1)*0xff, pstream);
+ gp_fputc(((C>>(s-2))&1)*0xff, pstream);
+ gp_fputc(((C>>(s-3))&1)*0xff, pstream);
w--;
if (w == 0)
break;
@@ -1154,7 +1154,7 @@ pam4_print_row(gx_device_printer * pdev, byte * data, int depth,
}
static int
-pam4_print_page(gx_device_printer * pdev, FILE * pstream)
+pam4_print_page(gx_device_printer * pdev, gp_file * pstream)
{
gx_device_pbm * const bdev = (gx_device_pbm *)pdev;
@@ -1167,7 +1167,7 @@ pam4_print_page(gx_device_printer * pdev, FILE * pstream)
/* In this case, we also know pdev->color_info.max_color == 1. */
static int
pkm_print_row_4(gx_device_printer * pdev, byte * data, int depth,
- FILE * pstream)
+ gp_file * pstream)
{
gx_device_pbm * const bdev = (gx_device_pbm *)pdev;
byte *bp;
@@ -1210,7 +1210,7 @@ pkm_print_row_4(gx_device_printer * pdev, byte * data, int depth,
/* x might overshoot the width by 1 pixel. */
if (x > end)
outp -= 3;
- if (fwrite(raw, 1, outp - raw, pstream) != outp - raw)
+ if (gp_fwrite(raw, 1, outp - raw, pstream) != outp - raw)
return_error(gs_error_ioerror);
}
} else {
@@ -1222,7 +1222,7 @@ pkm_print_row_4(gx_device_printer * pdev, byte * data, int depth,
shift ^= 4;
bp += shift >> 2;
++x;
- if (fprintf(pstream, "%d %d %d%c", rv[pixel], gv[pixel], bv[pixel],
+ if (gp_fprintf(pstream, "%d %d %d%c", rv[pixel], gv[pixel], bv[pixel],
(x == pdev->width || !(x & 7) ?
'\n' : ' ')) < 0)
return_error(gs_error_ioerror);
@@ -1234,7 +1234,7 @@ pkm_print_row_4(gx_device_printer * pdev, byte * data, int depth,
/* Note that the output is scaled up to 255 max value. */
static int
pkm_print_row(gx_device_printer * pdev, byte * data, int depth,
- FILE * pstream)
+ gp_file * pstream)
{
gx_device_pbm * const bdev = (gx_device_pbm *)pdev;
byte *bp;
@@ -1268,14 +1268,14 @@ pkm_print_row(gx_device_printer * pdev, byte * data, int depth,
g = rgb[1] * 0xff / gx_max_color_value;
b = rgb[2] * 0xff / gx_max_color_value;
if (bdev->is_raw) {
- if (putc(r, pstream) == EOF)
+ if (gp_fputc(r, pstream) == EOF)
return_error(gs_error_ioerror);
- if (putc(g, pstream) == EOF)
+ if (gp_fputc(g, pstream) == EOF)
return_error(gs_error_ioerror);
- if (putc(b, pstream) == EOF)
+ if (gp_fputc(b, pstream) == EOF)
return_error(gs_error_ioerror);
} else {
- if (fprintf(pstream, "%d %d %d%c", r, g, b,
+ if (gp_fprintf(pstream, "%d %d %d%c", r, g, b,
(x == pdev->width || !(x & 7) ?
'\n' : ' ')) < 0)
return_error(gs_error_ioerror);
@@ -1284,7 +1284,7 @@ pkm_print_row(gx_device_printer * pdev, byte * data, int depth,
return 0;
}
static int
-pkm_print_page(gx_device_printer * pdev, FILE * pstream)
+pkm_print_page(gx_device_printer * pdev, gp_file * pstream)
{
gx_device_pbm * const bdev = (gx_device_pbm *)pdev;
@@ -1296,7 +1296,7 @@ pkm_print_page(gx_device_printer * pdev, FILE * pstream)
/* Print individual separations on a single file. */
static int
-psm_print_page(gx_device_printer * pdev, FILE * pstream)
+psm_print_page(gx_device_printer * pdev, gp_file * pstream)
{
gx_device_pbm * const bdev = (gx_device_pbm *)pdev;
/*
@@ -1332,28 +1332,28 @@ psm_print_page(gx_device_printer * pdev, FILE * pstream)
plane_shift = render_plane.shift;
plane_mask = ((gx_color_index)1 << plane_depth) - 1;
raster = bitmap_raster(pdev->width * plane_depth);
- if (fprintf(pstream, "P%c\n", bdev->magic + (plane_depth > 1)) < 0) {
+ if (gp_fprintf(pstream, "P%c\n", bdev->magic + (plane_depth > 1)) < 0) {
code = gs_note_error(gs_error_ioerror);
goto punt;
}
if (bdev->comment[0]) {
- if (fprintf(pstream, "# %s\n", bdev->comment) < 0) {
+ if (gp_fprintf(pstream, "# %s\n", bdev->comment) < 0) {
code = gs_note_error(gs_error_ioerror);
goto punt;
}
} else {
- if (fprintf(pstream, "# Image generated by %s (device=%s)\n",
+ if (gp_fprintf(pstream, "# Image generated by %s (device=%s)\n",
gs_product, pdev->dname) < 0) {
code = gs_note_error(gs_error_ioerror);
goto punt;
}
}
- if (fprintf(pstream, "%d %d\n", pdev->width, pdev->height) < 0) {
+ if (gp_fprintf(pstream, "%d %d\n", pdev->width, pdev->height) < 0) {
code = gs_note_error(gs_error_ioerror);
goto punt;
}
if (plane_depth > 1) {
- if (fprintf(pstream, "%d\n", pdev->color_info.max_gray) < 0) {
+ if (gp_fprintf(pstream, "%d\n", pdev->color_info.max_gray) < 0) {
code = gs_note_error(gs_error_ioerror);
goto punt;
}
diff --git a/devices/gdevpcx.c b/devices/gdevpcx.c
index 9967647fa..1735851d2 100644
--- a/devices/gdevpcx.c
+++ b/devices/gdevpcx.c
@@ -215,12 +215,12 @@ static const pcx_header pcx_header_prototype =
#define dcx_max_pages 1023
/* Forward declarations */
-static void pcx_write_rle(const byte *, const byte *, int, FILE *);
-static int pcx_write_page(gx_device_printer *, FILE *, pcx_header *, bool);
+static void pcx_write_rle(const byte *, const byte *, int, gp_file *);
+static int pcx_write_page(gx_device_printer *, gp_file *, pcx_header *, bool);
/* Write a monochrome PCX page. */
static int
-pcxmono_print_page(gx_device_printer * pdev, FILE * file)
+pcxmono_print_page(gx_device_printer * pdev, gp_file * file)
{
pcx_header header;
@@ -243,7 +243,7 @@ static const byte pcx_ega_palette[16 * 3] =
0xff, 0x55, 0x55, 0xff, 0x55, 0xff, 0xff, 0xff, 0x55, 0xff, 0xff, 0xff
};
static int
-pcx16_print_page(gx_device_printer * pdev, FILE * file)
+pcx16_print_page(gx_device_printer * pdev, gp_file * file)
{
pcx_header header;
@@ -259,7 +259,7 @@ pcx16_print_page(gx_device_printer * pdev, FILE * file)
/* Write a "new" PCX page. */
static int
-pcx256_print_page(gx_device_printer * pdev, FILE * file)
+pcx256_print_page(gx_device_printer * pdev, gp_file * file)
{
pcx_header header;
int code;
@@ -273,7 +273,7 @@ pcx256_print_page(gx_device_printer * pdev, FILE * file)
palinfo_color : palinfo_gray));
code = pcx_write_page(pdev, file, &header, false);
if (code >= 0) { /* Write out the palette. */
- fputc(0x0c, file);
+ gp_fputc(0x0c, file);
code = pc_write_palette((gx_device *) pdev, 256, file);
}
return code;
@@ -281,7 +281,7 @@ pcx256_print_page(gx_device_printer * pdev, FILE * file)
/* Write a 24-bit color PCX page. */
static int
-pcx24b_print_page(gx_device_printer * pdev, FILE * file)
+pcx24b_print_page(gx_device_printer * pdev, gp_file * file)
{
pcx_header header;
@@ -302,7 +302,7 @@ static const byte pcx_cmyk_palette[16 * 3] =
0x00, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x1f, 0x1f, 0x1f, 0x0f, 0x0f, 0x0f,
};
static int
-pcxcmyk_print_page(gx_device_printer * pdev, FILE * file)
+pcxcmyk_print_page(gx_device_printer * pdev, gp_file * file)
{
pcx_header header;
@@ -320,7 +320,7 @@ pcxcmyk_print_page(gx_device_printer * pdev, FILE * file)
/* This routine is used for all formats. */
/* The caller has set header->bpp, nplanes, and palette. */
static int
-pcx_write_page(gx_device_printer * pdev, FILE * file, pcx_header * phdr,
+pcx_write_page(gx_device_printer * pdev, gp_file * file, pcx_header * phdr,
bool planar)
{
int raster = gdev_prn_raster(pdev);
@@ -347,7 +347,7 @@ pcx_write_page(gx_device_printer * pdev, FILE * file, pcx_header * phdr,
/* Write the header. */
- if (fwrite((const char *)phdr, 1, 128, file) < 128) {
+ if (gp_fwrite((const char *)phdr, 1, 128, file) < 128) {
code = gs_error_ioerror;
goto pcx_done;
}
@@ -407,7 +407,7 @@ pcx_write_page(gx_device_printer * pdev, FILE * file, pcx_header * phdr,
for (pnum = 0; pnum < 3; ++pnum) {
pcx_write_rle(row + pnum, row + raster, 3, file);
if (pdev->width & 1)
- fputc(0, file); /* pad to even */
+ gp_fputc(0, file); /* pad to even */
}
}
break;
@@ -429,7 +429,7 @@ pcx_write_page(gx_device_printer * pdev, FILE * file, pcx_header * phdr,
/* Write one line in PCX run-length-encoded format. */
static void
-pcx_write_rle(const byte * from, const byte * end, int step, FILE * file)
+pcx_write_rle(const byte * from, const byte * end, int step, gp_file * file)
{ /*
* The PCX format theoretically allows encoding runs of 63
* identical bytes, but some readers can't handle repetition
@@ -444,7 +444,7 @@ pcx_write_rle(const byte * from, const byte * end, int step, FILE * file)
from += step;
if (data != *from || from == end) {
if (data >= 0xc0)
- putc(0xc1, file);
+ gp_fputc(0xc1, file);
} else {
const byte *start = from;
@@ -452,14 +452,14 @@ pcx_write_rle(const byte * from, const byte * end, int step, FILE * file)
from += step;
/* Now (from - start) / step + 1 is the run length. */
while (from - start >= max_run) {
- putc(0xc0 + MAX_RUN_COUNT, file);
- putc(data, file);
+ gp_fputc(0xc0 + MAX_RUN_COUNT, file);
+ gp_fputc(data, file);
start += max_run;
}
if (from > start || data >= 0xc0)
- putc((from - start) / step + 0xc1, file);
+ gp_fputc((from - start) / step + 0xc1, file);
}
- putc(data, file);
+ gp_fputc(data, file);
}
#undef MAX_RUN_COUNT
}
diff --git a/devices/gdevpdfimg.c b/devices/gdevpdfimg.c
index bba1815a1..7ad8169d4 100644
--- a/devices/gdevpdfimg.c
+++ b/devices/gdevpdfimg.c
@@ -72,7 +72,7 @@ typedef struct pdfimage_page_s {
typedef struct PCLm_temp_file_s {
char file_name[gp_file_name_sizeof];
- FILE *file;
+ gp_file *file;
stream *strm;
stream *save;
byte *strm_buf;
@@ -187,7 +187,7 @@ const gx_device_pdf_image gs_pdfimage32_device = {
};
static int gdev_pdf_image_begin_page(gx_device_pdf_image *pdf_dev,
- FILE *file)
+ gp_file *file)
{
gx_device_printer *const pdev = (gx_device_printer *)pdf_dev;
cmm_dev_profile_t *profile_struct;
@@ -717,8 +717,8 @@ static int pdf_image_finish_file(gx_device_pdf_image *pdf_dev, int PCLm)
char Buffer[1024];
sflush(pdf_dev->xref_stream.strm);
- streamsize = gp_ftell_64(pdf_dev->xref_stream.file);
- if (gp_fseek_64(pdf_dev->xref_stream.file, 0, SEEK_SET) != 0)
+ streamsize = gp_ftell(pdf_dev->xref_stream.file);
+ if (gp_fseek(pdf_dev->xref_stream.file, 0, SEEK_SET) != 0)
return_error(gs_error_ioerror);
while(streamsize > 0) {
@@ -733,7 +733,7 @@ static int pdf_image_finish_file(gx_device_pdf_image *pdf_dev, int PCLm)
streamsize = 0;
}
}
- if (gp_fseek_64(pdf_dev->xref_stream.file, 0, SEEK_SET) != 0)
+ if (gp_fseek(pdf_dev->xref_stream.file, 0, SEEK_SET) != 0)
return_error(gs_error_ioerror);
pprintd1(pdf_dev->strm, "trailer\n<<\n/Size %d\n/Root 1 0 R\n/ID [", pdf_dev->NextObject);
@@ -778,7 +778,7 @@ static int pdf_image_finish_file(gx_device_pdf_image *pdf_dev, int PCLm)
}
static int
-pdf_image_print_page(gx_device_printer * pdev, FILE * file)
+pdf_image_print_page(gx_device_printer * pdev, gp_file * file)
{
gx_device_pdf_image *const pdf_dev = (gx_device_pdf_image *)pdev;
const char *fmt;
@@ -1061,7 +1061,7 @@ PCLm_open_temp_file(gx_device_pdf_image *pdev, PCLm_temp_file_t *ptf)
strcpy(fmode, "w+");
strcat(fmode, gp_fmode_binary_suffix);
- ptf->file = gp_open_scratch_file_64(pdev->memory,
+ ptf->file = gp_open_scratch_file(pdev->memory,
gp_scratch_file_name_prefix,
ptf->file_name,
fmode);
@@ -1074,7 +1074,7 @@ static int
PCLm_close_temp_file(gx_device_pdf_image *pdev, PCLm_temp_file_t *ptf, int code)
{
int err = 0;
- FILE *file = ptf->file;
+ gp_file *file = ptf->file;
/*
* ptf->strm == 0 or ptf->file == 0 is only possible if this procedure
@@ -1096,7 +1096,7 @@ PCLm_close_temp_file(gx_device_pdf_image *pdev, PCLm_temp_file_t *ptf, int code)
ptf->strm = 0;
}
if (file) {
- err = ferror(file) | fclose(file);
+ err = gp_ferror(file) | gp_fclose(file);
unlink(ptf->file_name);
ptf->file = 0;
}
@@ -1177,7 +1177,7 @@ PCLm_open(gx_device *pdev)
}
static int gdev_PCLm_begin_page(gx_device_pdf_image *pdf_dev,
- FILE *file)
+ gp_file *file)
{
gx_device_printer *const pdev = (gx_device_printer *)pdf_dev;
cmm_dev_profile_t *profile_struct;
@@ -1316,7 +1316,7 @@ PCLm_downscale_and_print_page(gx_device_printer *dev, int factor,
stream_puts(pdf_dev->strm, Buffer);
stream_puts(pdf_dev->strm, "/Resources <<\n/XObject <<\n");
- if (gp_fseek_64(pdf_dev->temp_stream.file, 0, SEEK_SET) != 0) {
+ if (gp_fseek(pdf_dev->temp_stream.file, 0, SEEK_SET) != 0) {
gs_free_object(dev->memory, data, "pdf_image_print_page(data)");
gx_downscaler_fin(&ds);
return_error(gs_error_ioerror);
@@ -1338,7 +1338,7 @@ PCLm_downscale_and_print_page(gx_device_printer *dev, int factor,
pprintd2(pdf_dev->strm, "/Im%d %d 0 R\n", row, page->ImageObjectNumber + (row * 2));
}
sflush(pdf_dev->temp_stream.strm);
- stream_pos = gp_ftell_64(pdf_dev->temp_stream.file);
+ stream_pos = gp_ftell(pdf_dev->temp_stream.file);
stream_puts(pdf_dev->strm, ">>\n>>\n>>\nendobj\n");
page->PageStreamOffset = stell(pdf_dev->strm);
@@ -1346,7 +1346,7 @@ PCLm_downscale_and_print_page(gx_device_printer *dev, int factor,
pprintd1(pdf_dev->strm, "%d 0 obj\n", page->PageStreamObjectNumber);
pprintd1(pdf_dev->strm, "<<\n/Length %d\n>>\nstream\n", stream_pos);
- if (gp_fseek_64(pdf_dev->temp_stream.file, 0, SEEK_SET) != 0) {
+ if (gp_fseek(pdf_dev->temp_stream.file, 0, SEEK_SET) != 0) {
gs_free_object(dev->memory, data, "pdf_image_print_page(data)");
gx_downscaler_fin(&ds);
return_error(gs_error_ioerror);
@@ -1368,7 +1368,7 @@ PCLm_downscale_and_print_page(gx_device_printer *dev, int factor,
stream_puts(pdf_dev->strm, "endstream\nendobj\n");
- if (gp_fseek_64(pdf_dev->temp_stream.file, 0, SEEK_SET) != 0) {
+ if (gp_fseek(pdf_dev->temp_stream.file, 0, SEEK_SET) != 0) {
gs_free_object(dev->memory, data, "pdf_image_print_page(data)");
gx_downscaler_fin(&ds);
return_error(gs_error_ioerror);
@@ -1402,7 +1402,7 @@ PCLm_downscale_and_print_page(gx_device_printer *dev, int factor,
if (pdf_dev->temp_stream.save != pdf_dev->temp_stream.strm)
s_close_filters(&pdf_dev->temp_stream.strm, pdf_dev->temp_stream.save);
sflush(pdf_dev->temp_stream.strm);
- stream_pos = gp_ftell_64(pdf_dev->temp_stream.file);
+ stream_pos = gp_ftell(pdf_dev->temp_stream.file);
page->ImageOffset = stell(pdf_dev->strm);
write_xref_entry(pdf_dev->xref_stream.strm, page->ImageOffset);
@@ -1432,7 +1432,7 @@ PCLm_downscale_and_print_page(gx_device_printer *dev, int factor,
stream_puts(pdf_dev->strm, ">>\nstream\n");
break;
}
- if (gp_fseek_64(pdf_dev->temp_stream.file, 0, SEEK_SET) != 0) {
+ if (gp_fseek(pdf_dev->temp_stream.file, 0, SEEK_SET) != 0) {
gs_free_object(dev->memory, data, "pdf_image_print_page(data)");
gx_downscaler_fin(&ds);
return_error(gs_error_ioerror);
@@ -1454,7 +1454,7 @@ PCLm_downscale_and_print_page(gx_device_printer *dev, int factor,
stream_puts(pdf_dev->strm, "\nendstream\nendobj\n");
- if (gp_fseek_64(pdf_dev->temp_stream.file, 0, SEEK_SET) != 0) {
+ if (gp_fseek(pdf_dev->temp_stream.file, 0, SEEK_SET) != 0) {
gs_free_object(dev->memory, data, "pdf_image_print_page(data)");
gx_downscaler_fin(&ds);
return_error(gs_error_ioerror);
@@ -1502,7 +1502,7 @@ PCLm_downscale_and_print_page(gx_device_printer *dev, int factor,
if (pdf_dev->temp_stream.save != pdf_dev->temp_stream.strm)
s_close_filters(&pdf_dev->temp_stream.strm, pdf_dev->temp_stream.save);
sflush(pdf_dev->temp_stream.strm);
- stream_pos = gp_ftell_64(pdf_dev->temp_stream.file);
+ stream_pos = gp_ftell(pdf_dev->temp_stream.file);
page->ImageOffset = stell(pdf_dev->strm);
write_xref_entry(pdf_dev->xref_stream.strm, page->ImageOffset);
@@ -1532,7 +1532,7 @@ PCLm_downscale_and_print_page(gx_device_printer *dev, int factor,
stream_puts(pdf_dev->strm, ">>\nstream\n");
break;
}
- if (gp_fseek_64(pdf_dev->temp_stream.file, 0, SEEK_SET) != 0) {
+ if (gp_fseek(pdf_dev->temp_stream.file, 0, SEEK_SET) != 0) {
gs_free_object(dev->memory, data, "pdf_image_print_page(data)");
gx_downscaler_fin(&ds);
return_error(gs_error_ioerror);
@@ -1553,7 +1553,7 @@ PCLm_downscale_and_print_page(gx_device_printer *dev, int factor,
stream_puts(pdf_dev->strm, "\nendstream\nendobj\n");
- if (gp_fseek_64(pdf_dev->temp_stream.file, 0, SEEK_SET) != 0) {
+ if (gp_fseek(pdf_dev->temp_stream.file, 0, SEEK_SET) != 0) {
gs_free_object(dev->memory, data, "pdf_image_print_page(data)");
gx_downscaler_fin(&ds);
return_error(gs_error_ioerror);
@@ -1574,7 +1574,7 @@ PCLm_downscale_and_print_page(gx_device_printer *dev, int factor,
}
static int
-PCLm_print_page(gx_device_printer * pdev, FILE * file)
+PCLm_print_page(gx_device_printer * pdev, gp_file * file)
{
gx_device_pdf_image *const pdf_dev = (gx_device_pdf_image *)pdev;
const char *fmt;
diff --git a/devices/gdevperm.c b/devices/gdevperm.c
index df2bb24c2..fe2295e71 100644
--- a/devices/gdevperm.c
+++ b/devices/gdevperm.c
@@ -129,7 +129,7 @@ const gx_device_perm_t gs_perm_device = {
};
static int
-perm_print_page(gx_device_printer *pdev, FILE *pstream)
+perm_print_page(gx_device_printer *pdev, gp_file *pstream)
{
int y;
gx_device_perm_t * const dev = (gx_device_perm_t *)pdev;
diff --git a/devices/gdevphex.c b/devices/gdevphex.c
index 0292e889a..590baf29d 100644
--- a/devices/gdevphex.c
+++ b/devices/gdevphex.c
@@ -825,7 +825,7 @@ typedef struct {
* These macros are used to access the printer device
*/
-#define SendByte( s, x ) fputc( (x), (s) )
+#define SendByte( s, x ) gp_fputc( (x), (s) )
#define SendWord( s, x ) SendByte((s), (x) & 255); \
SendByte((s), ((x) >> 8 ) & 255);
@@ -837,7 +837,7 @@ typedef struct {
typedef struct {
EDEV *dev; /* The actual device struct */
- FILE *stream; /* Output stream */
+ gp_file *stream; /* Output stream */
int yres; /* Y resolution */
int xres; /* X resolution */
int start; /* Left margin in 1/1440 inches */
@@ -928,7 +928,7 @@ static dev_proc_encode_color(photoex_encode_color);
static dev_proc_decode_color(photoex_decode_color);
static int photoex_open( gx_device *pdev );
-static int photoex_print_page( PDEV *dev, FILE *prn_stream );
+static int photoex_print_page( PDEV *dev, gp_file *prn_stream );
static CINX photoex_map_rgb_color( DEV *dev, const CVAL prgb[] );
static int photoex_map_color_rgb( DEV *dev, CINX index, CVAL prgb[] );
static int photoex_get_params( DEV *dev, PLIST *plist );
@@ -954,19 +954,19 @@ static int IsScanlineEmpty( RENDER *p, byte *line );
static int RleCompress( RAWLINE *raw, int min, int max, byte *rle_data );
static int RleFlush( byte *first, byte *reps, byte *now, byte *out );
-static void SendReset( FILE *stream );
-static void SendMargin( FILE *stream, int top, int bot );
-static void SendPaper( FILE *stream, int length );
-static void SendGmode( FILE *stream, int on );
-static void SendUnit( FILE *stream, int res );
-static void SendUnidir( FILE *stream, int on );
-static void SendMicro( FILE *stream, int on );
-static void SendInk( FILE *stream, int x );
-static void SendDown( FILE *stream, int x );
-static void SendRight( FILE *stream, int amount );
-static void SendColour( FILE *stream, int col );
-static void SendData( FILE *stream, int hres, int vres, int noz, int col );
-static void SendString( FILE *stream, const char *s );
+static void SendReset( gp_file *stream );
+static void SendMargin( gp_file *stream, int top, int bot );
+static void SendPaper( gp_file *stream, int length );
+static void SendGmode( gp_file *stream, int on );
+static void SendUnit( gp_file *stream, int res );
+static void SendUnidir( gp_file *stream, int on );
+static void SendMicro( gp_file *stream, int on );
+static void SendInk( gp_file *stream, int x );
+static void SendDown( gp_file *stream, int x );
+static void SendRight( gp_file *stream, int amount );
+static void SendColour( gp_file *stream, int col );
+static void SendData( gp_file *stream, int hres, int vres, int noz, int col );
+static void SendString( gp_file *stream, const char *s );
static void HalftonerStart( RENDER *render, int line );
static int HalftoneThold( RENDER *render );
@@ -1678,7 +1678,7 @@ static int GetInt( PLIST *list, PNAME name, int *value, int code )
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/
-static int photoex_print_page( PDEV *device, FILE *stream )
+static int photoex_print_page( PDEV *device, gp_file *stream )
{
int pixels; /* Length of the line */
int x; /* Work vars */
@@ -1919,7 +1919,7 @@ int i, j, l, col;
min, max, p->rle );
}
- fwrite( p->rle, l, 1, p->stream );
+ gp_fwrite( p->rle, l, 1, p->stream );
}
SendByte( p->stream, CR );
@@ -2628,12 +2628,12 @@ int l;
/* Low level procedures to send various commands to the printer */
/****************************************************************************/
-static void SendReset( FILE *stream )
+static void SendReset( gp_file *stream )
{
SendString( stream, ESC "@" );
}
-static void SendMargin( FILE *stream, int top, int bot )
+static void SendMargin( gp_file *stream, int top, int bot )
{
SendString( stream, ESC "(c" );
SendWord( stream, 4 );
@@ -2641,41 +2641,41 @@ static void SendMargin( FILE *stream, int top, int bot )
SendWord( stream, top );
}
-static void SendPaper( FILE *stream, int length )
+static void SendPaper( gp_file *stream, int length )
{
SendString( stream, ESC "(C" );
SendWord( stream, 2 );
SendWord( stream, length );
}
-static void SendGmode( FILE *stream, int on )
+static void SendGmode( gp_file *stream, int on )
{
SendString( stream, ESC "(G" );
SendWord( stream, 1 );
SendByte( stream, on );
}
-static void SendUnit( FILE *stream, int res )
+static void SendUnit( gp_file *stream, int res )
{
SendString( stream, ESC "(U" );
SendWord( stream, 1 );
SendByte( stream, res );
}
-static void SendUnidir( FILE *stream, int on )
+static void SendUnidir( gp_file *stream, int on )
{
SendString( stream, ESC "U" );
SendByte( stream, on );
}
-static void SendMicro( FILE *stream, int on )
+static void SendMicro( gp_file *stream, int on )
{
SendString( stream, ESC "(i" );
SendWord( stream, 1 );
SendByte( stream, on );
}
-static void SendInk( FILE *stream, int x )
+static void SendInk( gp_file *stream, int x )
{
SendString( stream, ESC "(e" );
SendWord( stream, 2 );
@@ -2683,14 +2683,14 @@ static void SendInk( FILE *stream, int x )
SendByte( stream, x );
}
-static void SendDown( FILE *stream, int x )
+static void SendDown( gp_file *stream, int x )
{
SendString( stream, ESC "(v" );
SendWord( stream, 2 );
SendWord( stream, x );
}
-static void SendRight( FILE *stream, int amount )
+static void SendRight( gp_file *stream, int amount )
{
SendString( stream, ESC "(\\" );
SendWord( stream, 4 );
@@ -2698,7 +2698,7 @@ static void SendRight( FILE *stream, int amount )
SendWord( stream, amount );
}
-static void SendColour( FILE *stream, int col )
+static void SendColour( gp_file *stream, int col )
{
static int ccode[] = { 0x000, 0x200, 0x100, 0x400, 0x201, 0x101 };
@@ -2707,7 +2707,7 @@ static int ccode[] = { 0x000, 0x200, 0x100, 0x400, 0x201, 0x101 };
SendWord( stream, ccode[ col ] );
}
-static void SendData( FILE *stream, int hres, int vres, int noz, int col )
+static void SendData( gp_file *stream, int hres, int vres, int noz, int col )
{
SendString( stream, ESC "." );
SendByte( stream, 1 ); /* Run-length encoded data */
@@ -2733,7 +2733,7 @@ static void SendData( FILE *stream, int hres, int vres, int noz, int col )
SendWord( stream, col );
}
-static void SendString( FILE *stream, const char *s )
+static void SendString( gp_file *stream, const char *s )
{
while ( *s ) SendByte( stream, *s++ );
}
diff --git a/devices/gdevpjet.c b/devices/gdevpjet.c
index c532e92c9..4b4741904 100644
--- a/devices/gdevpjet.c
+++ b/devices/gdevpjet.c
@@ -32,7 +32,7 @@
static dev_proc_print_page(lj250_print_page);
static dev_proc_print_page(paintjet_print_page);
static dev_proc_print_page(pjetxl_print_page);
-static int pj_common_print_page(gx_device_printer *, FILE *, int, const char *);
+static int pj_common_print_page(gx_device_printer *, gp_file *, int, const char *);
/* Since the print_page doesn't alter the device, this device can print in the background */
static gx_device_procs paintjet_procs =
prn_color_procs(gdev_prn_open, gdev_prn_bg_output_page, gdev_prn_close,
@@ -71,34 +71,34 @@ static int compress1_row(const byte *, const byte *, byte *);
/* Send a page to the LJ250. We need to enter and exit */
/* the PaintJet emulation mode. */
static int
-lj250_print_page(gx_device_printer *pdev, FILE *prn_stream)
-{ fputs("\033%8", prn_stream); /* Enter PCL emulation mode */
+lj250_print_page(gx_device_printer *pdev, gp_file *prn_stream)
+{ gp_fputs("\033%8", prn_stream); /* Enter PCL emulation mode */
/* ends raster graphics to set raster graphics resolution */
- fputs("\033*rB", prn_stream);
+ gp_fputs("\033*rB", prn_stream);
/* Exit PCL emulation mode after printing */
return pj_common_print_page(pdev, prn_stream, 0, "\033*r0B\014\033%@");
}
/* Send a page to the PaintJet. */
static int
-paintjet_print_page(gx_device_printer *pdev, FILE *prn_stream)
+paintjet_print_page(gx_device_printer *pdev, gp_file *prn_stream)
{ /* ends raster graphics to set raster graphics resolution */
- fputs("\033*rB", prn_stream);
+ gp_fputs("\033*rB", prn_stream);
return pj_common_print_page(pdev, prn_stream, 0, "\033*r0B\014");
}
/* Send a page to the PaintJet XL. */
static int
-pjetxl_print_page(gx_device_printer *pdev, FILE *prn_stream)
+pjetxl_print_page(gx_device_printer *pdev, gp_file *prn_stream)
{ /* Initialize PaintJet XL for printing */
- fputs("\033E", prn_stream);
+ gp_fputs("\033E", prn_stream);
/* The XL has a different vertical origin, who knows why?? */
return pj_common_print_page(pdev, prn_stream, -360, "\033*rC");
}
/* Send the page to the printer. Compress each scan line. */
static int
-pj_common_print_page(gx_device_printer *pdev, FILE *prn_stream, int y_origin,
+pj_common_print_page(gx_device_printer *pdev, gp_file *prn_stream, int y_origin,
const char *end_page)
{
#define DATA_SIZE (LINE_SIZE * 8)
@@ -119,22 +119,22 @@ pj_common_print_page(gx_device_printer *pdev, FILE *prn_stream, int y_origin,
}
/* set raster graphics resolution -- 90 or 180 dpi */
- fprintf(prn_stream, "\033*t%dR", X_DPI);
+ gp_fprintf(prn_stream, "\033*t%dR", X_DPI);
/* set the line width */
- fprintf(prn_stream, "\033*r%dS", DATA_SIZE);
+ gp_fprintf(prn_stream, "\033*r%dS", DATA_SIZE);
/* set the number of color planes */
- fprintf(prn_stream, "\033*r%dU", 3); /* always 3 */
+ gp_fprintf(prn_stream, "\033*r%dU", 3); /* always 3 */
/* move to top left of page */
- fprintf(prn_stream, "\033&a0H\033&a%dV", y_origin);
+ gp_fprintf(prn_stream, "\033&a0H\033&a%dV", y_origin);
/* select data compression */
- fputs("\033*b1M", prn_stream);
+ gp_fputs("\033*b1M", prn_stream);
/* start raster graphics */
- fputs("\033*r1A", prn_stream);
+ gp_fputs("\033*r1A", prn_stream);
/* Send each scan line in turn */
{ int lnum;
@@ -187,8 +187,8 @@ pj_common_print_page(gx_device_printer *pdev, FILE *prn_stream, int y_origin,
/* Skip blank lines if any */
if ( num_blank_lines > 0 )
{ /* move down from current position */
- fprintf(prn_stream, "\033&a+%dV",
- num_blank_lines * (720 / Y_DPI));
+ gp_fprintf(prn_stream, "\033&a+%dV",
+ num_blank_lines * (720 / Y_DPI));
num_blank_lines = 0;
}
@@ -199,17 +199,17 @@ pj_common_print_page(gx_device_printer *pdev, FILE *prn_stream, int y_origin,
)
{ byte temp[LINE_SIZE * 2];
int count = compress1_row(row, row + LINE_SIZE, temp);
- fprintf(prn_stream, "\033*b%d%c",
- count, "VVW"[i]);
- fwrite(temp, sizeof(byte),
- count, prn_stream);
+ gp_fprintf(prn_stream, "\033*b%d%c",
+ count, "VVW"[i]);
+ gp_fwrite(temp, sizeof(byte),
+ count, prn_stream);
}
}
}
}
/* end the page */
- fputs(end_page, prn_stream);
+ gp_fputs(end_page, prn_stream);
gs_free(pdev->memory, (char *)data, DATA_SIZE, 1, "paintjet_print_page(data)");
gs_free(pdev->memory, (char *)plane_data, LINE_SIZE * 3, 1, "paintjet_print_page(plane_data)");
diff --git a/devices/gdevplan.c b/devices/gdevplan.c
index 09f5c8b00..b91f61d00 100644
--- a/devices/gdevplan.c
+++ b/devices/gdevplan.c
@@ -68,12 +68,12 @@ static dev_proc_close_device(plan_close);
/* And of course we need our own print-page routines. */
static dev_proc_print_page(plan_print_page);
-static int plan_print_page(gx_device_printer * pdev, FILE * pstream);
-static int planm_print_page(gx_device_printer * pdev, FILE * pstream);
-static int plang_print_page(gx_device_printer * pdev, FILE * pstream);
-static int planc_print_page(gx_device_printer * pdev, FILE * pstream);
-static int plank_print_page(gx_device_printer * pdev, FILE * pstream);
-static int planr_print_page(gx_device_printer * pdev, FILE * pstream);
+static int plan_print_page(gx_device_printer * pdev, gp_file * pstream);
+static int planm_print_page(gx_device_printer * pdev, gp_file * pstream);
+static int plang_print_page(gx_device_printer * pdev, gp_file * pstream);
+static int planc_print_page(gx_device_printer * pdev, gp_file * pstream);
+static int plank_print_page(gx_device_printer * pdev, gp_file * pstream);
+static int planr_print_page(gx_device_printer * pdev, gp_file * pstream);
/* The device procedures */
@@ -187,7 +187,7 @@ const gx_device_printer gs_planr_device =
/* ------ Initialization ------ */
#ifdef DEBUG_DUMP
-static void dump_row_ppm(int w, byte **data, FILE *dump_file)
+static void dump_row_ppm(int w, byte **data, gp_file *dump_file)
{
byte *r = data[0];
byte *g = data[1];
@@ -196,13 +196,13 @@ static void dump_row_ppm(int w, byte **data, FILE *dump_file)
if (dump_file == NULL)
return;
while (w--) {
- fputc(*r++, dump_file);
- fputc(*g++, dump_file);
- fputc(*b++, dump_file);
+ gp_fputc(*r++, dump_file);
+ gp_fputc(*g++, dump_file);
+ gp_fputc(*b++, dump_file);
}
}
-static void dump_row_pnmk(int w, byte **data, FILE *dump_file)
+static void dump_row_pnmk(int w, byte **data, gp_file *dump_file)
{
byte *r = data[0];
byte *g = data[1];
@@ -218,17 +218,17 @@ static void dump_row_pnmk(int w, byte **data, FILE *dump_file)
byte K = *k++;
int s;
for (s=7; s>=0; s--) {
- fputc(255*((C>>s)&1), dump_file);
- fputc(255*((M>>s)&1), dump_file);
- fputc(255*((Y>>s)&1), dump_file);
- fputc(255*((K>>s)&1), dump_file);
+ gp_fputc(255*((C>>s)&1), dump_file);
+ gp_fputc(255*((M>>s)&1), dump_file);
+ gp_fputc(255*((Y>>s)&1), dump_file);
+ gp_fputc(255*((K>>s)&1), dump_file);
w--;
if (w == 0) break;
}
}
}
-static void dump_row_pnmc(int w, byte **data, FILE *dump_file)
+static void dump_row_pnmc(int w, byte **data, gp_file *dump_file)
{
byte *r = data[0];
byte *g = data[1];
@@ -238,14 +238,14 @@ static void dump_row_pnmc(int w, byte **data, FILE *dump_file)
if (dump_file == NULL)
return;
while (w--) {
- fputc(*r++, dump_file);
- fputc(*g++, dump_file);
- fputc(*b++, dump_file);
- fputc(*k++, dump_file);
+ gp_fputc(*r++, dump_file);
+ gp_fputc(*g++, dump_file);
+ gp_fputc(*b++, dump_file);
+ gp_fputc(*k++, dump_file);
}
}
-static void dump_row_pbm(int w, byte **data, FILE *dump_file)
+static void dump_row_pbm(int w, byte **data, gp_file *dump_file)
{
byte *r = data[0];
@@ -253,22 +253,22 @@ static void dump_row_pbm(int w, byte **data, FILE *dump_file)
return;
w = (w+7)>>3;
while (w--) {
- fputc(*r++, dump_file);
+ gp_fputc(*r++, dump_file);
}
}
-static void dump_row_pgm(int w, byte **data, FILE *dump_file)
+static void dump_row_pgm(int w, byte **data, gp_file *dump_file)
{
byte *r = data[0];
if (dump_file == NULL)
return;
while (w--) {
- fputc(*r++, dump_file);
+ gp_fputc(*r++, dump_file);
}
}
-static void dump_row_pnmr(int w, byte **data, FILE *dump_file)
+static void dump_row_pnmr(int w, byte **data, gp_file *dump_file)
{
byte *r = data[0];
byte *g = data[1];
@@ -282,19 +282,19 @@ static void dump_row_pnmr(int w, byte **data, FILE *dump_file)
byte B = *b++;
int s;
for (s=7; s>=0; s--) {
- fputc(255*((R>>s)&1), dump_file);
- fputc(255*((G>>s)&1), dump_file);
- fputc(255*((B>>s)&1), dump_file);
+ gp_fputc(255*((R>>s)&1), dump_file);
+ gp_fputc(255*((G>>s)&1), dump_file);
+ gp_fputc(255*((B>>s)&1), dump_file);
w--;
if (w == 0) break;
}
}
}
-typedef void (*dump_row)(int w, byte **planes, FILE *file);
+typedef void (*dump_row)(int w, byte **planes, gp_file *file);
static dump_row dump_start(int w, int h, int num_comps, int log2bits,
- FILE *dump_file)
+ gp_file *dump_file)
{
dump_row row_proc = NULL;
if ((num_comps == 3) && (log2bits == 3)) {
@@ -315,22 +315,22 @@ static dump_row dump_start(int w, int h, int num_comps, int log2bits,
return row_proc;
if (num_comps == 3) {
if (log2bits == 0)
- fprintf(dump_file, "P7\nWIDTH %d\nHEIGHT %d\nDEPTH 3\n"
+ gp_fprintf(dump_file, "P7\nWIDTH %d\nHEIGHT %d\nDEPTH 3\n"
"MAXVAL 255\nTUPLTYPE RGB\n# Image generated by %s\nENDHDR\n", w, h, gs_product);
else
- fprintf(dump_file, "P6 %d %d 255\n", w, h);
+ gp_fprintf(dump_file, "P6 %d %d 255\n", w, h);
} else if (num_comps == 4) {
if (log2bits == 0)
- fprintf(dump_file, "P7\nWIDTH %d\nHEIGHT %d\nDEPTH 4\n"
+ gp_fprintf(dump_file, "P7\nWIDTH %d\nHEIGHT %d\nDEPTH 4\n"
"MAXVAL 255\nTUPLTYPE CMYK\n# Image generated by %s\nENDHDR\n", w, h, gs_product);
else
- fprintf(dump_file, "P7\nWIDTH %d\nHEIGHT %d\nDEPTH 4\n"
+ gp_fprintf(dump_file, "P7\nWIDTH %d\nHEIGHT %d\nDEPTH 4\n"
"MAXVAL 255\nTUPLTYPE CMYK\n# Image generated by %s\nENDHDR\n", w, h, gs_product);
} else if (log2bits == 0)
- fprintf(dump_file, "P4 %d %d\n", w, h);
+ gp_fprintf(dump_file, "P4 %d %d\n", w, h);
else
- fprintf(dump_file, "P5 %d %d 255\n", w, h);
+ gp_fprintf(dump_file, "P5 %d %d 255\n", w, h);
return row_proc;
}
#endif
@@ -486,7 +486,7 @@ planc_encode_color(gx_device * dev, const gx_color_value cv[])
/* Print a page using a given row printing routine. */
static int
plan_print_page_loop(gx_device_printer * pdev, int log2bits, int numComps,
- FILE *pstream)
+ gp_file *pstream)
{
int lnum;
int code = 0;
@@ -535,7 +535,7 @@ plan_print_page_loop(gx_device_printer * pdev, int log2bits, int numComps,
/* Print a monobit page. */
static int
-planm_print_page(gx_device_printer * pdev, FILE * pstream)
+planm_print_page(gx_device_printer * pdev, gp_file * pstream)
{
#ifdef DEBUG_PRINT
emprintf(pdev->memory, "planm_print_page\n");
@@ -545,7 +545,7 @@ planm_print_page(gx_device_printer * pdev, FILE * pstream)
/* Print a gray-mapped page. */
static int
-plang_print_page(gx_device_printer * pdev, FILE * pstream)
+plang_print_page(gx_device_printer * pdev, gp_file * pstream)
{
#ifdef DEBUG_PRINT
emprintf(pdev->memory, "plang_print_page\n");
@@ -555,7 +555,7 @@ plang_print_page(gx_device_printer * pdev, FILE * pstream)
/* Print a color-mapped page. */
static int
-plan_print_page(gx_device_printer * pdev, FILE * pstream)
+plan_print_page(gx_device_printer * pdev, gp_file * pstream)
{
#ifdef DEBUG_PRINT
emprintf(pdev->memory, "planc_print_page\n");
@@ -565,7 +565,7 @@ plan_print_page(gx_device_printer * pdev, FILE * pstream)
/* Print a 1 bit CMYK page. */
static int
-plank_print_page(gx_device_printer * pdev, FILE * pstream)
+plank_print_page(gx_device_printer * pdev, gp_file * pstream)
{
#ifdef DEBUG_PRINT
emprintf(pdev->memory, "plank_print_page\n");
@@ -575,7 +575,7 @@ plank_print_page(gx_device_printer * pdev, FILE * pstream)
/* Print an 8bpc CMYK page. */
static int
-planc_print_page(gx_device_printer * pdev, FILE * pstream)
+planc_print_page(gx_device_printer * pdev, gp_file * pstream)
{
#ifdef DEBUG_PRINT
emprintf(pdev->memory, "planc_print_page\n");
@@ -585,7 +585,7 @@ planc_print_page(gx_device_printer * pdev, FILE * pstream)
/* Print a color-mapped page (rgb, 1 bpc). */
static int
-planr_print_page(gx_device_printer * pdev, FILE * pstream)
+planr_print_page(gx_device_printer * pdev, gp_file * pstream)
{
#ifdef DEBUG_PRINT
emprintf(pdev->memory, "planr_print_page\n");
diff --git a/devices/gdevplib.c b/devices/gdevplib.c
index c41e3ace7..67c25e780 100644
--- a/devices/gdevplib.c
+++ b/devices/gdevplib.c
@@ -259,11 +259,11 @@ static dev_proc_put_params(plib_put_params);
/* And of course we need our own print-page routines. */
static dev_proc_print_page(plib_print_page);
-static int plib_print_page(gx_device_printer * pdev, FILE * pstream);
-static int plibm_print_page(gx_device_printer * pdev, FILE * pstream);
-static int plibg_print_page(gx_device_printer * pdev, FILE * pstream);
-static int plibc_print_page(gx_device_printer * pdev, FILE * pstream);
-static int plibk_print_page(gx_device_printer * pdev, FILE * pstream);
+static int plib_print_page(gx_device_printer * pdev, gp_file * pstream);
+static int plibm_print_page(gx_device_printer * pdev, gp_file * pstream);
+static int plibg_print_page(gx_device_printer * pdev, gp_file * pstream);
+static int plibc_print_page(gx_device_printer * pdev, gp_file * pstream);
+static int plibk_print_page(gx_device_printer * pdev, gp_file * pstream);
/* The device procedures */
@@ -400,7 +400,7 @@ static int dump_nc;
static int dump_l2bits;
static void dump_start(int w, int h, int num_comps, int log2bits,
- FILE *dump_file)
+ gp_file *dump_file)
{
if ((num_comps == 3) && (log2bits == 3)) {
/* OK */
@@ -419,18 +419,18 @@ static void dump_start(int w, int h, int num_comps, int log2bits,
if (dump_file == NULL)
return;
if (dump_nc == 3)
- fprintf(dump_file, "P6 %d %d 255\n", w, h);
+ gp_fprintf(dump_file, "P6 %d %d 255\n", w, h);
else if (dump_nc == 4) {
- fprintf(dump_file, "P7\nWIDTH %d\nHEIGHT %d\nDEPTH 4\n"
+ gp_fprintf(dump_file, "P7\nWIDTH %d\nHEIGHT %d\nDEPTH 4\n"
"MAXVAL 255\nTUPLTYPE CMYK\nENDHDR\n", w, h);
} else if (log2bits == 0)
- fprintf(dump_file, "P4 %d %d\n", w, h);
+ gp_fprintf(dump_file, "P4 %d %d\n", w, h);
else
- fprintf(dump_file, "P5 %d %d 255\n", w, h);
+ gp_fprintf(dump_file, "P5 %d %d 255\n", w, h);
dump_w = w;
}
-static void dump_band(int y, FILE *dump_file)
+static void dump_band(int y, gp_file *dump_file)
{
byte *r = bandBufferBase;
byte *g = r + bandBufferStride;
@@ -443,9 +443,9 @@ static void dump_band(int y, FILE *dump_file)
while (y--) {
int w = dump_w;
while (w--) {
- fputc(*r++, dump_file);
- fputc(*g++, dump_file);
- fputc(*b++, dump_file);
+ gp_fputc(*r++, dump_file);
+ gp_fputc(*g++, dump_file);
+ gp_fputc(*b++, dump_file);
}
r += bandBufferStride*3-dump_w;
g += bandBufferStride*3-dump_w;
@@ -462,10 +462,10 @@ static void dump_band(int y, FILE *dump_file)
byte K = *k++;
int s;
for (s=7; s>=0; s--) {
- fputc(255*((C>>s)&1), dump_file);
- fputc(255*((M>>s)&1), dump_file);
- fputc(255*((Y>>s)&1), dump_file);
- fputc(255*((K>>s)&1), dump_file);
+ gp_fputc(255*((C>>s)&1), dump_file);
+ gp_fputc(255*((M>>s)&1), dump_file);
+ gp_fputc(255*((Y>>s)&1), dump_file);
+ gp_fputc(255*((K>>s)&1), dump_file);
w--;
if (w == 0) break;
}
@@ -479,10 +479,10 @@ static void dump_band(int y, FILE *dump_file)
while (y--) {
int w = dump_w;
while (w--) {
- fputc(*r++, dump_file);
- fputc(*g++, dump_file);
- fputc(*b++, dump_file);
- fputc(*k++, dump_file);
+ gp_fputc(*r++, dump_file);
+ gp_fputc(*g++, dump_file);
+ gp_fputc(*b++, dump_file);
+ gp_fputc(*k++, dump_file);
}
r += bandBufferStride*4-dump_w;
g += bandBufferStride*4-dump_w;
@@ -495,7 +495,7 @@ static void dump_band(int y, FILE *dump_file)
while (y--) {
int w = (dump_w+7)>>3;
while (w--) {
- fputc(*r++, dump_file);
+ gp_fputc(*r++, dump_file);
}
r += bandBufferStride - ((dump_w+7)>>3);
}
@@ -503,7 +503,7 @@ static void dump_band(int y, FILE *dump_file)
while (y--) {
int w = dump_w;
while (w--) {
- fputc(*r++, dump_file);
+ gp_fputc(*r++, dump_file);
}
r += bandBufferStride - dump_w;
}
@@ -857,7 +857,7 @@ plibc_map_color_rgb(gx_device * dev, gx_color_index color,
/* Print a page using a given row printing routine. */
static int
plib_print_page_loop(gx_device_printer * pdev, int log2bits, int numComps,
- FILE *pstream)
+ gp_file *pstream)
{
gx_device_plib *pldev = (gx_device_plib *)pdev;
int lnum;
@@ -938,7 +938,7 @@ plib_print_page_loop(gx_device_printer * pdev, int log2bits, int numComps,
/* Print a monobit page. */
static int
-plibm_print_page(gx_device_printer * pdev, FILE * pstream)
+plibm_print_page(gx_device_printer * pdev, gp_file * pstream)
{
#ifdef DEBUG_PRINT
emprintf(pdev->memory, "plibm_print_page\n");
@@ -948,7 +948,7 @@ plibm_print_page(gx_device_printer * pdev, FILE * pstream)
/* Print a gray-mapped page. */
static int
-plibg_print_page(gx_device_printer * pdev, FILE * pstream)
+plibg_print_page(gx_device_printer * pdev, gp_file * pstream)
{
#ifdef DEBUG_PRINT
emprintf(pdev->memory, "plibg_print_page\n");
@@ -958,7 +958,7 @@ plibg_print_page(gx_device_printer * pdev, FILE * pstream)
/* Print a color-mapped page. */
static int
-plib_print_page(gx_device_printer * pdev, FILE * pstream)
+plib_print_page(gx_device_printer * pdev, gp_file * pstream)
{
#ifdef DEBUG_PRINT
emprintf(pdev->memory, "plibc_print_page\n");
@@ -968,7 +968,7 @@ plib_print_page(gx_device_printer * pdev, FILE * pstream)
/* Print a 1 bit CMYK page. */
static int
-plibk_print_page(gx_device_printer * pdev, FILE * pstream)
+plibk_print_page(gx_device_printer * pdev, gp_file * pstream)
{
#ifdef DEBUG_PRINT
emprintf(pdev->memory, "plibk_print_page\n");
@@ -978,7 +978,7 @@ plibk_print_page(gx_device_printer * pdev, FILE * pstream)
/* Print an 8bpc CMYK page. */
static int
-plibc_print_page(gx_device_printer * pdev, FILE * pstream)
+plibc_print_page(gx_device_printer * pdev, gp_file * pstream)
{
#ifdef DEBUG_PRINT
emprintf(pdev->memory, "plibc_print_page\n");
diff --git a/devices/gdevpng.c b/devices/gdevpng.c
index d7733b87b..10962516a 100644
--- a/devices/gdevpng.c
+++ b/devices/gdevpng.c
@@ -413,11 +413,26 @@ gdevpng_free(png_structp png, png_voidp ptr)
gs_free_object(mem, aligned - aligned[-1], "libpng");
}
+static void
+my_png_write(png_struct *png, png_bytep buf, png_size_t size)
+{
+ gp_file *file = png_get_io_ptr(png);
+
+ (void)gp_fwrite(buf, 1, size, file);
+}
+
+static void
+my_png_flush(png_struct *png)
+{
+ gp_file *file = png_get_io_ptr(png);
+
+ (void)gp_fflush(file);
+}
/* Write out a page in PNG format. */
/* This routine is used for all formats. */
static int
-do_png_print_page(gx_device_png * pdev, FILE * file, bool monod)
+do_png_print_page(gx_device_png * pdev, gp_file * file, bool monod)
{
gs_memory_t *mem = pdev->memory;
int raster = gdev_prn_raster(pdev);
@@ -485,7 +500,7 @@ do_png_print_page(gx_device_png * pdev, FILE * file, bool monod)
}
code = 0; /* for normal path */
/* set up the output control */
- png_init_io(png_ptr, file);
+ png_set_write_fn(png_ptr, file, my_png_write, my_png_flush);
/* set the file information here */
/* resolution is in pixels per meter vs. dpi */
@@ -711,13 +726,13 @@ do_png_print_page(gx_device_png * pdev, FILE * file, bool monod)
}
static int
-png_print_page(gx_device_printer * pdev, FILE * file)
+png_print_page(gx_device_printer * pdev, gp_file * file)
{
return do_png_print_page((gx_device_png *)pdev, file, 0);
}
static int
-png_print_page_monod(gx_device_printer * pdev, FILE * file)
+png_print_page_monod(gx_device_printer * pdev, gp_file * file)
{
return do_png_print_page((gx_device_png *)pdev, file, 1);
}
diff --git a/devices/gdevpsd.c b/devices/gdevpsd.c
index f0d362b07..1babc604f 100644
--- a/devices/gdevpsd.c
+++ b/devices/gdevpsd.c
@@ -928,7 +928,7 @@ psd_get_color_comp_index(gx_device * dev, const char * pname,
#endif
int
-psd_setup(psd_write_ctx *xc, gx_devn_prn_device *dev, FILE *file, int w, int h)
+psd_setup(psd_write_ctx *xc, gx_devn_prn_device *dev, gp_file *file, int w, int h)
{
int i;
int spot_count;
@@ -996,7 +996,7 @@ int
psd_write(psd_write_ctx *xc, const byte *buf, int size) {
int code;
- code = fwrite(buf, 1, size, xc->f);
+ code = gp_fwrite(buf, 1, size, xc->f);
if (code < 0)
return code;
return 0;
@@ -1294,10 +1294,10 @@ psd_write_image_data(psd_write_ctx *xc, gx_device_printer *pdev)
memset(sep_line,255,octets_per_line);
psd_write(xc, sep_line, octets_per_line);
}
- fseek(xc->f, (xc->height-1) * octets_per_line, SEEK_CUR);
+ gp_fseek(xc->f, (xc->height-1) * octets_per_line, SEEK_CUR);
}
if (j < xc->height-1)
- fseek(xc->f, -(num_comp * xc->height - 1) * octets_per_line, SEEK_CUR);
+ gp_fseek(xc->f, -(num_comp * xc->height - 1) * octets_per_line, SEEK_CUR);
}
cleanup:
@@ -1336,7 +1336,7 @@ psd_allow_multiple_pages (gx_device_printer *pdev)
}
static int
-psd_print_page(gx_device_printer *pdev, FILE *file)
+psd_print_page(gx_device_printer *pdev, gp_file *file)
{
psd_write_ctx xc;
gx_devn_prn_device *devn_dev = (gx_devn_prn_device *)pdev;
diff --git a/devices/gdevpsd.h b/devices/gdevpsd.h
index 4fdab25cc..3639eb72c 100644
--- a/devices/gdevpsd.h
+++ b/devices/gdevpsd.h
@@ -20,7 +20,7 @@
#include "gdevdevnprn.h"
typedef struct {
- FILE *f;
+ gp_file *f;
int width;
int height;
@@ -36,7 +36,7 @@ typedef struct {
int image_data_off;
} psd_write_ctx;
-int psd_setup(psd_write_ctx *xc, gx_devn_prn_device *dev, FILE *file, int w, int h);
+int psd_setup(psd_write_ctx *xc, gx_devn_prn_device *dev, gp_file *file, int w, int h);
int psd_write_header(psd_write_ctx *xc, gx_devn_prn_device *pdev);
int psd_write(psd_write_ctx *xc, const byte *buf, int size);
diff --git a/devices/gdevpsim.c b/devices/gdevpsim.c
index 1757125dd..3c85c3192 100644
--- a/devices/gdevpsim.c
+++ b/devices/gdevpsim.c
@@ -42,7 +42,7 @@
/* Write the file (if necessary) and page headers. */
static void
-ps_image_write_headers(FILE *f, gx_device_printer *pdev,
+ps_image_write_headers(gp_file *f, gx_device_printer *pdev,
const char *const setup[],
gx_device_pswrite_common_t *pdpc)
{
@@ -138,9 +138,9 @@ static const gx_device_pswrite_common_t psmono_values =
#define max_repeat_run 255
/* Send the page to the printer. */
-static void write_data_run(const byte *, int, FILE *, byte);
+static void write_data_run(const byte *, int, gp_file *, byte);
static int
-psmono_print_page(gx_device_printer * pdev, FILE * prn_stream)
+psmono_print_page(gx_device_printer * pdev, gp_file * prn_stream)
{
int line_size = gdev_mem_bytes_per_scan_line((gx_device *) pdev);
int lnum;
@@ -236,7 +236,7 @@ psmono_close(gx_device *dev)
/* Write a run of data on the file. */
static void
-write_data_run(const byte * data, int count, FILE * f, byte invert)
+write_data_run(const byte * data, int count, gp_file * f, byte invert)
{
const byte *p = data;
const char *const hex_digits = "0123456789abcdef";
@@ -301,7 +301,7 @@ static const gx_device_pswrite_common_t psrgb_values =
/* Send the page to the printer. */
static int
-psrgb_print_page(gx_device_printer * pdev, FILE * prn_stream)
+psrgb_print_page(gx_device_printer * pdev, gp_file * prn_stream)
{
gs_memory_t *mem = pdev->memory;
int width = pdev->width;
diff --git a/devices/gdevpxut.c b/devices/gdevpxut.c
index 1cf5a1fdc..297f6f907 100644
--- a/devices/gdevpxut.c
+++ b/devices/gdevpxut.c
@@ -217,11 +217,11 @@ px_write_select_media(stream *s, const gx_device *dev,
}
/*
- * Write the file trailer. Note that this takes a FILE *, not a stream *,
+ * Write the file trailer. Note that this takes a gp_file *, not a stream *,
* since it may be called after the stream is closed.
*/
int
-px_write_file_trailer(FILE *file)
+px_write_file_trailer(gp_file *file)
{
static const byte file_trailer[] = {
pxtCloseDataSource,
@@ -229,7 +229,7 @@ px_write_file_trailer(FILE *file)
033, '%', '-', '1', '2', '3', '4', '5', 'X'
};
- fwrite(file_trailer, 1, sizeof(file_trailer), file);
+ gp_fwrite(file_trailer, 1, sizeof(file_trailer), file);
return 0;
}
diff --git a/devices/gdevpxut.h b/devices/gdevpxut.h
index d29a08202..b854264fc 100644
--- a/devices/gdevpxut.h
+++ b/devices/gdevpxut.h
@@ -43,10 +43,10 @@ int px_write_select_media(stream *s, const gx_device *dev,
int media_type_set, char *media_type);
/*
- * Write the file trailer. Note that this takes a FILE *, not a stream *,
+ * Write the file trailer. Note that this takes a gp_file *, not a stream *,
* since it may be called after the stream is closed.
*/
-int px_write_file_trailer(FILE *file);
+int px_write_file_trailer(gp_file *file);
/* ---------------- Low-level data output ---------------- */
diff --git a/devices/gdevrinkj.c b/devices/gdevrinkj.c
index 43402a29b..cc144d7e5 100644
--- a/devices/gdevrinkj.c
+++ b/devices/gdevrinkj.c
@@ -795,7 +795,7 @@ struct rinkj_lutchain_s {
};
static int
-rinkj_add_lut(rinkj_device *rdev, rinkj_lutset *lutset, char plane, FILE *f)
+rinkj_add_lut(rinkj_device *rdev, rinkj_lutset *lutset, char plane, gp_file *f)
{
char linebuf[256];
rinkj_lutchain *chain;
@@ -811,7 +811,7 @@ rinkj_add_lut(rinkj_device *rdev, rinkj_lutset *lutset, char plane, FILE *f)
return -1;
pp = &lutset->lut[plane_ix];
- if (fgets(linebuf, sizeof(linebuf), f) == NULL)
+ if (gp_fgets(linebuf, sizeof(linebuf), f) == NULL)
return -1;
if (sscanf(linebuf, "%d", &n_graph) != 1)
return -1;
@@ -825,7 +825,7 @@ rinkj_add_lut(rinkj_device *rdev, rinkj_lutset *lutset, char plane, FILE *f)
for (i = 0; i < n_graph; i++) {
double x, y;
- if (fgets(linebuf, sizeof(linebuf), f) == NULL)
+ if (gp_fgets(linebuf, sizeof(linebuf), f) == NULL)
return -1;
if (sscanf(linebuf, "%lf %lf", &y, &x) != 2)
return -1;
@@ -868,7 +868,7 @@ rinkj_set_luts(rinkj_device *rdev,
RinkjDevice *printer_dev, RinkjDevice *cmyk_dev,
const char *config_fn, const RinkjDeviceParams *params)
{
- FILE *f = gp_fopen(config_fn, "r");
+ gp_file *f = gp_fopen(rdev->memory, config_fn, "r");
char linebuf[256];
char key[256];
char *val;
@@ -880,7 +880,7 @@ rinkj_set_luts(rinkj_device *rdev,
lutset.lut[i] = NULL;
}
for (;;) {
- if (fgets(linebuf, sizeof(linebuf), f) == NULL)
+ if (gp_fgets(linebuf, sizeof(linebuf), f) == NULL)
break;
for (i = 0; linebuf[i]; i++)
if (linebuf[i] == ':') break;
@@ -902,7 +902,7 @@ rinkj_set_luts(rinkj_device *rdev,
}
}
- fclose(f);
+ gp_fclose(f);
rinkj_apply_luts(rdev, cmyk_dev, &lutset);
/* todo: free lutset contents */
@@ -911,7 +911,7 @@ rinkj_set_luts(rinkj_device *rdev,
}
static RinkjDevice *
-rinkj_init(rinkj_device *rdev, FILE *file)
+rinkj_init(rinkj_device *rdev, gp_file *file)
{
RinkjByteStream *bs;
RinkjDevice *epson_dev;
@@ -1124,7 +1124,7 @@ rinkj_write_image_data(gx_device_printer *pdev, RinkjDevice *cmyk_dev)
}
static int
-rinkj_print_page(gx_device_printer *pdev, FILE *file)
+rinkj_print_page(gx_device_printer *pdev, gp_file *file)
{
rinkj_device *rdev = (rinkj_device *)pdev;
int code = 0;
diff --git a/devices/gdevsj48.c b/devices/gdevsj48.c
index f2e987562..4ef9ece18 100644
--- a/devices/gdevsj48.c
+++ b/devices/gdevsj48.c
@@ -78,7 +78,7 @@ gx_device_printer far_data gs_sj48_device =
/* Send the page to the printer. */
static int
-sj48_print_page(gx_device_printer *pdev, FILE *prn_stream)
+sj48_print_page(gx_device_printer *pdev, gp_file *prn_stream)
{ int line_size = gx_device_raster((gx_device *)pdev, 0);
int xres = pdev->x_pixels_per_inch;
int yres = pdev->y_pixels_per_inch;
@@ -109,7 +109,7 @@ sj48_print_page(gx_device_printer *pdev, FILE *prn_stream)
}
/* Initialize the printer. */
- fwrite("\033@\000\000", 1, 4, prn_stream); /* <Printer reset>, <0>, <0>. */
+ gp_fwrite("\033@\000\000", 1, 4, prn_stream); /* <Printer reset>, <0>, <0>. */
/* Transfer pixels to printer. The last row we can print is defined
by "last_row". Only the bottom of the print head can print at the
@@ -171,11 +171,11 @@ notz: ;
}
while ( skips > 255 )
- { fputs("\033J\377", prn_stream);
+ { gp_fputs("\033J\377", prn_stream);
skips -= 255;
}
if ( skips )
- fprintf(prn_stream, "\033J%c", skips);
+ gp_fprintf(prn_stream, "\033J%c", skips);
/* If we've printed as far as "limit", then reset "limit"
to "last_row" for the final printing pass. */
@@ -234,7 +234,7 @@ notz: ;
break;
if (outl > out_beg)
{ count = (outl - out_beg) / skip_unit;
- fprintf(prn_stream, "\033\\%c%c",
+ gp_fprintf(prn_stream, "\033\\%c%c",
count & 0xff, count >> 8);
}
@@ -259,22 +259,22 @@ notz: ;
Compare this with the <Esc>|*-command wich expects the
total number of bytes in the graphic row! */
int count1 = count/bytes_per_column;
- fprintf(prn_stream, "\033*%c%c%c",
+ gp_fprintf(prn_stream, "\033*%c%c%c",
mode, count1 & 0xff, count1 >> 8);
}
- fwrite(out_beg, 1, count, prn_stream);
+ gp_fwrite(out_beg, 1, count, prn_stream);
out_beg = outl;
outl += n;
}
while ( out_beg < out_end );
- fputc('\r', prn_stream);
+ gp_fputc('\r', prn_stream);
skip = bits_per_column; /* <CR> only moves to the beginning of the row. */
}
/* Eject the page */
-xit: fputc(014, prn_stream); /* form feed */
- fflush(prn_stream);
+xit: gp_fputc(014, prn_stream); /* form feed */
+ gp_fflush(prn_stream);
fin: if ( out != 0 )
gs_free(pdev->memory, (char *)out, bits_per_column, line_size,
"sj48_print_page(out)");
diff --git a/devices/gdevstc.c b/devices/gdevstc.c
index 9c95ac4aa..9040f062a 100644
--- a/devices/gdevstc.c
+++ b/devices/gdevstc.c
@@ -210,9 +210,9 @@ static stc_proc_iconvert(stc_cmyk10_dlong); /* CMYK10 direct longs */
/***
*** Print-functions
***/
-static void stc_print_weave(stcolor_device *sd,FILE *prn_stream);
-static void stc_print_bands(stcolor_device *sd,FILE *prn_stream);
-static void stc_print_delta(stcolor_device *sd,FILE *prn_stream);
+static void stc_print_weave(stcolor_device *sd, gp_file *prn_stream);
+static void stc_print_bands(stcolor_device *sd, gp_file *prn_stream);
+static void stc_print_delta(stcolor_device *sd, gp_file *prn_stream);
static int stc_print_setup(stcolor_device *sd);
/***
@@ -345,7 +345,7 @@ stc_print_setup(stcolor_device *sd)
***/
static int
-stc_print_page(gx_device_printer * pdev, FILE * prn_stream)
+stc_print_page(gx_device_printer * pdev, gp_file *prn_stream)
{
stcolor_device *sd = (stcolor_device *) pdev;
long flags = sd == NULL ? 0 : sd->stc.flags;
@@ -732,9 +732,9 @@ stc_print_page(gx_device_printer * pdev, FILE * prn_stream)
} /* Until all scans are processed */
if(sd->stc.flags & STCPRINT) {
- if((flags & STCCOMP) == STCDELTA) fputc(0xe3,prn_stream);
- fwrite(sd->stc.escp_release.data,1,sd->stc.escp_release.size,prn_stream);
- fflush(prn_stream);
+ if((flags & STCCOMP) == STCDELTA) gp_fputc(0xe3,prn_stream);
+ gp_fwrite(sd->stc.escp_release.data,1,sd->stc.escp_release.size,prn_stream);
+ gp_fflush(prn_stream);
}
#ifdef STC_SIGNAL
sigprocmask(SIG_SETMASK,&stc_int_save,NULL);
@@ -1109,7 +1109,7 @@ stc_rle(byte *out,const byte *in,int width)
* Horizontal & vertical positioning, color-selection, "ESC ."
*/
static int
-stc_print_escpcmd(stcolor_device *sd, FILE *prn_stream,
+stc_print_escpcmd(stcolor_device *sd, gp_file *prn_stream,
int escp_used, int color,int m,int wbytes)
{
@@ -1124,12 +1124,12 @@ stc_print_escpcmd(stcolor_device *sd, FILE *prn_stream,
*/
if(0 == (sd->stc.flags & STCPRINT)) {
- fwrite(sd->stc.escp_init.data,1,sd->stc.escp_init.size,prn_stream);
+ gp_fwrite(sd->stc.escp_init.data,1,sd->stc.escp_init.size,prn_stream);
if(0 < sd->stc.escp_lf) { /* Adjust Linefeed */
- fputc('\033', prn_stream);
- fputc('+', prn_stream);
- fputc(((sd->stc.escp_m*sd->stc.escp_u) / 10),prn_stream);
+ gp_fputc('\033', prn_stream);
+ gp_fputc('+', prn_stream);
+ gp_fputc(((sd->stc.escp_m*sd->stc.escp_u) / 10),prn_stream);
} /* Adjust Linefeed */
sd->stc.flags |= STCPRINT;
}
@@ -1202,7 +1202,7 @@ stc_bandwidth(stcolor_device *sd,int color,int m,int npass)
* Multi-Pass Printing-Routine
*/
static void
-stc_print_weave(stcolor_device *sd, FILE *prn_stream)
+stc_print_weave(stcolor_device *sd, gp_file *prn_stream)
{
int escp_used,nprint,nspace,color,buf_a,iprint,w;
@@ -1247,7 +1247,7 @@ stc_print_weave(stcolor_device *sd, FILE *prn_stream)
sd->stc.prt_data[buf_a],w);
}
- fwrite(sd->stc.escp_data,1,escp_used,prn_stream);
+ gp_fwrite(sd->stc.escp_data,1,escp_used,prn_stream);
escp_used = 0;
buf_a = (sd->stc.prt_buf-1) & (buf_a + ncolor * npass);
@@ -1263,7 +1263,7 @@ stc_print_weave(stcolor_device *sd, FILE *prn_stream)
escp_used += stc_rle(sd->stc.escp_data+escp_used,NULL,w);
}
- fwrite(sd->stc.escp_data,1,escp_used,prn_stream);
+ gp_fwrite(sd->stc.escp_data,1,escp_used,prn_stream);
escp_used = 0;
} /* add empty rows */
} /* print the colors */
@@ -1276,7 +1276,7 @@ stc_print_weave(stcolor_device *sd, FILE *prn_stream)
* Single-Pass printing-Routine
*/
static void
-stc_print_bands(stcolor_device *sd, FILE *prn_stream)
+stc_print_bands(stcolor_device *sd, gp_file *prn_stream)
{
int escp_used,color,buf_a,iprint,w,m;
@@ -1328,7 +1328,7 @@ stc_print_bands(stcolor_device *sd, FILE *prn_stream)
sd->stc.prt_data[buf_a],w);
}
- fwrite(sd->stc.escp_data,1,escp_used,prn_stream);
+ gp_fwrite(sd->stc.escp_data,1,escp_used,prn_stream);
escp_used = 0;
buf_a = (sd->stc.prt_buf-1) & (buf_a + ncolor);
@@ -1425,7 +1425,7 @@ stc_deltarow(byte *out,const byte *in,int width,byte *seed)
* Slightly different single-pass printing
*/
static void
-stc_print_delta(stcolor_device *sd, FILE *prn_stream)
+stc_print_delta(stcolor_device *sd, gp_file *prn_stream)
{
int color,buf_a,w;
@@ -1456,7 +1456,7 @@ stc_print_delta(stcolor_device *sd, FILE *prn_stream)
sd->stc.flags |= STCPRINT;
- fwrite(sd->stc.escp_init.data,1,sd->stc.escp_init.size,prn_stream);
+ gp_fwrite(sd->stc.escp_init.data,1,sd->stc.escp_init.size,prn_stream);
sd->stc.escp_data[escp_used++] = '\033';
sd->stc.escp_data[escp_used++] = '.';
@@ -1507,7 +1507,7 @@ stc_print_delta(stcolor_device *sd, FILE *prn_stream)
if(w == 0) escp_used -= 1;
else escp_used += w;
- if(escp_used > 0) fwrite(sd->stc.escp_data,1,escp_used,prn_stream);
+ if(escp_used > 0) gp_fwrite(sd->stc.escp_data,1,escp_used,prn_stream);
escp_used = 0;
} /* print the colors */
diff --git a/devices/gdevtfax.c b/devices/gdevtfax.c
index 4de785fe7..a29f06bd7 100644
--- a/devices/gdevtfax.c
+++ b/devices/gdevtfax.c
@@ -290,7 +290,7 @@ const gx_device_tfax gs_tiffpack_device = {
};
/* Forward references */
-static int tfax_begin_page(gx_device_tfax * tfdev, FILE * file);
+static int tfax_begin_page(gx_device_tfax * tfdev, gp_file * file);
static void
tfax_set_fields(gx_device_tfax *tfdev)
@@ -309,7 +309,7 @@ tfax_set_fields(gx_device_tfax *tfdev)
}
static int
-tiffcrle_print_page(gx_device_printer * dev, FILE * prn_stream)
+tiffcrle_print_page(gx_device_printer * dev, gp_file * prn_stream)
{
gx_device_tfax *tfdev = (gx_device_tfax *)dev;
@@ -321,7 +321,7 @@ tiffcrle_print_page(gx_device_printer * dev, FILE * prn_stream)
}
static int
-tiffg3_print_page(gx_device_printer * dev, FILE * prn_stream)
+tiffg3_print_page(gx_device_printer * dev, gp_file * prn_stream)
{
gx_device_tfax *tfdev = (gx_device_tfax *)dev;
@@ -335,7 +335,7 @@ tiffg3_print_page(gx_device_printer * dev, FILE * prn_stream)
}
static int
-tiffg32d_print_page(gx_device_printer * dev, FILE * prn_stream)
+tiffg32d_print_page(gx_device_printer * dev, gp_file * prn_stream)
{
gx_device_tfax *tfdev = (gx_device_tfax *)dev;
@@ -349,7 +349,7 @@ tiffg32d_print_page(gx_device_printer * dev, FILE * prn_stream)
}
static int
-tiffg4_print_page(gx_device_printer * dev, FILE * prn_stream)
+tiffg4_print_page(gx_device_printer * dev, gp_file * prn_stream)
{
gx_device_tfax *tfdev = (gx_device_tfax *)dev;
@@ -364,7 +364,7 @@ tiffg4_print_page(gx_device_printer * dev, FILE * prn_stream)
/* Print an LZW page. */
static int
-tifflzw_print_page(gx_device_printer * dev, FILE * prn_stream)
+tifflzw_print_page(gx_device_printer * dev, gp_file * prn_stream)
{
gx_device_tfax *const tfdev = (gx_device_tfax *)dev;
@@ -377,7 +377,7 @@ tifflzw_print_page(gx_device_printer * dev, FILE * prn_stream)
/* Print a PackBits page. */
static int
-tiffpack_print_page(gx_device_printer * dev, FILE * prn_stream)
+tiffpack_print_page(gx_device_printer * dev, gp_file * prn_stream)
{
gx_device_tfax *const tfdev = (gx_device_tfax *)dev;
@@ -390,7 +390,7 @@ tiffpack_print_page(gx_device_printer * dev, FILE * prn_stream)
/* Begin a TIFF fax page. */
static int
-tfax_begin_page(gx_device_tfax * tfdev, FILE * file)
+tfax_begin_page(gx_device_tfax * tfdev, gp_file * file)
{
gx_device_printer *const pdev = (gx_device_printer *)tfdev;
int code;
diff --git a/devices/gdevtfax.h b/devices/gdevtfax.h
index 15680c6a1..990e1f5c4 100644
--- a/devices/gdevtfax.h
+++ b/devices/gdevtfax.h
@@ -22,7 +22,7 @@
#include "gxclist.h"
#include "scfx.h"
-int gdev_fax_print_page_stripped(gx_device_printer *pdev, FILE *prn_stream,
+int gdev_fax_print_page_stripped(gx_device_printer *pdev, gp_file *prn_stream,
stream_CFE_state *ss, long rows_per_strip);
#endif /* gdevtfax_INCLUDED */
diff --git a/devices/gdevtfnx.c b/devices/gdevtfnx.c
index f51db2a61..f07cc153c 100644
--- a/devices/gdevtfnx.c
+++ b/devices/gdevtfnx.c
@@ -121,7 +121,7 @@ tiff_set_rgb_fields(gx_device_tiff *tfdev)
}
static int
-tiff12_print_page(gx_device_printer * pdev, FILE * file)
+tiff12_print_page(gx_device_printer * pdev, gp_file * file)
{
gx_device_tiff *const tfdev = (gx_device_tiff *)pdev;
int code;
@@ -180,7 +180,7 @@ tiff12_print_page(gx_device_printer * pdev, FILE * file)
}
static int
-tiff_rgb_print_page(gx_device_printer * pdev, FILE * file)
+tiff_rgb_print_page(gx_device_printer * pdev, gp_file * file)
{
gx_device_tiff *const tfdev = (gx_device_tiff *)pdev;
int code;
diff --git a/devices/gdevtifs.c b/devices/gdevtifs.c
index 977cfca3f..722640aa6 100644
--- a/devices/gdevtifs.c
+++ b/devices/gdevtifs.c
@@ -295,7 +295,7 @@ tiff_put_params_downscale_cmyk_ets(gx_device * dev, gs_param_list * plist)
}
int gdev_tiff_begin_page(gx_device_tiff *tfdev,
- FILE *file)
+ gp_file *file)
{
gx_device_printer *const pdev = (gx_device_printer *)tfdev;
cmm_dev_profile_t *profile_struct;
diff --git a/devices/gdevtifs.h b/devices/gdevtifs.h
index e20e8f233..cbdbb374f 100644
--- a/devices/gdevtifs.h
+++ b/devices/gdevtifs.h
@@ -77,7 +77,7 @@ int tiff_set_compression(gx_device_printer *pdev,
int tiff_set_fields_for_printer(gx_device_printer *pdev, TIFF *tif, int factor,
int adjustWidth, bool writedatetime);
-int gdev_tiff_begin_page(gx_device_tiff *tfdev, FILE *file);
+int gdev_tiff_begin_page(gx_device_tiff *tfdev, gp_file *file);
/*
* Returns the gs_param_string that corresponds to the tiff COMPRESSION_* id.
diff --git a/devices/gdevtknk.c b/devices/gdevtknk.c
index 14ab53124..cd88a42d4 100644
--- a/devices/gdevtknk.c
+++ b/devices/gdevtknk.c
@@ -115,7 +115,7 @@ tekink_map_color_rgb(gx_device *dev, gx_color_index color, ushort prgb[3])
/* Send the page to the printer. */
static int
-tekink_print_page(gx_device_printer *pdev,FILE *prn_stream)
+tekink_print_page(gx_device_printer *pdev, gp_file *prn_stream)
{
int line_size,color_line_size,scan_line,num_bytes,scan_lines,color_plane;
int roll_paper,out_line,micro_line,pending_micro_lines,line_blank,
@@ -207,14 +207,14 @@ tekink_print_page(gx_device_printer *pdev,FILE *prn_stream)
(out_line/4);
for (micro_line=0;micro_line<pending_micro_lines;
micro_line++){
- fputs("\033A",prn_stream);
+ gp_fputs("\033A",prn_stream);
}
out_line+=blank_lines;
blank_lines=0;
}
- fprintf(prn_stream,"\033I%c%03d",'0'+(out_line%4)+
- 4*color_plane,num_bytes);
- fwrite(outdata+1,1,num_bytes,prn_stream);
+ gp_fprintf(prn_stream,"\033I%c%03d",'0'+(out_line%4)+
+ 4*color_plane,num_bytes);
+ gp_fwrite(outdata+1,1,num_bytes,prn_stream);
}
} /* loop over color planes */
@@ -229,7 +229,7 @@ tekink_print_page(gx_device_printer *pdev,FILE *prn_stream)
else{
if (out_line%4==3){
/* Write micro line feed code */
- fputs("\033A",prn_stream);
+ gp_fputs("\033A",prn_stream);
}
out_line++;
}
@@ -238,14 +238,14 @@ tekink_print_page(gx_device_printer *pdev,FILE *prn_stream)
/* if the number of scan lines written is not a multiple of four,
write the final micro line feed code */
if (out_line%4){
- fputs("\033A",prn_stream);
+ gp_fputs("\033A",prn_stream);
}
/* Separate this plot from the next */
if (roll_paper){
- fputs("\n\n\n\n\n",prn_stream);
+ gp_fputs("\n\n\n\n\n",prn_stream);
}
else{
- fputs("\f",prn_stream);
+ gp_fputs("\f",prn_stream);
}
/* Deallocate temp buffer */
diff --git a/devices/gdevtsep.c b/devices/gdevtsep.c
index ffe31b608..4e302b6cf 100644
--- a/devices/gdevtsep.c
+++ b/devices/gdevtsep.c
@@ -292,13 +292,13 @@ tiff_set_gray_fields(gx_device_printer *pdev, TIFF *tif,
}
static int
-tiffgray_print_page(gx_device_printer * pdev, FILE * file)
+tiffgray_print_page(gx_device_printer * pdev, gp_file * file)
{
gx_device_tiff *const tfdev = (gx_device_tiff *)pdev;
int code;
if (tfdev->Compression==COMPRESSION_NONE &&
- pdev->height > ((unsigned long) 0xFFFFFFFF - ftell(file))/(pdev->width)) /* note width is never 0 in print_page */
+ pdev->height > ((unsigned long) 0xFFFFFFFF - gp_ftell(file))/(pdev->width)) /* note width is never 0 in print_page */
return_error(gs_error_rangecheck); /* this will overflow 32 bits */
code = gdev_tiff_begin_page(tfdev, file);
@@ -311,7 +311,7 @@ tiffgray_print_page(gx_device_printer * pdev, FILE * file)
}
static int
-tiffscaled_print_page(gx_device_printer * pdev, FILE * file)
+tiffscaled_print_page(gx_device_printer * pdev, gp_file * file)
{
gx_device_tiff *const tfdev = (gx_device_tiff *)pdev;
int code;
@@ -334,7 +334,7 @@ tiffscaled_print_page(gx_device_printer * pdev, FILE * file)
}
static int
-tiffscaled8_print_page(gx_device_printer * pdev, FILE * file)
+tiffscaled8_print_page(gx_device_printer * pdev, gp_file * file)
{
gx_device_tiff *const tfdev = (gx_device_tiff *)pdev;
int code;
@@ -393,7 +393,7 @@ tiff_set_rgb_fields(gx_device_tiff *tfdev)
static int
-tiffscaled24_print_page(gx_device_printer * pdev, FILE * file)
+tiffscaled24_print_page(gx_device_printer * pdev, gp_file * file)
{
gx_device_tiff *const tfdev = (gx_device_tiff *)pdev;
int code;
@@ -435,7 +435,7 @@ tiff_set_cmyk_fields(gx_device_printer *pdev, TIFF *tif,
}
static int
-tiffscaled32_print_page(gx_device_printer * pdev, FILE * file)
+tiffscaled32_print_page(gx_device_printer * pdev, gp_file * file)
{
gx_device_tiff *const tfdev = (gx_device_tiff *)pdev;
int code;
@@ -465,7 +465,7 @@ tiffscaled32_print_page(gx_device_printer * pdev, FILE * file)
}
static int
-tiffscaled4_print_page(gx_device_printer * pdev, FILE * file)
+tiffscaled4_print_page(gx_device_printer * pdev, gp_file * file)
{
gx_device_tiff *const tfdev = (gx_device_tiff *)pdev;
int code;
@@ -584,13 +584,13 @@ const gx_device_tiff gs_tiff64nc_device = {
/* ------ Private functions ------ */
static int
-tiffcmyk_print_page(gx_device_printer * pdev, FILE * file)
+tiffcmyk_print_page(gx_device_printer * pdev, gp_file * file)
{
gx_device_tiff *const tfdev = (gx_device_tiff *)pdev;
int code;
if (tfdev->Compression==COMPRESSION_NONE &&
- pdev->height > ((unsigned long) 0xFFFFFFFF - ftell(file))/(pdev->width)) /* note width is never 0 in print_page */
+ pdev->height > ((unsigned long) 0xFFFFFFFF - gp_ftell(file))/(pdev->width)) /* note width is never 0 in print_page */
return_error(gs_error_rangecheck); /* this will overflow 32 bits */
code = gdev_tiff_begin_page(tfdev, file);
@@ -634,7 +634,7 @@ static dev_proc_fill_path(sep1_fill_path);
gx_device_common;\
gx_prn_device_common;\
/* tiff state for separation files */\
- FILE *sep_file[GX_DEVICE_COLOR_MAX_COMPONENTS];\
+ gp_file *sep_file[GX_DEVICE_COLOR_MAX_COMPONENTS];\
TIFF *tiff[GX_DEVICE_COLOR_MAX_COMPONENTS]; \
bool NoSeparationFiles; /* true = no separation files created only a composite file */\
bool BigEndian; /* true = big endian; false = little endian */\
@@ -656,7 +656,7 @@ static dev_proc_fill_path(sep1_fill_path);
*/
typedef struct tiffsep_device_s {
tiffsep_devices_common;
- FILE *comp_file; /* Underlying file for tiff_comp */
+ gp_file *comp_file; /* Underlying file for tiff_comp */
TIFF *tiff_comp; /* tiff file for comp file */
gsicc_link_t *icclink; /* link profile if we are doing post rendering */
} tiffsep_device;
@@ -2291,7 +2291,7 @@ print_cmyk_equivalent_colors(tiffsep_device *tfdev, int num_comp, cmyk_composite
* MaxSeparations) are applied to the tiffsep device.
*/
static int
-tiffsep_print_page(gx_device_printer * pdev, FILE * file)
+tiffsep_print_page(gx_device_printer * pdev, gp_file * file)
{
tiffsep_device * const tfdev = (tiffsep_device *)pdev;
int num_std_colorants = tfdev->devn_params.num_std_colorant_names;
@@ -2346,7 +2346,7 @@ tiffsep_print_page(gx_device_printer * pdev, FILE * file)
if (!tfdev->comp_file) {
pdev->color_info.depth = dst_bpc*4; /* Create directory for 32 bit cmyk */
if (tfdev->Compression==COMPRESSION_NONE &&
- height > ((unsigned long) 0xFFFFFFFF - (file ? ftell(file) : 0))/(width*4)) { /* note width is never 0 in print_page */
+ height > ((unsigned long) 0xFFFFFFFF - (file ? gp_ftell(file) : 0))/(width*4)) { /* note width is never 0 in print_page */
dmprintf(pdev->memory, "CMYK composite file would be too large! Reduce resolution or enable compression.\n");
return_error(gs_error_rangecheck); /* this will overflow 32 bits */
}
@@ -2424,7 +2424,7 @@ tiffsep_print_page(gx_device_printer * pdev, FILE * file)
pdev->color_info.depth = dst_bpc; /* Create files for 8 bit gray */
pdev->color_info.num_components = 1;
if (tfdev->Compression == COMPRESSION_NONE &&
- height * 8 / dst_bpc > ((unsigned long)0xFFFFFFFF - (file ? ftell(file) : 0)) / width) /* note width is never 0 in print_page */
+ height * 8 / dst_bpc > ((unsigned long)0xFFFFFFFF - (file ? gp_ftell(file) : 0)) / width) /* note width is never 0 in print_page */
{
code = gs_note_error(gs_error_rangecheck); /* this will overflow 32 bits */
goto done;
@@ -2655,7 +2655,7 @@ done:
* MaxSeparations) are applied to the tiffsep device.
*/
static int
-tiffsep1_print_page(gx_device_printer * pdev, FILE * file)
+tiffsep1_print_page(gx_device_printer * pdev, gp_file * file)
{
tiffsep1_device * const tfdev = (tiffsep1_device *)pdev;
int num_std_colorants = tfdev->devn_params.num_std_colorant_names;
diff --git a/devices/gdevupd.c b/devices/gdevupd.c
index d8364c695..70148905a 100644
--- a/devices/gdevupd.c
+++ b/devices/gdevupd.c
@@ -647,7 +647,7 @@ typedef struct updscan_s { /* Single Scanline (1 Bit/Pixel) */
#define upd_proc_pxlget(name) uint32_t name(upd_p upd)
#define upd_proc_render(name) int name(upd_p upd)
-#define upd_proc_writer(name) int name(upd_p upd,FILE *out)
+#define upd_proc_writer(name) int name(upd_p upd, gp_file *out)
struct upd_s { /* All upd-specific data */
@@ -815,8 +815,8 @@ sequence (the Rasterfile header) since it would be a nuisance to provide
this code within each (test-)personalization in PostScript.
*/
static int upd_open_rascomp( upd_device *udev);
-static int upd_start_rascomp( upd_p upd, FILE *out);
-static int upd_rascomp( upd_p upd, FILE *out);
+static int upd_start_rascomp( upd_p upd, gp_file *out);
+static int upd_rascomp( upd_p upd, gp_file *out);
/**
The second format is ESC/P, the format introduced with the first Epson
@@ -827,7 +827,7 @@ which makes it the most sophisticated one inside this driver.
static void upd_limits( upd_p upd, bool check);
static int upd_open_wrtescp( upd_device *udev);
-static int upd_wrtescp( upd_p upd, FILE *out);
+static int upd_wrtescp( upd_p upd, gp_file *out);
/**
The third format is ESC/P2, the format use by the newer Epson-Printers.
@@ -838,28 +838,28 @@ The fourth writer is a ESC/P2-Writer, that supports X-Weaving
*/
static int upd_rle(byte *out,const byte *in,int nbytes);
static int upd_open_wrtescp2( upd_device *udev);
-static int upd_wrtescp2( upd_p upd, FILE *out);
-static int upd_wrtescp2x( upd_p upd, FILE *out);
+static int upd_wrtescp2( upd_p upd, gp_file *out);
+static int upd_wrtescp2x( upd_p upd, gp_file *out);
/**
The fifth writer is a HP-RTL/PCL-Writer
*/
static int upd_open_wrtrtl( upd_device *udev);
-static int upd_wrtrtl( upd_p upd, FILE *out);
+static int upd_wrtrtl( upd_p upd, gp_file *out);
/**
The sixth writer is for Canon Extended Mode (currently BJC610) (hr)
*/
static int upd_open_wrtcanon( upd_device *udev);
-static int upd_wrtcanon( upd_p upd, FILE *out);
+static int upd_wrtcanon( upd_p upd, gp_file *out);
/**
The seventh writer is for ESC P/2 Nozzle Map Mode (currently Stylus Color 300) (GR)
*/
-static int upd_wrtescnm( upd_p upd, FILE *out);
+static int upd_wrtescnm( upd_p upd, gp_file *out);
/**
Generalized Pixel Get & Read
@@ -1029,7 +1029,7 @@ usually opened several times, before obtaining a valid state.
*/
static int
-upd_print_page(gx_device_printer *pdev, FILE *out)
+upd_print_page(gx_device_printer *pdev, gp_file *out)
{
upd_device *const udev = (upd_device *) pdev;
const upd_p upd = udev->upd;
@@ -1071,14 +1071,14 @@ upd_print_page(gx_device_printer *pdev, FILE *out)
if(!(upd->flags & B_OPEN)) {
if(0 < upd->strings[S_OPEN].size)
- fwrite(upd->strings[S_OPEN].data,1,upd->strings[S_OPEN].size,out);
+ gp_fwrite(upd->strings[S_OPEN].data,1,upd->strings[S_OPEN].size,out);
upd->flags |= B_OPEN;
}
/*
* Always write the the Page-begin-sequence
*/
if(0 < upd->strings[S_BEGIN].size)
- fwrite(upd->strings[S_BEGIN].data,1,upd->strings[S_BEGIN].size,out);
+ gp_fwrite(upd->strings[S_BEGIN].data,1,upd->strings[S_BEGIN].size,out);
/*
* Establish page-variables
*/
@@ -1175,7 +1175,7 @@ upd_print_page(gx_device_printer *pdev, FILE *out)
if((upd->pheight > upd->yscan) &&
(0 < upd->strings[S_ABORT].size)) { /* Only This! */
- fwrite(upd->strings[S_ABORT].data,1,upd->strings[S_ABORT].size,out);
+ gp_fwrite(upd->strings[S_ABORT].data,1,upd->strings[S_ABORT].size,out);
upd->flags &= ~B_OPEN; /* Inhibit Close-Sequence ! */
/*
@@ -1184,7 +1184,7 @@ upd_print_page(gx_device_printer *pdev, FILE *out)
*/
} else if(0 < upd->strings[S_END].size) {
- fwrite(upd->strings[S_END].data,1,upd->strings[S_END].size,out);
+ gp_fwrite(upd->strings[S_END].data,1,upd->strings[S_END].size,out);
}
/*
* If necessary, write the close-sequence
@@ -1198,7 +1198,7 @@ upd_print_page(gx_device_printer *pdev, FILE *out)
fmt
) {
if (0 < upd->strings[S_CLOSE].size)
- fwrite(upd->strings[S_CLOSE].data,1,upd->strings[S_CLOSE].size,out);
+ gp_fwrite(upd->strings[S_CLOSE].data,1,upd->strings[S_CLOSE].size,out);
upd->flags &= ~B_OPEN;
}
}
@@ -1207,10 +1207,10 @@ upd_print_page(gx_device_printer *pdev, FILE *out)
* clean up, and return status
*/
- fflush(out); /* just to prepare for ferror */
+ gp_fflush(out); /* just to prepare for ferror */
if(upd->pheight > upd->yscan) error = gs_error_interrupt;
- else if(ferror(out)) error = gs_error_ioerror;
+ else if(gp_ferror(out)) error = gs_error_ioerror;
else error = 0;
#if UPD_MESSAGES & UPD_M_TOPCALLS
@@ -1479,8 +1479,8 @@ upd_close(gx_device *pdev)
((B_OPEN | B_OK4GO | B_ERROR) & upd->flags))) {
if(udev->file && upd->strings && 0 < upd->strings[S_CLOSE].size)
- fwrite(upd->strings[S_CLOSE].data,1,
- upd->strings[S_CLOSE].size,udev->file);
+ gp_fwrite(upd->strings[S_CLOSE].data,1,
+ upd->strings[S_CLOSE].size,udev->file);
upd->flags &= ~B_OPEN;
}
@@ -1726,7 +1726,7 @@ i am writing bad-nasty-hack-hack, visit http://www.zark.com )
if((0 == code) &&
strncmp((const char *)fname.data,udev->fname,fname.size)) {
if(upd->strings && 0 < udev->upd->strings[S_CLOSE].size)
- fwrite(upd->strings[S_CLOSE].data,1,
+ gp_fwrite(upd->strings[S_CLOSE].data,1,
upd->strings[S_CLOSE].size,udev->file);
upd->flags &= ~B_OPEN;
@@ -4652,17 +4652,17 @@ upd_open_rascomp(upd_device *udev)
/* ------------------------------------------------------------------- */
#if ARCH_IS_BIG_ENDIAN
#define put32(I32,Out) \
- fwrite(&I32,1,4,Out)
+ gp_fwrite(&I32,1,4,Out)
#else
#define put32(I32,Out) \
- putc(((I32)>>24)&255,Out),\
- putc(((I32)>>16)&255,Out),\
- putc(((I32)>> 8)&255,Out),\
- putc( (I32) &255,Out)
+ gp_fputc(((I32)>>24)&255,Out),\
+ gp_fputc(((I32)>>16)&255,Out),\
+ gp_fputc(((I32)>> 8)&255,Out),\
+ gp_fputc( (I32) &255,Out)
#endif
static int
-upd_start_rascomp(upd_p upd, FILE *out) {
+upd_start_rascomp(upd_p upd, gp_file *out) {
/** if no begin-sequence externally set */
if(0 == upd->strings[S_BEGIN].size) {
@@ -4708,13 +4708,13 @@ upd_start_rascomp(upd_p upd, FILE *out) {
const updcomp_p comp = upd->valptr[0];
if(upd->cmap[comp->cmap].rise) {
- putc((char) 0x00,out); putc((char) 0xff,out);
- putc((char) 0x00,out); putc((char) 0xff,out);
- putc((char) 0x00,out); putc((char) 0xff,out);
+ gp_fputc((char) 0x00,out); gp_fputc((char) 0xff,out);
+ gp_fputc((char) 0x00,out); gp_fputc((char) 0xff,out);
+ gp_fputc((char) 0x00,out); gp_fputc((char) 0xff,out);
} else {
- putc((char) 0xff,out); putc((char) 0x00,out);
- putc((char) 0xff,out); putc((char) 0x00,out);
- putc((char) 0xff,out); putc((char) 0x00,out);
+ gp_fputc((char) 0xff,out); gp_fputc((char) 0x00,out);
+ gp_fputc((char) 0xff,out); gp_fputc((char) 0x00,out);
+ gp_fputc((char) 0xff,out); gp_fputc((char) 0x00,out);
}
} else if(3 == upd->ncomp) { /* ??? upd->ocomp */
@@ -4725,7 +4725,7 @@ upd_start_rascomp(upd_p upd, FILE *out) {
for(entry = 0; entry < 8; ++entry) {
byte xval = upd->cmap[rgb].rise ? 0x00 : 0xff;
if(entry & (1<<upd->cmap[rgb].comp)) xval ^= 0xff;
- putc(xval,out);
+ gp_fputc(xval,out);
}
}
} else { /* we have 4 components */
@@ -4753,7 +4753,7 @@ upd_start_rascomp(upd_p upd, FILE *out) {
if(!(upd->choice[C_MAPPER] == MAP_RGBW)) rgbval ^= 0xffffff;
- putc((rgbval>>rgb)&255,out);
+ gp_fputc((rgbval>>rgb)&255,out);
}
}
}
@@ -4767,7 +4767,7 @@ upd_start_rascomp(upd_p upd, FILE *out) {
/* upd_rascomp: assemble & write a scanline */
/* ------------------------------------------------------------------- */
static int
-upd_rascomp(upd_p upd, FILE *out) {
+upd_rascomp(upd_p upd, gp_file *out) {
updscan_p scan = upd->scnbuf[upd->yscan & upd->scnmsk];
uint bits = upd->pwidth;
@@ -4801,7 +4801,7 @@ upd_rascomp(upd_p upd, FILE *out) {
}
}
- fwrite(upd->outbuf,1,upd->noutbuf,out);
+ gp_fwrite(upd->outbuf,1,upd->noutbuf,out);
upd->yscan += 1;
return 0;
@@ -4956,7 +4956,7 @@ It must hold:
/* ------------------------------------------------------------------- */
static int
-upd_wrtescp(upd_p upd, FILE *out)
+upd_wrtescp(upd_p upd, gp_file *out)
{
int pinbot,pin,pintop,xbegin,x,xend,icomp,ybegin,yend,y,ioutbuf,n,ixpass;
byte *obytes,bit;
@@ -5187,7 +5187,7 @@ upd_wrtescp(upd_p upd, FILE *out)
/*
* Send this Component to the Printer
*/
- fwrite(upd->outbuf,1,ioutbuf,out);
+ gp_fwrite(upd->outbuf,1,ioutbuf,out);
ioutbuf = 0;
} /* Component-Print */
} /* Some data to write */
@@ -5598,7 +5598,7 @@ It must hold:
/* ------------------------------------------------------------------- */
static int
-upd_wrtescp2(upd_p upd, FILE *out)
+upd_wrtescp2(upd_p upd, gp_file *out)
{
int pinbot,pin,pintop,xbegin,x,xend,icomp,ybegin,yend,y,ioutbuf,n;
byte *obytes;
@@ -5789,26 +5789,26 @@ upd_wrtescp2(upd_p upd, FILE *out)
*/
for(pin = 0; pin < pintop; ++pin) {
ioutbuf += upd_rle(upd->outbuf+ioutbuf,NULL,n);
- fwrite(upd->outbuf,1,ioutbuf,out);
+ gp_fwrite(upd->outbuf,1,ioutbuf,out);
ioutbuf = 0;
}
for(y = ybegin; 0 > y; y += upd->ints[I_NYPASS]) {
ioutbuf += upd_rle(upd->outbuf+ioutbuf,NULL,n);
- fwrite(upd->outbuf,1,ioutbuf,out);
+ gp_fwrite(upd->outbuf,1,ioutbuf,out);
ioutbuf = 0;
}
for(; y < yend; y += upd->ints[I_NYPASS]) {
ioutbuf += upd_rle(upd->outbuf+ioutbuf,
upd->scnbuf[y & upd->scnmsk][icomp].bytes+xbegin,n);
- fwrite(upd->outbuf,1,ioutbuf,out);
+ gp_fwrite(upd->outbuf,1,ioutbuf,out);
ioutbuf = 0;
}
for(pin = pinbot; pin < upd->ints[I_PINS2WRITE]; ++pin) {
ioutbuf += upd_rle(upd->outbuf+ioutbuf,NULL,n);
- fwrite(upd->outbuf,1,ioutbuf,out);
+ gp_fwrite(upd->outbuf,1,ioutbuf,out);
ioutbuf = 0;
}
} /* Component-Print */
@@ -5838,7 +5838,7 @@ upd_wrtescp2(upd_p upd, FILE *out)
/*GR copied from upd_wrtescp2 and modified */
static int
-upd_wrtescnm(upd_p upd, FILE *out)
+upd_wrtescnm(upd_p upd, gp_file *out)
{
int pinbot,pin,pintop,xbegin,x,xend,icomp,ybegin,yend,y,ioutbuf,n;
int irow,imask,iyofs;
@@ -6029,7 +6029,7 @@ upd_wrtescnm(upd_p upd, FILE *out)
for(i=0 ; i < upd->ints[I_PATRPT]; i++){
if(irow >= upd->ints[I_ROWS]) break;
ioutbuf += upd_rle(upd->outbuf+ioutbuf,NULL,n);
- fwrite(upd->outbuf,1,ioutbuf,out);
+ gp_fwrite(upd->outbuf,1,ioutbuf,out);
irow++;
ioutbuf = 0;
}
@@ -6043,7 +6043,7 @@ upd_wrtescnm(upd_p upd, FILE *out)
for(i=0 ; i < upd->ints[I_PATRPT]; i++){
if(irow >= upd->ints[I_ROWS]) break;
ioutbuf += upd_rle(upd->outbuf+ioutbuf,NULL,n);
- fwrite(upd->outbuf,1,ioutbuf,out);
+ gp_fwrite(upd->outbuf,1,ioutbuf,out);
ioutbuf = 0;
irow++;
}
@@ -6066,7 +6066,7 @@ upd_wrtescnm(upd_p upd, FILE *out)
upd->scnbuf[(y+iyofs) & upd->scnmsk][icomp].bytes+xbegin,n);
yinc+=upd->ints[I_NYPASS];
}
- fwrite(upd->outbuf,1,ioutbuf,out);
+ gp_fwrite(upd->outbuf,1,ioutbuf,out);
ioutbuf = 0;
irow++;
}
@@ -6084,7 +6084,7 @@ upd_wrtescnm(upd_p upd, FILE *out)
for(i=0 ; i < upd->ints[I_PATRPT]; i++){
if(irow >= upd->ints[I_ROWS]) break;
ioutbuf += upd_rle(upd->outbuf+ioutbuf,NULL,n);
- fwrite(upd->outbuf,1,ioutbuf,out);
+ gp_fwrite(upd->outbuf,1,ioutbuf,out);
ioutbuf = 0;
irow++;
}
@@ -6094,7 +6094,7 @@ upd_wrtescnm(upd_p upd, FILE *out)
if (irow < upd->ints[I_ROWS]) {
for( ; irow < upd->ints[I_ROWS]; irow++){
ioutbuf += upd_rle(upd->outbuf+ioutbuf,NULL,n);
- fwrite(upd->outbuf,1,ioutbuf,out);
+ gp_fwrite(upd->outbuf,1,ioutbuf,out);
ioutbuf = 0;
}
}
@@ -6123,7 +6123,7 @@ upd_wrtescnm(upd_p upd, FILE *out)
/* ------------------------------------------------------------------- */
static int
-upd_wrtescp2x(upd_p upd, FILE *out)
+upd_wrtescp2x(upd_p upd, gp_file *out)
{
int pinbot,pin,pintop,xbegin,x,xend,icomp,ybegin,yend,y,ioutbuf,n,ixpass;
byte *obytes,bit;
@@ -6313,13 +6313,13 @@ upd_wrtescp2x(upd_p upd, FILE *out)
*/
for(pin = 0; pin < pintop; ++pin) {
ioutbuf += upd_rle(upd->outbuf+ioutbuf,NULL,n);
- fwrite(upd->outbuf+upd->nbytes,1,ioutbuf-upd->nbytes,out);
+ gp_fwrite(upd->outbuf+upd->nbytes,1,ioutbuf-upd->nbytes,out);
ioutbuf = upd->nbytes;
}
for(y = ybegin; 0 > y; y += upd->ints[I_NYPASS]) {
ioutbuf += upd_rle(upd->outbuf+ioutbuf,NULL,n);
- fwrite(upd->outbuf+upd->nbytes,1,ioutbuf-upd->nbytes,out);
+ gp_fwrite(upd->outbuf+upd->nbytes,1,ioutbuf-upd->nbytes,out);
ioutbuf = upd->nbytes;
}
@@ -6333,13 +6333,13 @@ upd_wrtescp2x(upd_p upd, FILE *out)
if(!(bit >>= 1)) { obytes++; bit = 0x80; }
}
ioutbuf += upd_rle(upd->outbuf+ioutbuf,upd->outbuf,n);
- fwrite(upd->outbuf+upd->nbytes,1,ioutbuf-upd->nbytes,out);
+ gp_fwrite(upd->outbuf+upd->nbytes,1,ioutbuf-upd->nbytes,out);
ioutbuf = upd->nbytes;
}
for(pin = pinbot; pin < upd->ints[I_PINS2WRITE]; ++pin) {
ioutbuf += upd_rle(upd->outbuf+ioutbuf,NULL,n);
- fwrite(upd->outbuf+upd->nbytes,1,ioutbuf-upd->nbytes,out);
+ gp_fwrite(upd->outbuf+upd->nbytes,1,ioutbuf-upd->nbytes,out);
ioutbuf = upd->nbytes;
}
} /* Component-Print */
@@ -6980,7 +6980,7 @@ It must hold:
/* ------------------------------------------------------------------- */
static int
-upd_wrtrtl(upd_p upd, FILE *out)
+upd_wrtrtl(upd_p upd, gp_file *out)
{
const updscan_p scan = upd->scnbuf[upd->yscan & upd->scnmsk];
@@ -7018,13 +7018,13 @@ upd_wrtrtl(upd_p upd, FILE *out)
(const char *) upd->string_a[SA_WRITECOMP].data[icomp].data,0);
ioutbuf += strlen((char *)upd->outbuf+ioutbuf);
}
- fwrite(upd->outbuf,1,ioutbuf,out);
+ gp_fwrite(upd->outbuf,1,ioutbuf,out);
ioutbuf = 0;
upd->yprinter += 1;
}
}
upd->yprinter = upd->yscan;
- fwrite(upd->outbuf,1,ioutbuf,out);
+ gp_fwrite(upd->outbuf,1,ioutbuf,out);
ioutbuf = 0;
} /* Adjust Y-Position */
/*
@@ -7035,11 +7035,11 @@ upd_wrtrtl(upd_p upd, FILE *out)
for(x = 0; x <= xend; ++x) if(data[x]) break;
if(x <= xend) {
ioutbuf = upd_rle(upd->outbuf,scan[icomp].bytes,xend);
- fprintf(out,
+ gp_fprintf(out,
(const char *)upd->string_a[SA_WRITECOMP].data[icomp].data,ioutbuf);
- fwrite(upd->outbuf,1,ioutbuf,out);
+ gp_fwrite(upd->outbuf,1,ioutbuf,out);
} else {
- fprintf(out,
+ gp_fprintf(out,
(const char *)upd->string_a[SA_WRITECOMP].data[icomp].data,0);
}
}
@@ -7083,7 +7083,7 @@ upd_open_wrtcanon(upd_device *udev)
#define CR 0x0D
static int
-upd_wrtcanon(upd_p upd, FILE *out)
+upd_wrtcanon(upd_p upd, gp_file *out)
{
const updscan_p scan = upd->scnbuf[upd->yscan & upd->scnmsk];
@@ -7109,13 +7109,13 @@ upd_wrtcanon(upd_p upd, FILE *out)
if(upd->yscan != upd->yprinter) {
step = upd->yscan - upd->yprinter;
- fputc(ESC, out);
- fputc('(', out);
- fputc('e', out);
- fputc(2, out);
- fputc(0, out);
- fputc(HIGH(step), out);
- fputc(LOW(step), out);
+ gp_fputc(ESC, out);
+ gp_fputc('(', out);
+ gp_fputc('e', out);
+ gp_fputc(2, out);
+ gp_fputc(0, out);
+ gp_fputc(HIGH(step), out);
+ gp_fputc(LOW(step), out);
upd->yprinter = upd->yscan;
}
@@ -7136,37 +7136,37 @@ upd_wrtcanon(upd_p upd, FILE *out)
ioutbuf1 = ioutbuf + 1;
/* prints the scan line */
- fputc(ESC, out);
- fputc('(', out);
- fputc('A', out);
- fputc(LOW(ioutbuf1), out);
- fputc(HIGH(ioutbuf1), out);
+ gp_fputc(ESC, out);
+ gp_fputc('(', out);
+ gp_fputc('A', out);
+ gp_fputc(LOW(ioutbuf1), out);
+ gp_fputc(HIGH(ioutbuf1), out);
switch(upd->ocomp) {
- case 1: fputc('K',out); break;
+ case 1: gp_fputc('K',out); break;
case 3:
- case 4: fputc("YMCK"[icomp],out); break;
+ case 4: gp_fputc("YMCK"[icomp],out); break;
/*
* Please Note:
* the validity of the NCOMP-setting should be checked
* in the put_params-routine, thus the default-case is
* just a matter of coding-style.
*/
- default: fputc('K',out); break;
+ default: gp_fputc('K',out); break;
}
- fwrite(upd->outbuf, 1, ioutbuf, out);
+ gp_fwrite(upd->outbuf, 1, ioutbuf, out);
- fputc(CR, out);
+ gp_fputc(CR, out);
}
/* Printer advances one raster line */
- fputc(ESC, out);
- fputc('(', out);
- fputc('e', out);
- fputc(2, out);
- fputc(0, out);
- fputc(HIGH(1), out);
- fputc(LOW(1), out);
+ gp_fputc(ESC, out);
+ gp_fputc('(', out);
+ gp_fputc('e', out);
+ gp_fputc(2, out);
+ gp_fputc(0, out);
+ gp_fputc(HIGH(1), out);
+ gp_fputc(LOW(1), out);
upd->yprinter += 1;
diff --git a/devices/gdevwpr2.c b/devices/gdevwpr2.c
index c80830b38..5a38436e0 100644
--- a/devices/gdevwpr2.c
+++ b/devices/gdevwpr2.c
@@ -253,7 +253,7 @@ win_pr2_open(gx_device * dev)
POINT offset;
POINT size;
float m[4];
- FILE *pfile;
+ gp_file *pfile;
DOCINFO docinfo;
float ratio = 1.0;
gx_device_win_pr2 *wdev = (gx_device_win_pr2 *)dev;
@@ -398,7 +398,7 @@ win_pr2_open(gx_device * dev)
pfile = gp_open_scratch_file(dev->memory,
gp_scratch_file_name_prefix,
wdev->fname, "wb");
- fclose(pfile);
+ gp_fclose(pfile);
code = gdev_prn_open(dev);
/* If we subclassed the device, with a FirstPage LastPage device,
@@ -488,7 +488,7 @@ win_pr2_close(gx_device * dev)
/* Write BMP header to memory, then send bitmap to printer */
/* one scan line at a time */
static int
-win_pr2_print_page(gx_device_printer * pdev, FILE * file)
+win_pr2_print_page(gx_device_printer * pdev, gp_file * file)
{
int raster = gdev_prn_raster(pdev);
diff --git a/devices/gdevxcf.c b/devices/gdevxcf.c
index 9003ecc88..39c72831d 100644
--- a/devices/gdevxcf.c
+++ b/devices/gdevxcf.c
@@ -987,7 +987,7 @@ xcf_get_color_comp_index(gx_device * dev, const char * pname, int name_size,
#endif
typedef struct {
- FILE *f;
+ gp_file *f;
int offset;
int width;
@@ -1049,7 +1049,7 @@ static int
xcf_write(xcf_write_ctx *xc, const byte *buf, int size) {
int code;
- code = fwrite(buf, 1, size, xc->f);
+ code = gp_fwrite(buf, 1, size, xc->f);
if (code < 0)
return code;
xc->offset += code;
@@ -1390,7 +1390,7 @@ xcf_write_footer(xcf_write_ctx *xc, xcf_device *pdev)
}
static int
-xcf_print_page(gx_device_printer *pdev, FILE *file)
+xcf_print_page(gx_device_printer *pdev, gp_file *file)
{
xcf_write_ctx xc;
diff --git a/devices/rinkj/rinkj-byte-stream.c b/devices/rinkj/rinkj-byte-stream.c
index a94d364f9..6019ec187 100644
--- a/devices/rinkj/rinkj-byte-stream.c
+++ b/devices/rinkj/rinkj-byte-stream.c
@@ -62,7 +62,7 @@ typedef struct _RinkjByteStreamFile RinkjByteStreamFile;
struct _RinkjByteStreamFile {
RinkjByteStream super;
- FILE *f;
+ gp_file *f;
};
static int
@@ -86,7 +86,7 @@ rinkj_byte_stream_file_write (RinkjByteStream *self, const char *buf, int size)
#ifdef DEBUG_OUT
return 0;
#endif
- status = fwrite (buf, 1, size, z->f);
+ status = gp_fwrite(buf, 1, size, z->f);
if (status == size)
return 0;
else
@@ -95,7 +95,7 @@ rinkj_byte_stream_file_write (RinkjByteStream *self, const char *buf, int size)
}
RinkjByteStream *
-rinkj_byte_stream_file_new (FILE *f)
+rinkj_byte_stream_file_new (gp_file *f)
{
RinkjByteStreamFile *result;
diff --git a/devices/rinkj/rinkj-byte-stream.h b/devices/rinkj/rinkj-byte-stream.h
index 2004c114d..d0cef54af 100644
--- a/devices/rinkj/rinkj-byte-stream.h
+++ b/devices/rinkj/rinkj-byte-stream.h
@@ -14,6 +14,8 @@
*/
+#include "gp.h"
+
/* Bytestream abstraction for Rinkj driver. */
typedef struct _RinkjByteStream RinkjByteStream;
@@ -35,4 +37,4 @@ int
rinkj_byte_stream_close (RinkjByteStream *bs);
RinkjByteStream *
-rinkj_byte_stream_file_new (FILE *f);
+rinkj_byte_stream_file_new (gp_file *f);
diff --git a/devices/vector/gdevpdf.c b/devices/vector/gdevpdf.c
index 169306ee8..e8deed46e 100644
--- a/devices/vector/gdevpdf.c
+++ b/devices/vector/gdevpdf.c
@@ -265,7 +265,7 @@ static int
pdf_close_temp_file(gx_device_pdf *pdev, pdf_temp_file_t *ptf, int code)
{
int err = 0;
- FILE *file = ptf->file;
+ gp_file *file = ptf->file;
/*
* ptf->strm == 0 or ptf->file == 0 is only possible if this procedure
@@ -287,7 +287,7 @@ pdf_close_temp_file(gx_device_pdf *pdev, pdf_temp_file_t *ptf, int code)
ptf->strm = 0;
}
if (file) {
- err = ferror(file) | fclose(file);
+ err = gp_ferror(file) | gp_fclose(file);
unlink(ptf->file_name);
ptf->file = 0;
}
@@ -329,7 +329,7 @@ pdf_open_temp_file(gx_device_pdf *pdev, pdf_temp_file_t *ptf)
strcpy(fmode, "w+");
strcat(fmode, gp_fmode_binary_suffix);
- ptf->file = gp_open_scratch_file_64(pdev->memory,
+ ptf->file = gp_open_scratch_file(pdev->memory,
gp_scratch_file_name_prefix,
ptf->file_name,
fmode);
@@ -889,15 +889,15 @@ pdf_open(gx_device * dev)
static int
pdf_ferror(gx_device_pdf *pdev)
{
- fflush(pdev->file);
- fflush(pdev->xref.file);
+ gp_fflush(pdev->file);
+ gp_fflush(pdev->xref.file);
sflush(pdev->strm);
sflush(pdev->asides.strm);
sflush(pdev->streams.strm);
sflush(pdev->pictures.strm);
- return ferror(pdev->file) || ferror(pdev->xref.file) ||
- ferror(pdev->asides.file) || ferror(pdev->streams.file) ||
- ferror(pdev->pictures.file);
+ return gp_ferror(pdev->file) || gp_ferror(pdev->xref.file) ||
+ gp_ferror(pdev->asides.file) || gp_ferror(pdev->streams.file) ||
+ gp_ferror(pdev->pictures.file);
}
/* Compute the dominant text orientation of a page. */
@@ -1446,18 +1446,18 @@ pdf_output_page(gx_device * dev, int num_copies, int flush)
return code;
}
-static int find_end_xref_section (gx_device_pdf *pdev, FILE *tfile, int64_t start, gs_offset_t resource_pos)
+static int find_end_xref_section (gx_device_pdf *pdev, gp_file *tfile, int64_t start, gs_offset_t resource_pos)
{
int64_t start_offset = (start - pdev->FirstObjectNumber) * sizeof(gs_offset_t);
- if (gp_fseek_64(tfile, start_offset, SEEK_SET) == 0)
+ if (gp_fseek(tfile, start_offset, SEEK_SET) == 0)
{
long i, r;
for (i = start; i < pdev->next_id; ++i) {
gs_offset_t pos;
- r = fread(&pos, sizeof(pos), 1, tfile);
+ r = gp_fread(&pos, sizeof(pos), 1, tfile);
if (r != 1)
return(gs_note_error(gs_error_ioerror));
if (pos & ASIDES_BASE_POSITION)
@@ -1471,11 +1471,11 @@ static int find_end_xref_section (gx_device_pdf *pdev, FILE *tfile, int64_t star
return pdev->next_id;
}
-static int write_xref_section(gx_device_pdf *pdev, FILE *tfile, int64_t start, int end, gs_offset_t resource_pos, gs_offset_t *Offsets)
+static int write_xref_section(gx_device_pdf *pdev, gp_file *tfile, int64_t start, int end, gs_offset_t resource_pos, gs_offset_t *Offsets)
{
int64_t start_offset = (start - pdev->FirstObjectNumber) * sizeof(gs_offset_t);
- if (gp_fseek_64(tfile, start_offset, SEEK_SET) == 0)
+ if (gp_fseek(tfile, start_offset, SEEK_SET) == 0)
{
long i, r;
@@ -1483,7 +1483,7 @@ static int write_xref_section(gx_device_pdf *pdev, FILE *tfile, int64_t start, i
gs_offset_t pos;
char str[21];
- r = fread(&pos, sizeof(pos), 1, tfile);
+ r = gp_fread(&pos, sizeof(pos), 1, tfile);
if (r != 1)
return(gs_note_error(gs_error_ioerror));
if (pos & ASIDES_BASE_POSITION)
@@ -1527,20 +1527,20 @@ rewrite_object(gx_device_pdf *const pdev, pdf_linearisation_t *linear_params, in
if (Scratch == 0L)
return (gs_note_error(gs_error_VMerror));
- pdev->ResourceUsage[object].LinearisedOffset = gp_ftell_64(linear_params->Lin_File.file);
- code = gp_fseek_64(linear_params->sfile, pdev->ResourceUsage[object].OriginalOffset, SEEK_SET);
+ pdev->ResourceUsage[object].LinearisedOffset = gp_ftell(linear_params->Lin_File.file);
+ code = gp_fseek(linear_params->sfile, pdev->ResourceUsage[object].OriginalOffset, SEEK_SET);
if (code < 0)
return code;
read = 0;
do {
- code = fread(&c, 1, 1, linear_params->sfile);
+ code = gp_fread(&c, 1, 1, linear_params->sfile);
read++;
} while (c != '\n' && code > 0);
gs_sprintf(Scratch, "%d 0 obj\n", pdev->ResourceUsage[object].NewObjectNumber);
- fwrite(Scratch, strlen(Scratch), 1, linear_params->Lin_File.file);
+ gp_fwrite(Scratch, strlen(Scratch), 1, linear_params->Lin_File.file);
- code = fread(&c, 1, 1, linear_params->sfile);
+ code = gp_fread(&c, 1, 1, linear_params->sfile);
if (code != 1)
return_error(gs_error_ioerror);
@@ -1550,7 +1550,7 @@ rewrite_object(gx_device_pdf *const pdev, pdf_linearisation_t *linear_params, in
Scratch[index++] = c;
do {
do {
- code = fread(&c, 1, 1, linear_params->sfile);
+ code = gp_fread(&c, 1, 1, linear_params->sfile);
Scratch[index++] = c;
read++;
if (index == ScratchSize - 2) {
@@ -1573,7 +1573,7 @@ rewrite_object(gx_device_pdf *const pdev, pdf_linearisation_t *linear_params, in
} while (code);
} else {
Scratch[0] = 0;
- fwrite(&c, 1, 1, linear_params->Lin_File.file);
+ gp_fwrite(&c, 1, 1, linear_params->Lin_File.file);
}
Size -= read;
@@ -1588,27 +1588,27 @@ rewrite_object(gx_device_pdf *const pdev, pdf_linearisation_t *linear_params, in
}while (*target >= '0' && *target <= '9');
target++;
sscanf(target, "%d 0 R", &ID);
- fwrite(source, target - source, 1, linear_params->Lin_File.file);
+ gp_fwrite(source, target - source, 1, linear_params->Lin_File.file);
gs_sprintf(Buf, "%d 0 R", pdev->ResourceUsage[ID].NewObjectNumber);
- fwrite(Buf, strlen(Buf), 1, linear_params->Lin_File.file);
+ gp_fwrite(Buf, strlen(Buf), 1, linear_params->Lin_File.file);
source = next;
} else {
- fwrite(source, strlen(source), 1, linear_params->Lin_File.file);
+ gp_fwrite(source, strlen(source), 1, linear_params->Lin_File.file);
}
} while (target);
while (Size) {
if (Size > ScratchSize) {
- code = fread(Scratch, ScratchSize, 1, linear_params->sfile);
+ code = gp_fread(Scratch, ScratchSize, 1, linear_params->sfile);
if (code != 1)
return_error(gs_error_ioerror);
- fwrite(Scratch, ScratchSize, 1, linear_params->Lin_File.file);
+ gp_fwrite(Scratch, ScratchSize, 1, linear_params->Lin_File.file);
Size -= 16384;
} else {
- code = fread(Scratch, Size, 1, linear_params->sfile);
+ code = gp_fread(Scratch, Size, 1, linear_params->sfile);
if (code != 1)
return_error(gs_error_ioerror);
- fwrite(Scratch, Size, 1, linear_params->Lin_File.file);
+ gp_fwrite(Scratch, Size, 1, linear_params->Lin_File.file);
Size = 0;
}
};
@@ -1621,7 +1621,7 @@ static int flush_hint_stream(pdf_linearisation_t *linear_params)
{
int code;
- code = fwrite(linear_params->HintBuffer, linear_params->HintByte, 1, linear_params->sfile);
+ code = gp_fwrite(linear_params->HintBuffer, linear_params->HintByte, 1, linear_params->sfile);
linear_params->HintBits = 0;
linear_params->HintByte = 0;
return code;
@@ -1689,7 +1689,7 @@ static int pdf_linearise(gx_device_pdf *pdev, pdf_linearisation_t *linear_params
/* Make sure we've written everything to the main file */
sflush(pdev->strm);
linear_params->sfile = pdev->file;
- linear_params->MainFileEnd = gp_ftell_64(pdev->file);
+ linear_params->MainFileEnd = gp_ftell(pdev->file);
#ifdef LINEAR_DEBUGGING
code = gx_device_open_output_file((gx_device *)pdev, "/temp/linear.pdf",
true, true, &linear_params->Lin_File.file);
@@ -1779,39 +1779,39 @@ static int pdf_linearise(gx_device_pdf *pdev, pdf_linearisation_t *linear_params
#endif
/* Linearisation. Part 1, file header */
gs_sprintf(Header, "%%PDF-%d.%d\n", level / 10, level % 10);
- fwrite(Header, strlen(Header), 1, linear_params->Lin_File.file);
+ gp_fwrite(Header, strlen(Header), 1, linear_params->Lin_File.file);
if (pdev->binary_ok)
- fwrite(Binary, strlen(Binary), 1, linear_params->Lin_File.file);
+ gp_fwrite(Binary, strlen(Binary), 1, linear_params->Lin_File.file);
pdf_record_usage(pdev, linear_params->LastResource + 1, resource_usage_part1_structure);
pdev->ResourceUsage[linear_params->LastResource + 1].OriginalOffset = 0;
pdev->ResourceUsage[linear_params->LastResource + 1].NewObjectNumber = LDictObj;
- pdev->ResourceUsage[linear_params->LastResource + 1].LinearisedOffset = gp_ftell_64(linear_params->Lin_File.file);
+ pdev->ResourceUsage[linear_params->LastResource + 1].LinearisedOffset = gp_ftell(linear_params->Lin_File.file);
/* Linearisation. Part 2, the Linearisation dictioanry */
- linear_params->LDictOffset = gp_ftell_64(linear_params->Lin_File.file);
+ linear_params->LDictOffset = gp_ftell(linear_params->Lin_File.file);
gs_sprintf(LDict, "%d 0 obj\n<< \n",
LDictObj);
- fwrite(LDict, strlen(LDict), 1, linear_params->Lin_File.file);
+ gp_fwrite(LDict, strlen(LDict), 1, linear_params->Lin_File.file);
/* First page cross-reference table here (Part 3) */
- linear_params->FirstxrefOffset = gp_ftell_64(linear_params->Lin_File.file);
+ linear_params->FirstxrefOffset = gp_ftell(linear_params->Lin_File.file);
gs_sprintf(Header, "xref\n%d %d\n", LDictObj, Part1To6 - LDictObj + 1); /* +1 for the primary hint stream */
- fwrite(Header, strlen(Header), 1, linear_params->Lin_File.file);
+ gp_fwrite(Header, strlen(Header), 1, linear_params->Lin_File.file);
gs_sprintf(Header, "0000000000 00000 n \n");
for (i = LDictObj;i <= linear_params->LastResource + 2; i++) {
- fwrite(Header, 20, 1, linear_params->Lin_File.file);
+ gp_fwrite(Header, 20, 1, linear_params->Lin_File.file);
}
/* Size below is given as the Last Resource in the original file, +1 for object 0 (always free)
* +1 for the linearisation dict and +1 for the primary hint stream.
*/
- linear_params->FirsttrailerOffset = gp_ftell_64(linear_params->Lin_File.file);
+ linear_params->FirsttrailerOffset = gp_ftell(linear_params->Lin_File.file);
gs_sprintf(LDict, "\ntrailer\n<</Size %ld/Info %d 0 R/Root %d 0 R/ID[%s%s]/Prev %d>>\nstartxref\r\n0\n%%%%EOF\n \n",
linear_params->LastResource + 3, pdev->ResourceUsage[linear_params->Info_id].NewObjectNumber, pdev->ResourceUsage[linear_params->Catalog_id].NewObjectNumber, fileID, fileID, 0);
- fwrite(LDict, strlen(LDict), 1, linear_params->Lin_File.file);
+ gp_fwrite(LDict, strlen(LDict), 1, linear_params->Lin_File.file);
/* Write document catalog (Part 4) */
code = rewrite_object(pdev, linear_params, linear_params->Catalog_id);
@@ -1819,7 +1819,7 @@ static int pdf_linearise(gx_device_pdf *pdev, pdf_linearisation_t *linear_params
goto error;
/* In here we need the ViewerPreferences (don't think we support this),
- * the PaegMode entry (I think this would be direct in the catalog), The
+ * the PageMode entry (I think this would be direct in the catalog), The
* Threads entry (if any), The OpenAction (again, direct object ?) The
* AcroForm object (don't think we support this) and (TaDa) the Encrypt entry
* in the first page trailer dictionary.
@@ -1844,7 +1844,7 @@ static int pdf_linearise(gx_device_pdf *pdev, pdf_linearisation_t *linear_params
goto error;
}
}
- linear_params->E = gp_ftell_64(linear_params->Lin_File.file);
+ linear_params->E = gp_ftell(linear_params->Lin_File.file);
/* Primary Hint Stream here (Part 5)
* this is a FIXME
@@ -1853,7 +1853,7 @@ static int pdf_linearise(gx_device_pdf *pdev, pdf_linearisation_t *linear_params
pdf_record_usage(pdev, HintStreamObj, resource_usage_part1_structure);
pdev->ResourceUsage[HintStreamObj].OriginalOffset = 0;
pdev->ResourceUsage[HintStreamObj].NewObjectNumber = HintStreamObj;
- pdev->ResourceUsage[HintStreamObj].LinearisedOffset = gp_ftell_64(linear_params->Lin_File.file);
+ pdev->ResourceUsage[HintStreamObj].LinearisedOffset = gp_ftell(linear_params->Lin_File.file);
/* We don't actually embed the hint stream yet. We will do this when we copy the 'linearised'
* PDF file from the temp file back to the main file, and will insert the hint stream at this point.
@@ -1906,31 +1906,31 @@ static int pdf_linearise(gx_device_pdf *pdev, pdf_linearisation_t *linear_params
/* Now copy the linearised data back to the main file, as far as the offset of the
* primary hint stream
*/
- if (gp_fseek_64(linear_params->Lin_File.file, 0, SEEK_SET) != 0) {
+ if (gp_fseek(linear_params->Lin_File.file, 0, SEEK_SET) != 0) {
code = gs_error_ioerror;
goto error;
}
- if (gp_fseek_64(linear_params->sfile, 0, SEEK_SET) != 0){
+ if (gp_fseek(linear_params->sfile, 0, SEEK_SET) != 0){
code = gs_error_ioerror;
goto error;
}
Length = pdev->ResourceUsage[HintStreamObj].LinearisedOffset;
while (Length && code >= 0) {
if (Length > 1024) {
- code = fread(Buffer, 1024, 1, linear_params->Lin_File.file);
- fwrite(Buffer, 1024, 1, linear_params->sfile);
+ code = gp_fread(Buffer, 1024, 1, linear_params->Lin_File.file);
+ gp_fwrite(Buffer, 1024, 1, linear_params->sfile);
Length -= 1024;
} else {
- code = fread(Buffer, Length, 1, linear_params->Lin_File.file);
- fwrite(Buffer, Length, 1, linear_params->sfile);
+ code = gp_fread(Buffer, Length, 1, linear_params->Lin_File.file);
+ gp_fwrite(Buffer, Length, 1, linear_params->sfile);
Length = 0;
}
}
/* insert the primary hint stream */
gs_sprintf(LDict, "%d 0 obj\n<</Length \n/S >>\nstream\n", HintStreamObj);
- fwrite(LDict, strlen(LDict), 1, linear_params->sfile);
+ gp_fwrite(LDict, strlen(LDict), 1, linear_params->sfile);
- HintStreamStart = gp_ftell_64(linear_params->sfile);
+ HintStreamStart = gp_ftell(linear_params->sfile);
memset(linear_params->HintBuffer, 0x00, 256);
linear_params->HintBits = linear_params->HintByte = 0;
@@ -2175,7 +2175,7 @@ static int pdf_linearise(gx_device_pdf *pdev, pdf_linearisation_t *linear_params
}
flush_hint_stream(linear_params);
- SharedHintOffset = gp_ftell_64(linear_params->sfile) - HintStreamStart;
+ SharedHintOffset = gp_ftell(linear_params->sfile) - HintStreamStart;
linear_params->SharedHintHeader.FirstSharedObject = linear_params->SharedHints[0].ObjectNumber;
linear_params->SharedHintHeader.LeastObjectLength = linear_params->SharedHints[0].ObjectLength;
linear_params->SharedHintHeader.MostObjectLength = linear_params->SharedHints[0].ObjectLength;
@@ -2239,21 +2239,21 @@ static int pdf_linearise(gx_device_pdf *pdev, pdf_linearisation_t *linear_params
}
flush_hint_stream(linear_params);
- HintLength = gp_ftell_64(linear_params->sfile) - HintStreamStart;
+ HintLength = gp_ftell(linear_params->sfile) - HintStreamStart;
gs_sprintf(LDict, "\nendstream\nendobj\n");
- fwrite(LDict, strlen(LDict), 1, linear_params->sfile);
+ gp_fwrite(LDict, strlen(LDict), 1, linear_params->sfile);
/* Calculate the length of the primary hint stream */
- HintStreamLen = gp_ftell_64(linear_params->sfile) - pdev->ResourceUsage[HintStreamObj].LinearisedOffset;
+ HintStreamLen = gp_ftell(linear_params->sfile) - pdev->ResourceUsage[HintStreamObj].LinearisedOffset;
/* Read remainder of linearised file and write to the final file */
do {
- code = fread(Buffer, 1, 1024, linear_params->Lin_File.file);
+ code = gp_fread(Buffer, 1, 1024, linear_params->Lin_File.file);
if (code > 0)
- fwrite(Buffer, 1, code, linear_params->sfile);
+ gp_fwrite(Buffer, 1, code, linear_params->sfile);
} while (code > 0);
/* Main xref (part 11) */
- mainxref = gp_ftell_64(linear_params->sfile);
+ mainxref = gp_ftell(linear_params->sfile);
/* Acrobat 9 and X (possibly other versions) won't recognise a file as
* optimised unless the file is at least 4k bytes in length (!!!)
* Also, it is possible that the new file might be smaller than the old one, If a
@@ -2268,33 +2268,33 @@ static int pdf_linearise(gx_device_pdf *pdev, pdf_linearisation_t *linear_params
Pad = ' ';
while(Length > 0) {
- fwrite(&Pad, 1, 1, linear_params->sfile);
+ gp_fwrite(&Pad, 1, 1, linear_params->sfile);
Length--;
}
/* Now the file is long enough, write the xref */
- mainxref = gp_ftell_64(linear_params->sfile);
+ mainxref = gp_ftell(linear_params->sfile);
gs_sprintf(Header, "xref\n0 %d\n", LDictObj);
- fwrite(Header, strlen(Header), 1, linear_params->sfile);
+ gp_fwrite(Header, strlen(Header), 1, linear_params->sfile);
- linear_params->T = gp_ftell_64(linear_params->sfile) - 1;
+ linear_params->T = gp_ftell(linear_params->sfile) - 1;
gs_sprintf(Header, "0000000000 65535 f \n");
- fwrite(Header, strlen(Header), 1, linear_params->sfile);
+ gp_fwrite(Header, strlen(Header), 1, linear_params->sfile);
for (i = 1;i < LDictObj; i++) {
for (j = 0; j < pdev->ResourceUsageSize;j++) {
if (pdev->ResourceUsage[j].NewObjectNumber == i) {
gs_sprintf(Header, "%010"PRId64" 00000 n \n", pdev->ResourceUsage[j].LinearisedOffset + HintStreamLen);
- fwrite(Header, 20, 1, linear_params->sfile);
+ gp_fwrite(Header, 20, 1, linear_params->sfile);
}
}
}
gs_sprintf(LDict, "trailer\n<</Size %d>>\nstartxref\n%"PRId64"\n%%%%EOF\n",
LDictObj, linear_params->FirstxrefOffset);
- fwrite(LDict, strlen(LDict), 1, linear_params->sfile);
+ gp_fwrite(LDict, strlen(LDict), 1, linear_params->sfile);
- linear_params->FileLength = gp_ftell_64(linear_params->sfile);
+ linear_params->FileLength = gp_ftell(linear_params->sfile);
/* Return to the linearisation dictionary and write it again filling
* in the missing data.
*/
@@ -2303,37 +2303,37 @@ static int pdf_linearise(gx_device_pdf *pdev, pdf_linearisation_t *linear_params
* for current versions, but we follow it anyway for the possible benefit of older
* versions.
*/
- gp_fseek_64(linear_params->sfile, linear_params->LDictOffset, SEEK_SET);
+ gp_fseek(linear_params->sfile, linear_params->LDictOffset, SEEK_SET);
gs_sprintf(LDict, "%d 0 obj\n<</Linearized 1/L %"PRId64"/H[ ", LDictObj, linear_params->FileLength);
- fwrite(LDict, strlen(LDict), 1, linear_params->sfile);
+ gp_fwrite(LDict, strlen(LDict), 1, linear_params->sfile);
gs_sprintf(LDict, "%"PRId64"", pdev->ResourceUsage[HintStreamObj].LinearisedOffset);
- fwrite(LDict, strlen(LDict), 1, linear_params->sfile);
+ gp_fwrite(LDict, strlen(LDict), 1, linear_params->sfile);
gs_sprintf(LDict, " %"PRId64"]", HintStreamLen);
- fwrite(LDict, strlen(LDict), 1, linear_params->sfile);
+ gp_fwrite(LDict, strlen(LDict), 1, linear_params->sfile);
/* Implementation Note 180 in hte PDF Reference 1.7 says that Acrobat
* gets the 'E' value wrong. So its probably not important....
*/
gs_sprintf(LDict, "/O %d/E %"PRId64"",pdev->ResourceUsage[pdev->pages[0].Page->id].NewObjectNumber, linear_params->E);
- fwrite(LDict, strlen(LDict), 1, linear_params->sfile);
+ gp_fwrite(LDict, strlen(LDict), 1, linear_params->sfile);
gs_sprintf(LDict, "/N %d/T %"PRId64">>\nendobj\n", pdev->next_page, linear_params->T);
- fwrite(LDict, strlen(LDict), 1, linear_params->sfile);
+ gp_fwrite(LDict, strlen(LDict), 1, linear_params->sfile);
/* Return to the secondary xref and write it again filling
* in the missing offsets.
*/
- if (gp_fseek_64(linear_params->sfile, linear_params->FirstxrefOffset, SEEK_SET) != 0) {
+ if (gp_fseek(linear_params->sfile, linear_params->FirstxrefOffset, SEEK_SET) != 0) {
code = gs_error_ioerror;
goto error;
}
gs_sprintf(Header, "xref\n%d %d\n", LDictObj, Part1To6 - LDictObj + 1); /* +1 for the primary hint stream */
- fwrite(Header, strlen(Header), 1, linear_params->sfile);
+ gp_fwrite(Header, strlen(Header), 1, linear_params->sfile);
for (i = LDictObj;i <= linear_params->LastResource + 2; i++) {
for (j = 0; j < pdev->ResourceUsageSize;j++) {
if (pdev->ResourceUsage[j].NewObjectNumber == i) {
gs_sprintf(Header, "%010"PRId64" 00000 n \n", pdev->ResourceUsage[j].LinearisedOffset);
- fwrite(Header, 20, 1, linear_params->sfile);
+ gp_fwrite(Header, 20, 1, linear_params->sfile);
}
}
}
@@ -2341,22 +2341,22 @@ static int pdf_linearise(gx_device_pdf *pdev, pdf_linearisation_t *linear_params
/* Return to the secondary trailer dict and write it again filling
* in the missing values.
*/
- code = gp_fseek_64(linear_params->sfile, linear_params->FirsttrailerOffset, SEEK_SET);
+ code = gp_fseek(linear_params->sfile, linear_params->FirsttrailerOffset, SEEK_SET);
if (code != 0)
return_error(gs_error_ioerror);
gs_sprintf(LDict, "\ntrailer\n<</Size %ld/Info %d 0 R/Root %d 0 R/ID[%s%s]/Prev %"PRId64">>\nstartxref\r\n0\n%%%%EOF\n",
linear_params->LastResource + 3, pdev->ResourceUsage[linear_params->Info_id].NewObjectNumber, pdev->ResourceUsage[linear_params->Catalog_id].NewObjectNumber, fileID, fileID, mainxref);
- fwrite(LDict, strlen(LDict), 1, linear_params->sfile);
+ gp_fwrite(LDict, strlen(LDict), 1, linear_params->sfile);
- code = gp_fseek_64(linear_params->sfile, pdev->ResourceUsage[HintStreamObj].LinearisedOffset, SEEK_SET);
+ code = gp_fseek(linear_params->sfile, pdev->ResourceUsage[HintStreamObj].LinearisedOffset, SEEK_SET);
if (code != 0)
return_error(gs_error_ioerror);
gs_sprintf(LDict, "%d 0 obj\n<</Length %10"PRId64"", HintStreamObj, HintLength);
- fwrite(LDict, strlen(LDict), 1, linear_params->sfile);
+ gp_fwrite(LDict, strlen(LDict), 1, linear_params->sfile);
gs_sprintf(LDict, "\n/S %10"PRId64">>\nstream\n", SharedHintOffset);
- fwrite(LDict, strlen(LDict), 1, linear_params->sfile);
+ gp_fwrite(LDict, strlen(LDict), 1, linear_params->sfile);
error:
#ifdef LINEAR_DEBUGGING
@@ -2539,7 +2539,7 @@ pdf_close(gx_device * dev)
gx_device_pdf *const pdev = (gx_device_pdf *) dev;
gs_memory_t *mem = pdev->pdf_memory;
stream *s;
- FILE *tfile = pdev->xref.file;
+ gp_file *tfile = pdev->xref.file;
gs_offset_t xref = 0;
gs_offset_t resource_pos;
long Catalog_id = 0, Info_id = 0,
@@ -2869,10 +2869,10 @@ pdf_close(gx_device * dev)
resource_pos = stell(s);
sflush(pdev->asides.strm);
{
- FILE *rfile = pdev->asides.file;
- int64_t res_end = gp_ftell_64(rfile);
+ gp_file *rfile = pdev->asides.file;
+ int64_t res_end = gp_ftell(rfile);
- gp_fseek_64(rfile, 0L, SEEK_SET);
+ gp_fseek(rfile, 0L, SEEK_SET);
code1 = pdf_copy_data(s, rfile, res_end, NULL);
if (code >= 0)
code = code1;
diff --git a/devices/vector/gdevpdfo.c b/devices/vector/gdevpdfo.c
index 3cba08602..402d290cb 100644
--- a/devices/vector/gdevpdfo.c
+++ b/devices/vector/gdevpdfo.c
@@ -1690,14 +1690,14 @@ static int hash_cos_stream(const cos_object_t *pco0, gs_md5_state_t *md5, gs_md5
{
const cos_stream_t *pcs = (const cos_stream_t *)pco0;
cos_stream_piece_t *pcsp = pcs->pieces;
- FILE *sfile = pdev->streams.file;
+ gp_file *sfile = pdev->streams.file;
byte *ptr;
int64_t position_save;
int result;
sflush(pdev->strm);
sflush(pdev->streams.strm);
- position_save = gp_ftell_64(sfile);
+ position_save = gp_ftell(sfile);
if (!pcsp)
return -1;
@@ -1709,10 +1709,10 @@ static int hash_cos_stream(const cos_object_t *pco0, gs_md5_state_t *md5, gs_md5
result = gs_note_error(gs_error_VMerror);
return result;
}
- if (gp_fseek_64(sfile, pcsp->position, SEEK_SET) != 0)
+ if (gp_fseek(sfile, pcsp->position, SEEK_SET) != 0)
return_error(gs_error_ioerror);
- if (fread(ptr, 1, pcsp->size, sfile) != pcsp->size) {
+ if (gp_fread(ptr, 1, pcsp->size, sfile) != pcsp->size) {
gs_free(pdev->memory, ptr, sizeof (byte), pcsp->size, "hash_cos_stream");
result = gs_note_error(gs_error_ioerror);
return result;
@@ -1722,7 +1722,7 @@ static int hash_cos_stream(const cos_object_t *pco0, gs_md5_state_t *md5, gs_md5
pcsp = pcsp->next;
}
gs_md5_finish(md5, (gs_md5_byte_t *)hash);
- if (gp_fseek_64(sfile, position_save, SEEK_SET) != 0)
+ if (gp_fseek(sfile, position_save, SEEK_SET) != 0)
return_error(gs_error_ioerror);
return 0;
@@ -1805,7 +1805,7 @@ cos_stream_contents_write(const cos_stream_t *pcs, gx_device_pdf *pdev)
cos_stream_piece_t *pcsp;
cos_stream_piece_t *last;
cos_stream_piece_t *next;
- FILE *sfile = pdev->streams.file;
+ gp_file *sfile = pdev->streams.file;
int64_t end_pos;
bool same_file = (pdev->sbstack_depth > 0);
int code;
@@ -1829,13 +1829,13 @@ cos_stream_contents_write(const cos_stream_t *pcs, gx_device_pdf *pdev)
if (code < 0)
return code;
} else {
- end_pos = gp_ftell_64(sfile);
- if (gp_fseek_64(sfile, pcsp->position, SEEK_SET) != 0)
+ end_pos = gp_ftell(sfile);
+ if (gp_fseek(sfile, pcsp->position, SEEK_SET) != 0)
return_error(gs_error_ioerror);
code = pdf_copy_data(s, sfile, pcsp->size, ss);
if (code < 0)
return code;
- if (gp_fseek_64(sfile, end_pos, SEEK_SET) != 0)
+ if (gp_fseek(sfile, end_pos, SEEK_SET) != 0)
return_error(gs_error_ioerror);
}
}
diff --git a/devices/vector/gdevpdfp.c b/devices/vector/gdevpdfp.c
index 9d92c6bc0..3eaf10774 100644
--- a/devices/vector/gdevpdfp.c
+++ b/devices/vector/gdevpdfp.c
@@ -653,7 +653,7 @@ gdev_pdf_put_params_impl(gx_device * dev, const gx_device_pdf * save_dev, gs_par
if (pdev->FirstObjectNumber != save_dev->FirstObjectNumber) {
if (pdev->xref.file != 0) {
- if (gp_fseek_64(pdev->xref.file, 0L, SEEK_SET) != 0) {
+ if (gp_fseek(pdev->xref.file, 0L, SEEK_SET) != 0) {
ecode = gs_error_ioerror;
goto fail;
}
diff --git a/devices/vector/gdevpdfu.c b/devices/vector/gdevpdfu.c
index f19af6037..d57bec813 100644
--- a/devices/vector/gdevpdfu.c
+++ b/devices/vector/gdevpdfu.c
@@ -617,7 +617,7 @@ long pdf_obj_forward_ref(gx_device_pdf * pdev)
long id = pdf_next_id(pdev);
gs_offset_t pos = 0;
- fwrite(&pos, sizeof(pos), 1, pdev->xref.file);
+ gp_fwrite(&pos, sizeof(pos), 1, pdev->xref.file);
return id;
}
@@ -628,7 +628,7 @@ pdf_obj_ref(gx_device_pdf * pdev)
long id = pdf_next_id(pdev);
gs_offset_t pos = pdf_stell(pdev);
- fwrite(&pos, sizeof(pos), 1, pdev->xref.file);
+ gp_fwrite(&pos, sizeof(pos), 1, pdev->xref.file);
return id;
}
@@ -644,15 +644,15 @@ pdf_obj_ref(gx_device_pdf * pdev)
long
pdf_obj_mark_unused(gx_device_pdf *pdev, long id)
{
- FILE *tfile = pdev->xref.file;
- int64_t tpos = gp_ftell_64(tfile);
+ gp_file *tfile = pdev->xref.file;
+ int64_t tpos = gp_ftell(tfile);
gs_offset_t pos = 0;
- if (gp_fseek_64 (tfile, ((int64_t)(id - pdev->FirstObjectNumber)) * sizeof(pos),
+ if (gp_fseek(tfile, ((int64_t)(id - pdev->FirstObjectNumber)) * sizeof(pos),
SEEK_SET) != 0)
return_error(gs_error_ioerror);
- fwrite(&pos, sizeof(pos), 1, tfile);
- if (gp_fseek_64(tfile, tpos, SEEK_SET) != 0)
+ gp_fwrite(&pos, sizeof(pos), 1, tfile);
+ if (gp_fseek(tfile, tpos, SEEK_SET) != 0)
return_error(gs_error_ioerror);
return 0;
}
@@ -667,14 +667,14 @@ pdf_open_obj(gx_device_pdf * pdev, long id, pdf_resource_type_t type)
id = pdf_obj_ref(pdev);
} else {
gs_offset_t pos = pdf_stell(pdev);
- FILE *tfile = pdev->xref.file;
- int64_t tpos = gp_ftell_64(tfile);
+ gp_file *tfile = pdev->xref.file;
+ int64_t tpos = gp_ftell(tfile);
- if (gp_fseek_64 (tfile, ((int64_t)(id - pdev->FirstObjectNumber)) * sizeof(pos),
+ if (gp_fseek(tfile, ((int64_t)(id - pdev->FirstObjectNumber)) * sizeof(pos),
SEEK_SET) != 0)
return_error(gs_error_ioerror);
- fwrite(&pos, sizeof(pos), 1, tfile);
- if (gp_fseek_64(tfile, tpos, SEEK_SET) != 0)
+ gp_fwrite(&pos, sizeof(pos), 1, tfile);
+ if (gp_fseek(tfile, tpos, SEEK_SET) != 0)
return_error(gs_error_ioerror);
}
if (pdev->ForOPDFRead && pdev->ProduceDSC) {
@@ -1744,7 +1744,7 @@ pdf_store_page_resources(gx_device_pdf *pdev, pdf_page_t *page, bool clear_usage
/* Copy data from a temporary file to a stream. */
int
-pdf_copy_data(stream *s, FILE *file, gs_offset_t count, stream_arcfour_state *ss)
+pdf_copy_data(stream *s, gp_file *file, gs_offset_t count, stream_arcfour_state *ss)
{
gs_offset_t r, left = count;
byte buf[sbuf_size];
@@ -1752,7 +1752,7 @@ pdf_copy_data(stream *s, FILE *file, gs_offset_t count, stream_arcfour_state *ss
while (left > 0) {
uint copy = min(left, sbuf_size);
- r = fread(buf, 1, copy, file);
+ r = gp_fread(buf, 1, copy, file);
if (r < 1) {
return gs_note_error(gs_error_ioerror);
}
@@ -1767,23 +1767,23 @@ pdf_copy_data(stream *s, FILE *file, gs_offset_t count, stream_arcfour_state *ss
/* Copy data from a temporary file to a stream,
which may be targetted to the same file. */
int
-pdf_copy_data_safe(stream *s, FILE *file, gs_offset_t position, long count)
+pdf_copy_data_safe(stream *s, gp_file *file, gs_offset_t position, long count)
{
long r, left = count;
while (left > 0) {
byte buf[sbuf_size];
long copy = min(left, (long)sbuf_size);
- int64_t end_pos = gp_ftell_64(file);
+ int64_t end_pos = gp_ftell(file);
- if (gp_fseek_64(file, position + count - left, SEEK_SET) != 0) {
+ if (gp_fseek(file, position + count - left, SEEK_SET) != 0) {
return_error(gs_error_ioerror);
}
- r = fread(buf, 1, copy, file);
+ r = gp_fread(buf, 1, copy, file);
if (r < 1) {
return_error(gs_error_ioerror);
}
- if (gp_fseek_64(file, end_pos, SEEK_SET) != 0) {
+ if (gp_fseek(file, end_pos, SEEK_SET) != 0) {
return_error(gs_error_ioerror);
}
stream_write(s, buf, copy);
diff --git a/devices/vector/gdevpdfx.h b/devices/vector/gdevpdfx.h
index 3821f4171..9736e8e0d 100644
--- a/devices/vector/gdevpdfx.h
+++ b/devices/vector/gdevpdfx.h
@@ -337,7 +337,7 @@ typedef struct pdf_page_s {
*/
typedef struct pdf_temp_file_s {
char file_name[gp_file_name_sizeof];
- FILE *file;
+ gp_file *file;
stream *strm;
byte *strm_buf;
stream *save_strm; /* save pdev->strm while writing here */
@@ -411,7 +411,7 @@ typedef struct share_hint_stream_s {
} shared_hint_stream_t;
typedef struct pdf_linearisation_s {
- FILE *sfile;
+ gp_file *sfile;
pdf_temp_file_t Lin_File;
char HintBuffer[256];
unsigned char HintBits;
@@ -1141,8 +1141,8 @@ int pdf_free_resource_objects(gx_device_pdf *pdev, pdf_resource_type_t rtype);
int pdf_store_page_resources(gx_device_pdf *pdev, pdf_page_t *page, bool clear_usage);
/* Copy data from a temporary file to a stream. */
-int pdf_copy_data(stream *s, FILE *file, gs_offset_t count, stream_arcfour_state *ss);
-int pdf_copy_data_safe(stream *s, FILE *file, gs_offset_t position, long count);
+int pdf_copy_data(stream *s, gp_file *file, gs_offset_t count, stream_arcfour_state *ss);
+int pdf_copy_data_safe(stream *s, gp_file *file, gs_offset_t position, long count);
/* Add the encryption filter. */
int pdf_begin_encrypt(gx_device_pdf * pdev, stream **s, gs_id object_id);
diff --git a/devices/vector/gdevpsu.c b/devices/vector/gdevpsu.c
index e38815fbe..10a13d95f 100644
--- a/devices/vector/gdevpsu.c
+++ b/devices/vector/gdevpsu.c
@@ -31,7 +31,7 @@
/* Write a 0-terminated array of strings as lines. */
int
-psw_print_lines(FILE *f, const char *const lines[])
+psw_print_lines(gp_file *f, const char *const lines[])
{
int i;
for (i = 0; lines[i] != 0; ++i) {
@@ -53,7 +53,7 @@ psw_put_procset_name(stream *s, const gx_device *dev,
pdpc->ProcSet_version);
}
static void
-psw_print_procset_name(FILE *f, const gx_device *dev,
+psw_print_procset_name(gp_file *f, const gx_device *dev,
const gx_device_pswrite_common_t *pdpc)
{
byte buf[100]; /* arbitrary */
@@ -67,7 +67,7 @@ psw_print_procset_name(FILE *f, const gx_device *dev,
/* Write a bounding box. */
static void
-psw_print_bbox(FILE *f, const gs_rect *pbbox)
+psw_print_bbox(gp_file *f, const gs_rect *pbbox)
{
fprintf(f, "%%%%BoundingBox: %d %d %d %d\n",
(int)floor(pbbox->p.x), (int)floor(pbbox->p.y),
@@ -150,7 +150,7 @@ static const char *const psw_end_prolog[] = {
* On Windows NT ftell() returns some non-EOF value when used on pipes.
*/
static bool
-is_seekable(FILE *f)
+is_seekable(gp_file *f)
{
struct stat buf;
@@ -164,7 +164,7 @@ is_seekable(FILE *f)
* file, not a stream, because it may be called during finalization.
*/
int
-psw_begin_file_header(FILE *f, const gx_device *dev, const gs_rect *pbbox,
+psw_begin_file_header(gp_file *f, const gx_device *dev, const gs_rect *pbbox,
gx_device_pswrite_common_t *pdpc, bool ascii)
{
psw_print_lines(f, (pdpc->ProduceEPS ? psw_eps_header : psw_ps_header));
@@ -176,7 +176,7 @@ psw_begin_file_header(FILE *f, const gx_device *dev, const gs_rect *pbbox,
fputs("%%BoundingBox: (atend)\n", f);
fputs("%%HiResBoundingBox: (atend)\n", f);
} else { /* File is seekable, leave room to rewrite bbox. */
- pdpc->bbox_position = gp_ftell_64(f);
+ pdpc->bbox_position = gp_ftell(f);
fputs("%...............................................................\n", f);
fputs("%...............................................................\n", f);
}
@@ -218,7 +218,7 @@ psw_begin_file_header(FILE *f, const gx_device *dev, const gs_rect *pbbox,
* End the file header.
*/
int
-psw_end_file_header(FILE *f)
+psw_end_file_header(gp_file *f)
{
return psw_print_lines(f, psw_end_prolog);
}
@@ -227,7 +227,7 @@ psw_end_file_header(FILE *f)
* End the file.
*/
int
-psw_end_file(FILE *f, const gx_device *dev,
+psw_end_file(gp_file *f, const gx_device *dev,
const gx_device_pswrite_common_t *pdpc, const gs_rect *pbbox,
int /* should be long */ page_count)
{
@@ -238,9 +238,9 @@ psw_end_file(FILE *f, const gx_device *dev,
return_error(gs_error_ioerror);
if (dev->PageCount > 0 && pdpc->bbox_position != 0) {
if (pdpc->bbox_position >= 0) {
- int64_t save_pos = gp_ftell_64(f);
+ int64_t save_pos = gp_ftell(f);
- gp_fseek_64(f, pdpc->bbox_position, SEEK_SET);
+ gp_fseek(f, pdpc->bbox_position, SEEK_SET);
/* Theoretically the bbox device should fill in the bounding box
* but this does nothing because we don't write on the page.
* So if bbox = 0 0 0 0, replace with the device page size.
@@ -261,7 +261,7 @@ psw_end_file(FILE *f, const gx_device *dev,
fputc('%', f);
if (ferror(f))
return_error(gs_error_ioerror);
- gp_fseek_64(f, save_pos, SEEK_SET);
+ gp_fseek(f, save_pos, SEEK_SET);
} else
psw_print_bbox(f, pbbox);
}
@@ -347,7 +347,7 @@ psw_write_page_header(stream *s, const gx_device *dev,
* the stream, because we may have to do it during finalization.
*/
int
-psw_write_page_trailer(FILE *f, int num_copies, int flush)
+psw_write_page_trailer(gp_file *f, int num_copies, int flush)
{
fprintf(f, "cleartomark end end pagesave restore\n");
if (num_copies != 1)
diff --git a/devices/vector/gdevpsu.h b/devices/vector/gdevpsu.h
index a611c6ee6..70cceeaf8 100644
--- a/devices/vector/gdevpsu.h
+++ b/devices/vector/gdevpsu.h
@@ -35,7 +35,7 @@ typedef struct gx_device_pswrite_common_s {
/* ---------------- Low level ---------------- */
/* Write a 0-terminated array of strings as lines. */
-int psw_print_lines(FILE *f, const char *const lines[]);
+int psw_print_lines(gp_file *f, const char *const lines[]);
/* ---------------- File level ---------------- */
@@ -43,15 +43,15 @@ int psw_print_lines(FILE *f, const char *const lines[]);
* Write the file header, up through the BeginProlog. This must write to a
* file, not a stream, because it may be called during finalization.
*/
-int psw_begin_file_header(FILE *f, const gx_device *dev,
+int psw_begin_file_header(gp_file *f, const gx_device *dev,
const gs_rect *pbbox,
gx_device_pswrite_common_t *pdpc, bool ascii);
/* End the file header.*/
-int psw_end_file_header(FILE *f);
+int psw_end_file_header(gp_file *f);
/* End the file. */
-int psw_end_file(FILE *f, const gx_device *dev,
+int psw_end_file(gp_file *f, const gx_device *dev,
const gx_device_pswrite_common_t *pdpc,
const gs_rect *pbbox, int page_count);
@@ -67,6 +67,6 @@ int psw_write_page_header(stream *s, const gx_device *dev,
* Write the page trailer. We do this directly to the file, rather than to
* the stream, because we may have to do it during finalization.
*/
-int psw_write_page_trailer(FILE *f, int num_copies, int flush);
+int psw_write_page_trailer(gp_file *f, int num_copies, int flush);
#endif /* gdevpsu_INCLUDED */
diff --git a/devices/vector/gdevpx.c b/devices/vector/gdevpx.c
index 690203c1b..e109e792f 100644
--- a/devices/vector/gdevpx.c
+++ b/devices/vector/gdevpx.c
@@ -1657,7 +1657,7 @@ pclxl_output_page(gx_device * dev, int num_copies, int flush)
spputc(s, pxtEndPage);
sflush(s);
pclxl_page_init(xdev);
- if (ferror(xdev->file))
+ if (gp_ferror(xdev->file))
return_error(gs_error_ioerror);
if ((code = gx_finish_output_page(dev, num_copies, flush)) < 0)
return code;
@@ -1678,12 +1678,12 @@ static int
pclxl_close_device(gx_device * dev)
{
gx_device_pclxl *const xdev = (gx_device_pclxl *) dev;
- FILE *file = xdev->file;
+ gp_file *file = xdev->file;
if (xdev->strm != NULL)
sflush(xdev->strm);
if (xdev->in_page)
- fputc(pxtEndPage, file);
+ gp_fputc(pxtEndPage, file);
px_write_file_trailer(file);
return gdev_vector_close_file((gx_device_vector *) dev);
}
diff --git a/devices/vector/gdevtxtw.c b/devices/vector/gdevtxtw.c
index b95802789..22c809269 100644
--- a/devices/vector/gdevtxtw.c
+++ b/devices/vector/gdevtxtw.c
@@ -112,10 +112,10 @@ typedef struct gx_device_txtwrite_s {
gx_device_common;
page_text_t PageData;
char fname[gp_file_name_sizeof]; /* OutputFile */
- FILE *file;
+ gp_file *file;
int TextFormat;
#ifdef TRACE_TXTWRITE
- FILE *DebugFile;
+ gp_file *DebugFile;
#endif
} gx_device_txtwrite_t;
@@ -342,15 +342,15 @@ static int merge_vertically(gx_device_txtwrite_t *tdev)
fprintf(tdev->DebugFile, "\nConsolidating two horizontal lines, line 1:");
debug_x = from;
while (debug_x) {
- fprintf(tdev->DebugFile, "\n\t");
- fwrite(debug_x->Unicode_Text, sizeof(unsigned short), debug_x->Unicode_Text_Size, tdev->DebugFile);
+ gp_fprintf(tdev->DebugFile, "\n\t");
+ gp_fwrite(debug_x->Unicode_Text, sizeof(unsigned short), debug_x->Unicode_Text_Size, tdev->DebugFile);
debug_x = debug_x->next;
}
fprintf(tdev->DebugFile, "\nConsolidating two horizontal lines, line 2");
debug_x = to;
while (debug_x) {
- fprintf(tdev->DebugFile, "\n\t");
- fwrite(debug_x->Unicode_Text, sizeof(unsigned short), debug_x->Unicode_Text_Size, tdev->DebugFile);
+ gp_fprintf(tdev->DebugFile, "\n\t");
+ gp_fwrite(debug_x->Unicode_Text, sizeof(unsigned short), debug_x->Unicode_Text_Size, tdev->DebugFile);
debug_x = debug_x->next;
}
#endif
@@ -387,8 +387,8 @@ static int merge_vertically(gx_device_txtwrite_t *tdev)
fprintf(tdev->DebugFile, "\nAfter:");
debug_x = new_order;
while (debug_x) {
- fprintf(tdev->DebugFile, "\n\t");
- fwrite(debug_x->Unicode_Text, sizeof(unsigned short), debug_x->Unicode_Text_Size, tdev->DebugFile);
+ gp_fprintf(tdev->DebugFile, "\n\t");
+ gp_fwrite(debug_x->Unicode_Text, sizeof(unsigned short), debug_x->Unicode_Text_Size, tdev->DebugFile);
debug_x = debug_x->next;
}
fprintf(tdev->DebugFile, "\n");
@@ -444,10 +444,10 @@ static int merge_horizontally(gx_device_txtwrite_t *tdev)
to = to->next;
} else {
#ifdef TRACE_TXTWRITE
- fprintf(tdev->DebugFile, "Consolidating two horizontal fragments in one line, before:\n\t");
- fwrite(from->Unicode_Text, sizeof(unsigned short), from->Unicode_Text_Size, tdev->DebugFile);
- fprintf(tdev->DebugFile, "\n\t");
- fwrite(to->Unicode_Text, sizeof(unsigned short), to->Unicode_Text_Size, tdev->DebugFile);
+ gp_fprintf(tdev->DebugFile, "Consolidating two horizontal fragments in one line, before:\n\t");
+ gp_fwrite(from->Unicode_Text, sizeof(unsigned short), from->Unicode_Text_Size, tdev->DebugFile);
+ gp_fprintf(tdev->DebugFile, "\n\t");
+ gp_fwrite(to->Unicode_Text, sizeof(unsigned short), to->Unicode_Text_Size, tdev->DebugFile);
#endif
memcpy(NewText, from->Unicode_Text, from->Unicode_Text_Size * sizeof(unsigned short));
memcpy(&NewText[from->Unicode_Text_Size], to->Unicode_Text, to->Unicode_Text_Size * sizeof(unsigned short));
@@ -462,8 +462,8 @@ static int merge_horizontally(gx_device_txtwrite_t *tdev)
from->Unicode_Text_Size += to->Unicode_Text_Size;
from->Widths = NewWidths;
#ifdef TRACE_TXTWRITE
- fprintf(tdev->DebugFile, "After:\n\t");
- fwrite(from->Unicode_Text, sizeof(unsigned short), from->Unicode_Text_Size, tdev->DebugFile);
+ gp_fprintf(tdev->DebugFile, "After:\n\t");
+ gp_fwrite(from->Unicode_Text, sizeof(unsigned short), from->Unicode_Text_Size, tdev->DebugFile);
#endif
from->end = to->end;
from->next = to->next;
@@ -524,7 +524,7 @@ static int write_simple_text(unsigned short *text, int count, gx_device_txtwrite
{
switch(tdev->TextFormat) {
case 2:
- fwrite(text, sizeof (unsigned short), count, tdev->file);
+ gp_fwrite(text, sizeof (unsigned short), count, tdev->file);
break;
case 3:
{
@@ -535,17 +535,17 @@ static int write_simple_text(unsigned short *text, int count, gx_device_txtwrite
for (i=0;i<count;i++) {
if (*UTF16 < 0x80) {
UTF8[0] = *UTF16 & 0xff;
- fwrite (UTF8, sizeof(unsigned char), 1, tdev->file);
+ gp_fwrite (UTF8, sizeof(unsigned char), 1, tdev->file);
} else {
if (*UTF16 < 0x800) {
UTF8[0] = (*UTF16 >> 6) + 0xC0;
UTF8[1] = (*UTF16 & 0x3F) + 0x80;
- fwrite (UTF8, sizeof(unsigned char), 2, tdev->file);
+ gp_fwrite (UTF8, sizeof(unsigned char), 2, tdev->file);
} else {
UTF8[0] = (*UTF16 >> 12) + 0xE0;
UTF8[1] = ((*UTF16 >> 6) & 0x3F) + 0x80;
UTF8[2] = (*UTF16 & 0x3F) + 0x80;
- fwrite (UTF8, sizeof(unsigned char), 3, tdev->file);
+ gp_fwrite (UTF8, sizeof(unsigned char), 3, tdev->file);
}
}
UTF16++;
@@ -677,33 +677,33 @@ static int decorated_text_output(gx_device_txtwrite_t *tdev)
#endif
if (tdev->TextFormat == 0) {
- fwrite("<page>\n", sizeof(unsigned char), 7, tdev->file);
+ gp_fwrite("<page>\n", sizeof(unsigned char), 7, tdev->file);
x_entry = tdev->PageData.unsorted_text_list;
while (x_entry) {
next_x = x_entry->next;
gs_sprintf(TextBuffer, "<span bbox=\"%0.0f %0.0f %0.0f %0.0f\" font=\"%s\" size=\"%0.4f\">\n", x_entry->start.x, x_entry->start.y,
x_entry->end.x, x_entry->end.y, x_entry->FontName,x_entry->size);
- fwrite(TextBuffer, 1, strlen(TextBuffer), tdev->file);
+ gp_fwrite(TextBuffer, 1, strlen(TextBuffer), tdev->file);
xpos = x_entry->start.x;
for (i=0;i<x_entry->Unicode_Text_Size;i++) {
escaped_Unicode(x_entry->Unicode_Text[i], (char *)&Escaped);
gs_sprintf(TextBuffer, "<char bbox=\"%0.0f %0.0f %0.0f %0.0f\" c=\"%s\"/>\n", xpos,
x_entry->start.y, xpos + x_entry->Widths[i], x_entry->end.y, Escaped);
- fwrite(TextBuffer, 1, strlen(TextBuffer), tdev->file);
+ gp_fwrite(TextBuffer, 1, strlen(TextBuffer), tdev->file);
xpos += x_entry->Widths[i];
}
- fwrite("</span>\n", sizeof(unsigned char), 8, tdev->file);
+ gp_fwrite("</span>\n", sizeof(unsigned char), 8, tdev->file);
x_entry = next_x;
}
- fwrite("</page>\n", sizeof(unsigned char), 8, tdev->file);
+ gp_fwrite("</page>\n", sizeof(unsigned char), 8, tdev->file);
} else {
merge_vertically(tdev);
merge_horizontally(tdev);
y_list = tdev->PageData.y_ordered_list;
- fwrite("<page>\n", sizeof(unsigned char), 7, tdev->file);
+ gp_fwrite("<page>\n", sizeof(unsigned char), 7, tdev->file);
/* Walk the list looking for 'blocks' */
do {
page_text_list_t *temp;
@@ -798,34 +798,34 @@ static int decorated_text_output(gx_device_txtwrite_t *tdev)
y_list = y_list->next;
}
/* FIXME - need to free the used memory in here */
- fwrite("<block>\n", sizeof(unsigned char), 8, tdev->file);
+ gp_fwrite("<block>\n", sizeof(unsigned char), 8, tdev->file);
block_line = block.y_ordered_list;
while (block_line) {
- fwrite("<line>\n", sizeof(unsigned char), 7, tdev->file);
+ gp_fwrite("<line>\n", sizeof(unsigned char), 7, tdev->file);
x_entry = block_line->x_ordered_list;
while(x_entry) {
gs_sprintf(TextBuffer, "<span bbox=\"%0.0f %0.0f %0.0f %0.0f\" font=\"%s\" size=\"%0.4f\">\n", x_entry->start.x, x_entry->start.y,
x_entry->end.x, x_entry->end.y, x_entry->FontName,x_entry->size);
- fwrite(TextBuffer, 1, strlen(TextBuffer), tdev->file);
+ gp_fwrite(TextBuffer, 1, strlen(TextBuffer), tdev->file);
xpos = x_entry->start.x;
for (i=0;i<x_entry->Unicode_Text_Size;i++) {
escaped_Unicode(x_entry->Unicode_Text[i], (char *)&Escaped);
gs_sprintf(TextBuffer, "<char bbox=\"%0.0f %0.0f %0.0f %0.0f\" c=\"%s\"/>\n", xpos,
x_entry->start.y, xpos + x_entry->Widths[i], x_entry->end.y, Escaped);
- fwrite(TextBuffer, 1, strlen(TextBuffer), tdev->file);
+ gp_fwrite(TextBuffer, 1, strlen(TextBuffer), tdev->file);
xpos += x_entry->Widths[i];
}
- fwrite("</span>\n", sizeof(unsigned char), 8, tdev->file);
+ gp_fwrite("</span>\n", sizeof(unsigned char), 8, tdev->file);
x_entry = x_entry->next;
}
- fwrite("</line>\n", sizeof(unsigned char), 8, tdev->file);
+ gp_fwrite("</line>\n", sizeof(unsigned char), 8, tdev->file);
block_line = block_line->next;
}
- fwrite("</block>\n", sizeof(unsigned char), 9, tdev->file);
+ gp_fwrite("</block>\n", sizeof(unsigned char), 9, tdev->file);
y_list = tdev->PageData.y_ordered_list;
} while (y_list);
- fwrite("</page>\n", sizeof(unsigned char), 8, tdev->file);
+ gp_fwrite("</page>\n", sizeof(unsigned char), 8, tdev->file);
}
return 0;
}
@@ -858,7 +858,7 @@ txtwrite_output_page(gx_device * dev, int num_copies, int flush)
break;
case 2:
- fwrite (&BOM, sizeof(unsigned short), 1, tdev->file);
+ gp_fwrite (&BOM, sizeof(unsigned short), 1, tdev->file);
/* fall through */
case 3:
code = simple_text_output(tdev);
@@ -1100,7 +1100,7 @@ txtwrite_put_params(gx_device * dev, gs_param_list * plist)
if (ofs.data != 0) { /* Close the file if it's open. */
if (tdev->file != 0) {
- fclose(tdev->file);
+ gp_fclose(tdev->file);
tdev->file = 0;
}
memcpy(tdev->fname, ofs.data, ofs.size);
diff --git a/devices/vector/gdevxps.c b/devices/vector/gdevxps.c
index 79eb82655..2ba26defb 100644
--- a/devices/vector/gdevxps.c
+++ b/devices/vector/gdevxps.c
@@ -97,7 +97,7 @@ attr_t xps_fixed_state[] = {
directly to the archive without a temp file. */
typedef struct gx_device_xps_zdata_s {
- FILE *fp;
+ gp_file *fp;
ulong count;
} gx_device_xps_zdata_t;
@@ -149,7 +149,7 @@ typedef struct xps_image_enum_s {
gs_color_space *pcs; /* Needed for Sep, DeviceN, Indexed */
gsicc_link_t *icc_link; /* Needed for CIELAB */
const gs_gstate *pgs; /* Needed for color conversions of DeviceN etc */
- FILE *fid;
+ gp_file *fid;
} xps_image_enum_t;
gs_private_st_suffix_add4(st_xps_image_enum, xps_image_enum_t,
@@ -453,7 +453,7 @@ zip_append_data(gs_memory_t *mem, gx_device_xps_zinfo_t *info, byte *data, uint
char *filename =
(char *)gs_alloc_bytes(mem->non_gc_memory, gp_file_name_sizeof,
"zip_append_data(filename)");
- FILE *fp;
+ gp_file *fp;
if (!filename) {
return(gs_throw_code(gs_error_VMerror));
@@ -470,13 +470,13 @@ zip_append_data(gs_memory_t *mem, gx_device_xps_zinfo_t *info, byte *data, uint
if (info->data.fp == NULL)
return gs_throw_code(gs_error_Fatal);
- count = fwrite(data, 1, len, info->data.fp);
+ count = gp_fwrite(data, 1, len, info->data.fp);
if (count != len) {
- fclose(info->data.fp);
+ gp_fclose(info->data.fp);
return -1;
}
/* probably unnecessary but makes debugging easier */
- fflush(info->data.fp);
+ gp_fflush(info->data.fp);
info->data.count += len;
return 0;
@@ -620,7 +620,7 @@ add_data_to_zip_file(gx_device_xps *xps_dev, const char *filename, byte *buf, lo
/* Used to add images to the zip file. This file is added now
and not later like the other files */
static int
-add_file_to_zip_file(gx_device_xps *xps_dev, const char *filename, FILE *src)
+add_file_to_zip_file(gx_device_xps *xps_dev, const char *filename, gp_file *src)
{
gx_device_xps_zinfo_t *info = zip_look_up_file_info(xps_dev, filename);
int code = 0;
@@ -647,14 +647,14 @@ add_file_to_zip_file(gx_device_xps *xps_dev, const char *filename, FILE *src)
curr_pos = stell(f);
/* Get to the start */
- if (gp_fseek_64(src, 0, 0) < 0)
+ if (gp_fseek(src, 0, 0) < 0)
return gs_throw_code(gs_error_Fatal);
/* Figure out the crc */
crc = crc32(0L, Z_NULL, 0);
/* Chunks of 4 until we get to remainder */
- while (!feof(src)) {
- nread = fread(buf, 1, sizeof(buf), src);
+ while (!gp_feof(src)) {
+ nread = gp_fread(buf, 1, sizeof(buf), src);
count = count + nread;
crc = crc32(crc, buf, nread);
}
@@ -675,10 +675,10 @@ add_file_to_zip_file(gx_device_xps *xps_dev, const char *filename, FILE *src)
put_u16(f, 0); /* extra field length */
put_bytes(f, (byte *)filename, strlen(filename));
{
- if (gp_fseek_64(src, (gs_offset_t)0, 0) < 0)
+ if (gp_fseek(src, (gs_offset_t)0, 0) < 0)
return gs_throw_code(gs_error_Fatal);
- while (!feof(src)) {
- ulong nread = fread(buf, 1, sizeof(buf), src);
+ while (!gp_feof(src)) {
+ ulong nread = gp_fread(buf, 1, sizeof(buf), src);
put_bytes(f, buf, nread);
}
}
@@ -719,16 +719,16 @@ zip_close_archive_file(gx_device_xps *xps_dev, const char *filename)
data = info->data;
if ((int)data.count >= 0) {
- FILE *fp = data.fp;
+ gp_file *fp = data.fp;
uint nread;
if (fp == NULL)
return gs_throw_code(gs_error_Fatal);
crc = crc32(0L, Z_NULL, 0);
- rewind(fp);
- while (!feof(fp)) {
- nread = fread(buf, 1, sizeof(buf), fp);
+ gp_fseek(fp, 0, SEEK_SET);
+ while (!gp_feof(fp)) {
+ nread = gp_fread(buf, 1, sizeof(buf), fp);
crc = crc32(crc, buf, nread);
count = count + nread;
}
@@ -765,13 +765,13 @@ zip_close_archive_file(gx_device_xps *xps_dev, const char *filename)
put_u16(f, 0); /* extra field length */
put_bytes(f, (byte *)filename, strlen(filename));
{
- FILE *fp = data.fp;
- rewind(fp);
- while (!feof(fp)) {
- ulong nread = fread(buf, 1, sizeof(buf), fp);
+ gp_file *fp = data.fp;
+ gp_rewind(fp);
+ while (!gp_feof(fp)) {
+ ulong nread = gp_fread(buf, 1, sizeof(buf), fp);
put_bytes(f, buf, nread);
}
- fclose(fp);
+ gp_fclose(fp);
}
put_bytes(f, 0, 0); /* extra field */
@@ -1031,7 +1031,7 @@ xps_output_page(gx_device *dev, int num_copies, int flush)
}
xps->page_count++;
- if (ferror(xps->file))
+ if (gp_ferror(xps->file))
return gs_throw_code(gs_error_ioerror);
if ((code=gx_finish_output_page(dev, num_copies, flush)) < 0)
@@ -1079,7 +1079,7 @@ xps_close_device(gx_device *dev)
if (code < 0)
return gs_rethrow_code(code);
- if (ferror(xps->file))
+ if (gp_ferror(xps->file))
return gs_throw_code(gs_error_ioerror);
code = zip_close_archive(xps);
@@ -2185,7 +2185,7 @@ xps_add_tiff_image(xps_image_enum_t *pie)
int code;
code = add_file_to_zip_file(xdev, pie->file_name, pie->fid);
- fclose(pie->fid);
+ gp_fclose(pie->fid);
return code;
}
@@ -2286,7 +2286,7 @@ tiff_set_values(xps_image_enum_t *pie, TIFF *tif, cmm_profile_t *profile,
typedef struct tifs_io_xps_t
{
gx_device_xps *pdev;
- FILE *fid;
+ gp_file *fid;
} tifs_io_xps;
/* libtiff i/o hooks */
@@ -2295,7 +2295,7 @@ xps_tifsWriteProc(thandle_t fd, void* buf, size_t size)
{
tifs_io_xps *tiffio = (tifs_io_xps *)fd;
size_t size_io = (size_t)size;
- FILE *fid = tiffio->fid;
+ gp_file *fid = tiffio->fid;
size_t count;
if ((size_t)size_io != size) {
@@ -2305,12 +2305,12 @@ xps_tifsWriteProc(thandle_t fd, void* buf, size_t size)
if (fid == NULL)
return gs_throw_code(gs_error_Fatal);
- count = fwrite(buf, 1, size, fid);
+ count = gp_fwrite(buf, 1, size, fid);
if (count != size) {
- fclose(fid);
+ gp_fclose(fid);
return gs_rethrow_code(-1);
}
- fflush(fid);
+ gp_fflush(fid);
return size;
}
@@ -2319,7 +2319,7 @@ xps_tifsSeekProc(thandle_t fd, uint64_t off, int origin)
{
tifs_io_xps *tiffio = (tifs_io_xps *)fd;
gs_offset_t off_io = (gs_offset_t)off;
- FILE *fid = tiffio->fid;
+ gp_file *fid = tiffio->fid;
if ((uint64_t)off_io != off) {
return (uint64_t)-1;
@@ -2331,10 +2331,10 @@ xps_tifsSeekProc(thandle_t fd, uint64_t off, int origin)
if (fid == NULL)
return (uint64_t)-1;
- if (gp_fseek_64(fid, (gs_offset_t)off, origin) < 0) {
+ if (gp_fseek(fid, (gs_offset_t)off, origin) < 0) {
return (uint64_t)-1;
}
- return (gp_ftell_64(fid));
+ return (gp_ftell(fid));
}
static int