~ubuntu-branches/ubuntu/hardy/ghostscript/hardy

« back to all changes in this revision

Viewing changes to src/gdevpdtd.c

  • Committer: Bazaar Package Importer
  • Author(s): Till Kamppeter
  • Date: 2007-11-22 12:17:43 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20071122121743-cd70s3ypq0r243mp
Tags: 8.61.dfsg.1-0ubtuntu1
* New upstream release
  o Final 8.61 release
* debian/patches/09_ijs_krgb_support.dpatch: Adapted to upstream changes.
* debian/rules: Updated CUPS-related variables for "make install" calls.
* debian/rules: Remove /usr/include/ghostscript from the ghostscript
  package, they go into lings-dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
   San Rafael, CA  94903, U.S.A., +1(415)492-9861, for further information.
12
12
*/
13
13
 
14
 
/* $Id: gdevpdtd.c 8022 2007-06-05 22:23:38Z giles $ */
 
14
/* $Id: gdevpdtd.c 8250 2007-09-25 13:31:24Z giles $ */
15
15
/* FontDescriptor implementation for pdfwrite */
16
16
#include "math_.h"
17
17
#include "memory_.h"
145
145
/* ---------------- Private ---------------- */
146
146
 
147
147
/* Get the ID of font descriptor metrics. */
148
 
inline private long
 
148
static inline long
149
149
pdf_font_descriptor_common_id(const pdf_font_descriptor_common_t *pfdc)
150
150
{
151
151
    return pdf_resource_id((const pdf_resource_t *)pfdc);
152
152
}
153
153
 
154
154
/* Write the common part of a FontDescriptor, aside from the final >>. */
155
 
private int
 
155
static int
156
156
write_FontDescriptor_common(gx_device_pdf *pdev,
157
157
                            const pdf_font_descriptor_common_t *pfd)
158
158
{
715
715
            pdfont->u.cidfont.CIDToGIDMap[ch] = glyph - GS_MIN_GLYPH_INDEX;
716
716
        }
717
717
    }
 
718
    pdfont->u.cidfont.Widths2 = NULL;
 
719
    pdfont->u.cidfont.used2 = NULL;
 
720
    pdfont->u.cidfont.v = NULL;
718
721
    return 0;
719
722
}