~ubuntu-branches/ubuntu/oneiric/ghostscript/oneiric

« back to all changes in this revision

Viewing changes to base/gsccode.h

  • Committer: Bazaar Package Importer
  • Author(s): Till Kamppeter
  • Date: 2011-07-15 16:49:55 UTC
  • mfrom: (1.1.23 upstream)
  • Revision ID: james.westby@ubuntu.com-20110715164955-uga6qibao6kez05c
Tags: 9.04~dfsg~20110715-0ubuntu1
* New upstream release
   - GIT snapshot from Jult, 12 2011.
* debian/patches/020110406~a54df2d.patch,
  debian/patches/020110408~0791cc8.patch,
  debian/patches/020110408~507cbee.patch,
  debian/patches/020110411~4509a49.patch,
  debian/patches/020110412~78bb9a6.patch,
  debian/patches/020110418~a05ab8a.patch,
  debian/patches/020110420~20b6c78.patch,
  debian/patches/020110420~4ddefa2.patch: Removed upstream patches.
* debian/rules: Generate ABI version number (variable "abi") correctly,
  cutting off repackaging and pre-release parts.
* debian/rules: Added ./lcms2/ directory to DEB_UPSTREAM_REPACKAGE_EXCLUDES.
* debian/copyright: Added lcms2/* to the list of excluded files.
* debian/symbols.common: Updated for new upstream source. Applied patch
  which dpkg-gensymbols generated for debian/libgs9.symbols to this file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* Copyright (C) 2001-2006 Artifex Software, Inc.
2
2
   All Rights Reserved.
3
 
  
 
3
 
4
4
   This software is provided AS-IS with no warranty, either express or
5
5
   implied.
6
6
 
11
11
   San Rafael, CA  94903, U.S.A., +1(415)492-9861, for further information.
12
12
*/
13
13
 
14
 
/* $Id: gsccode.h 8022 2007-06-05 22:23:38Z giles $ */
 
14
/* $Id$ */
15
15
/* Types for character codes */
16
16
 
17
17
#ifndef gsccode_INCLUDED
32
32
 * Define a character glyph code, a.k.a. character name.  The space of
33
33
 * glyph codes is divided into five sections:
34
34
 *
35
 
 *      - Codes >= GS_MIN_GLYPH_INDEX represent (non-negative) 
 
35
 *      - Codes >= GS_MIN_GLYPH_INDEX represent (non-negative)
36
36
 *        integers biased by GS_MIN_CID_GLYPH.  They represent glyph indices
37
37
 *        of a specific font.
38
38
 *
39
 
 *      - Codes within [GS_MIN_CID_GLYPH, GS_MIN_GLYPH_INDEX) represent (non-negative) 
 
39
 *      - Codes within [GS_MIN_CID_GLYPH, GS_MIN_GLYPH_INDEX) represent (non-negative)
40
40
 *        integers biased by GS_MIN_CID_GLYPH.  They represent PostScript CIDs
41
41
 *        of a specific Ordering.
42
42
 *
92
92
/* Define the indices for known encodings. */
93
93
typedef enum {
94
94
    ENCODING_INDEX_UNKNOWN = -1,
95
 
        /* Real encodings.  These must come first. */
 
95
        /* Real encodings.  These must come first. */
96
96
    ENCODING_INDEX_STANDARD = 0,
97
97
    ENCODING_INDEX_ISOLATIN1,
98
98
    ENCODING_INDEX_SYMBOL,
101
101
    ENCODING_INDEX_MACROMAN,
102
102
    ENCODING_INDEX_MACEXPERT,
103
103
#define NUM_KNOWN_REAL_ENCODINGS 7
104
 
        /* Pseudo-encodings (glyph sets). */
 
104
        /* Pseudo-encodings (glyph sets). */
105
105
    ENCODING_INDEX_MACGLYPH,    /* Mac glyphs */
106
106
    ENCODING_INDEX_ALOGLYPH,    /* Adobe Latin glyph set */
107
107
    ENCODING_INDEX_ALXGLYPH,    /* Adobe Latin Extended glyph set */
131
131
 * currently used only for CMaps: it is *not* the same as the glyph_name
132
132
 * procedure in fonts.
133
133
 */
134
 
typedef int (*gs_glyph_name_proc_t)(const gs_memory_t *mem, 
135
 
                                    gs_glyph glyph, gs_const_string *pstr,
136
 
                                    void *proc_data);
 
134
typedef int (*gs_glyph_name_proc_t)(const gs_memory_t *mem,
 
135
                                    gs_glyph glyph, gs_const_string *pstr,
 
136
                                    void *proc_data);
137
137
 
138
138
#endif /* gsccode_INCLUDED */