diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2011-04-19 23:49:56 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2011-04-19 23:49:56 +0200 |
commit | 781969994b5381ba4bed03beef217f9bde6e7c58 (patch) | |
tree | aede27c7532f0fbe82f03dc0c04c9316be510fd5 /gs/base/gxfcmap.h | |
parent | 0b17959f31afe3baffbc328e7f92e88e634ad8b8 (diff) | |
download | ghostpdl-781969994b5381ba4bed03beef217f9bde6e7c58.tar.gz |
Indent with spaces and strip trailing whitespace.
Diffstat (limited to 'gs/base/gxfcmap.h')
-rw-r--r-- | gs/base/gxfcmap.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/gs/base/gxfcmap.h b/gs/base/gxfcmap.h index f7232d6df..0bb92cfaa 100644 --- a/gs/base/gxfcmap.h +++ b/gs/base/gxfcmap.h @@ -1,6 +1,6 @@ /* Copyright (C) 2001-2006 Artifex Software, Inc. All Rights Reserved. - + This software is provided AS-IS with no warranty, either express or implied. @@ -133,7 +133,7 @@ typedef struct gs_cmap_s gs_cmap_t; #define GS_CMAP_COMMON\ int CMapType; /* must be first */\ gs_id id; /* internal ID (no relation to UID) */\ - /* End of entries common to all CMapTypes */\ + /* End of entries common to all CMapTypes */\ gs_const_string CMapName;\ gs_cid_system_info_t *CIDSystemInfo; /* [num_fonts] */\ int num_fonts;\ @@ -166,22 +166,22 @@ typedef struct gs_cmap_procs_s { */ int (*decode_next)(const gs_cmap_t *pcmap, const gs_const_string *str, - uint *pindex, uint *pfidx, - gs_char *pchr, gs_glyph *pglyph); + uint *pindex, uint *pfidx, + gs_char *pchr, gs_glyph *pglyph); /* * Initialize an enumeration of code space ranges. See below. */ void (*enum_ranges)(const gs_cmap_t *pcmap, - gs_cmap_ranges_enum_t *penum); + gs_cmap_ranges_enum_t *penum); /* * Initialize an enumeration of lookups. See below. */ void (*enum_lookups)(const gs_cmap_t *pcmap, int which, - gs_cmap_lookups_enum_t *penum); + gs_cmap_lookups_enum_t *penum); /* * Check if the cmap is identity. @@ -256,7 +256,7 @@ extern const gs_cmap_lookups_enum_procs_t gs_cmap_no_lookups_procs; * if (code < 0) <<error>> */ void gs_cmap_ranges_enum_init(const gs_cmap_t *pcmap, - gs_cmap_ranges_enum_t *penum); + gs_cmap_ranges_enum_t *penum); int gs_cmap_enum_next_range(gs_cmap_ranges_enum_t *penum); /* @@ -283,7 +283,7 @@ int gs_cmap_enum_next_range(gs_cmap_ranges_enum_t *penum); * itself) and not survive from one call to the next. */ void gs_cmap_lookups_enum_init(const gs_cmap_t *pcmap, int which, - gs_cmap_lookups_enum_t *penum); + gs_cmap_lookups_enum_t *penum); int gs_cmap_enum_next_lookup(gs_cmap_lookups_enum_t *penum); int gs_cmap_enum_next_entry(gs_cmap_lookups_enum_t *penum); @@ -299,26 +299,26 @@ void gs_cmap_init(const gs_memory_t *mem, gs_cmap_t *pcmap, int num_fonts); * Allocate and initialize (the common part of) a CMap. */ int gs_cmap_alloc(gs_cmap_t **ppcmap, const gs_memory_struct_type_t *pstype, - int wmode, const byte *map_name, uint name_size, - const gs_cid_system_info_t *pcidsi, int num_fonts, - const gs_cmap_procs_t *procs, gs_memory_t *mem); + int wmode, const byte *map_name, uint name_size, + const gs_cid_system_info_t *pcidsi, int num_fonts, + const gs_cmap_procs_t *procs, gs_memory_t *mem); /* * Initialize an enumerator with convenient defaults (index = 0). */ void gs_cmap_ranges_enum_setup(gs_cmap_ranges_enum_t *penum, - const gs_cmap_t *pcmap, - const gs_cmap_ranges_enum_procs_t *procs); + const gs_cmap_t *pcmap, + const gs_cmap_ranges_enum_procs_t *procs); void gs_cmap_lookups_enum_setup(gs_cmap_lookups_enum_t *penum, - const gs_cmap_t *pcmap, - const gs_cmap_lookups_enum_procs_t *procs); + const gs_cmap_t *pcmap, + const gs_cmap_lookups_enum_procs_t *procs); -/* +/* * Check for identity CMap. Uses a fast check for special cases. */ bool gs_cmap_is_identity(const gs_cmap_t *pcmap, int font_index_only); -/* +/* * For a random CMap, compute whether it is identity. * It is not applicable to gs_cmap_ToUnicode_t due to * different sizes of domain keys and range values. |