diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2003-01-03 19:37:31 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2003-01-03 19:37:31 +0000 |
commit | 22ce79a5ec50177752f5d80bfa7f24bad1c31960 (patch) | |
tree | f090134a7b14398b671320983acffcd554e94f3f /print/ghostscript-gpl/files/patch-eplaser:gdevescv.c | |
parent | upgrade to 1.0.1 (diff) |
upgrade to 8.00
PR: 46435
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=72450
Diffstat (limited to '')
-rw-r--r-- | print/ghostscript-gpl/files/patch-eplaser:gdevescv.c | 68 |
1 files changed, 63 insertions, 5 deletions
diff --git a/print/ghostscript-gpl/files/patch-eplaser:gdevescv.c b/print/ghostscript-gpl/files/patch-eplaser:gdevescv.c index dbc3f4a109a9..84685e9df007 100644 --- a/print/ghostscript-gpl/files/patch-eplaser:gdevescv.c +++ b/print/ghostscript-gpl/files/patch-eplaser:gdevescv.c @@ -1,5 +1,5 @@ ---- eplaser/gdevescv.c.orig Fri Dec 21 15:50:22 2001 -+++ eplaser/gdevescv.c Sat Apr 27 13:45:53 2002 +--- eplaser/gdevescv.c.orig Wed Jul 3 13:17:26 2002 ++++ eplaser/gdevescv.c Fri Nov 29 21:59:00 2002 @@ -37,8 +37,7 @@ */ @@ -10,7 +10,65 @@ #include "math_.h" #include "gx.h" -@@ -1760,13 +1759,13 @@ +@@ -305,30 +304,30 @@ + }; + + /* Vector device implementation */ +-private int escv_beginpage(P1(gx_device_vector * vdev)); +-private int escv_setfillcolor(P2(gx_device_vector * vdev, const gx_drawing_color * pdc)); +-private int escv_setstrokecolor(P2(gx_device_vector * vdev, const gx_drawing_color * pdc)); +-private int escv_setdash(P4(gx_device_vector * vdev, const float *pattern, +- uint count, floatp offset)); +-private int escv_setflat(P2(gx_device_vector * vdev, floatp flatness)); +-private int escv_setlogop(P3(gx_device_vector * vdev, gs_logical_operation_t lop, +- gs_logical_operation_t diff)); ++private int escv_beginpage(gx_device_vector * vdev); ++private int escv_setfillcolor(gx_device_vector * vdev, const gx_drawing_color * pdc); ++private int escv_setstrokecolor(gx_device_vector * vdev, const gx_drawing_color * pdc); ++private int escv_setdash(gx_device_vector * vdev, const float *pattern, ++ uint count, floatp offset); ++private int escv_setflat(gx_device_vector * vdev, floatp flatness); ++private int escv_setlogop(gx_device_vector * vdev, gs_logical_operation_t lop, ++ gs_logical_operation_t diff); + private int escv_vector_dorect(gx_device_vector * vdev, fixed x0, fixed y0, fixed x1, + fixed y1, gx_path_type_t type); + private int escv_vector_dopath(gx_device_vector * vdev, const gx_path * ppath, + gx_path_type_t type); +-private int escv_beginpath(P2(gx_device_vector * vdev, gx_path_type_t type)); +-private int escv_moveto(P6(gx_device_vector * vdev, floatp x0, floatp y0, +- floatp x, floatp y, gx_path_type_t type)); +-private int escv_lineto(P6(gx_device_vector * vdev, floatp x0, floatp y0, +- floatp x, floatp y, gx_path_type_t type)); +-private int escv_curveto(P10(gx_device_vector * vdev, floatp x0, floatp y0, ++private int escv_beginpath(gx_device_vector * vdev, gx_path_type_t type); ++private int escv_moveto(gx_device_vector * vdev, floatp x0, floatp y0, ++ floatp x, floatp y, gx_path_type_t type); ++private int escv_lineto(gx_device_vector * vdev, floatp x0, floatp y0, ++ floatp x, floatp y, gx_path_type_t type); ++private int escv_curveto(gx_device_vector * vdev, floatp x0, floatp y0, + floatp x1, floatp y1, floatp x2, floatp y2, +- floatp x3, floatp y3, gx_path_type_t type)); +-private int escv_closepath(P6(gx_device_vector * vdev, floatp x, floatp y, +- floatp x_start, floatp y_start, gx_path_type_t type)); ++ floatp x3, floatp y3, gx_path_type_t type); ++private int escv_closepath(gx_device_vector * vdev, floatp x, floatp y, ++ floatp x_start, floatp y_start, gx_path_type_t type); + +-private int escv_endpath(P2(gx_device_vector * vdev, gx_path_type_t type)); ++private int escv_endpath(gx_device_vector * vdev, gx_path_type_t type); + private int escv_setlinewidth(gx_device_vector * vdev, floatp width); + private int escv_setlinecap(gx_device_vector * vdev, gs_line_cap cap); + private int escv_setlinejoin(gx_device_vector * vdev, gs_line_join join); +@@ -585,6 +584,8 @@ + {421, 595, 15, "A5"}, /* A5 */ + {709, 1002, 24, "B4"}, /* B4 */ + {501, 709, 25, "B5"}, /* B5 */ ++ {729, 1032, 24, "B5"}, /* JIS B4 */ ++ {516, 729, 25, "B5"}, /* JIS B5 */ + {612, 792, 30, "LT"}, /* Letter */ + {396, 612, 31, "HLT"}, /* Half Letter */ + {612, 1008, 32, "LGL"}, /* Legal */ +@@ -1849,13 +1850,13 @@ /* Process the next piece of an image. */ private int @@ -26,7 +84,7 @@ gx_device *dev = info->dev; #endif gx_device_vector *const vdev = (gx_device_vector *) dev; -@@ -1784,7 +1783,7 @@ +@@ -1873,7 +1874,7 @@ { @@ -35,7 +93,7 @@ if (height == 260) height = 1; #endif -@@ -1922,13 +1921,13 @@ +@@ -2011,13 +2012,13 @@ private int |