diff options
author | Henry Stiles <henry.stiles@artifex.com> | 2003-05-06 19:00:28 +0000 |
---|---|---|
committer | Henry Stiles <henry.stiles@artifex.com> | 2003-05-06 19:00:28 +0000 |
commit | ed9f05c898cb5462a7f182eef6e698dbaaf57bae (patch) | |
tree | 5b3e5a98d29b42208e0907c8aea41512c3f240b5 /pxl | |
parent | e2eb80f20dd5b123cbda915912473fd033ca511f (diff) |
*** empty log message ***
git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@1899 06663e23-700e-0410-b217-a244a6096597
Diffstat (limited to 'pxl')
-rw-r--r-- | pxl/pxerrors.c | 2 | ||||
-rw-r--r-- | pxl/pxfont.c | 2 | ||||
-rw-r--r-- | pxl/pximage.c | 2 | ||||
-rw-r--r-- | pxl/pxtop.c | 8 |
4 files changed, 7 insertions, 7 deletions
diff --git a/pxl/pxerrors.c b/pxl/pxerrors.c index 03f007c31..e9bd0b8bc 100644 --- a/pxl/pxerrors.c +++ b/pxl/pxerrors.c @@ -73,7 +73,7 @@ pxerrors_init(px_state_t *pxs) code = px_define_font(pxfont, px_bitmap_font_header, px_bitmap_font_header_size, - gs_next_id(), + gs_next_ids(1), pxs); { const byte *cdata = px_bitmap_font_char_data; while ( *cdata && code >= 0 ) diff --git a/pxl/pxfont.c b/pxl/pxfont.c index 1dee799b0..cbe592497 100644 --- a/pxl/pxfont.c +++ b/pxl/pxfont.c @@ -773,7 +773,7 @@ pxEndFontHeader(px_args_t *par, px_state_t *pxs) { px_font_t *pxfont = pxs->download_font; int code = px_define_font(pxfont, pxs->download_bytes.data, (ulong)pxs->download_bytes.size, - gs_next_id(), pxs); + gs_next_ids(1), pxs); /****** HOW TO DETERMINE FONT TYPE? ******/ pxfont->font_type = plft_16bit; diff --git a/pxl/pximage.c b/pxl/pximage.c index 9426c1169..ae7ef8a66 100644 --- a/pxl/pximage.c +++ b/pxl/pximage.c @@ -722,7 +722,7 @@ pxBeginRastPattern(px_args_t *par, px_state_t *pxs) pattern->palette.data = pdata; pattern->palette.size = psize; pattern->data = data; - pattern->id = gs_next_id(); + pattern->id = gs_next_ids(1); pxenum->pattern = pattern; pxs->pattern_enum = pxenum; return 0; diff --git a/pxl/pxtop.c b/pxl/pxtop.c index 311854eda..eb95ec7f1 100644 --- a/pxl/pxtop.c +++ b/pxl/pxtop.c @@ -43,8 +43,8 @@ typedef int (*px_init_proc) ( px_state_t * ); -int pxfont_init(P1(px_state_t *pxs )); -int pxerrors_init(P1(px_state_t *pxs )); +int pxfont_init(px_state_t *pxs ); +int pxerrors_init(px_state_t *pxs ); const px_init_proc px_init_table[] = { &pxfont_init, @@ -57,8 +57,8 @@ px_operator_proc(pxEndPage); px_operator_proc(pxBeginSession); /* Forward decls */ -private int pxl_end_page_top(P3(px_state_t *pxs, int num_copies, int flush)); -private int px_top_init(P3(px_parser_state_t *st, px_state_t *pxs, bool big_endian)); +private int pxl_end_page_top(px_state_t *pxs, int num_copies, int flush); +private int px_top_init(px_parser_state_t *st, px_state_t *pxs, bool big_endian); /* ------------ PCXL stream header processor ------- */ |