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

« back to all changes in this revision

Viewing changes to src/gdevpdtt.h

  • 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: gdevpdtt.h 8022 2007-06-05 22:23:38Z giles $ */
 
14
/* $Id: gdevpdtt.h 8265 2007-10-02 07:31:58Z ken $ */
15
15
/* Internal text processing interface for pdfwrite */
16
16
 
17
17
#ifndef gdevpdtt_INCLUDED
161
161
 * Compute and return the orig_matrix of a font.
162
162
 */
163
163
int pdf_font_orig_matrix(const gs_font *font, gs_matrix *pmat);
164
 
int font_orig_scale(const gs_font *font, double *sx);
165
164
 
166
165
/* 
167
166
 * Check the Encoding compatibility 
193
192
 * Create or find a parent Type 0 font resource object for a CID font resource.
194
193
 */
195
194
int pdf_obtain_parent_type0_font_resource(gx_device_pdf *pdev, pdf_font_resource_t *pdsubf, 
196
 
                const gs_const_string *CMapName, pdf_font_resource_t **pdfont);
 
195
                uint font_index, const gs_const_string *CMapName, pdf_font_resource_t **pdfont);
197
196
 
198
197
/*
199
198
 * Retrive font resource attached to a font.
270
269
 */
271
270
bool pdf_is_CID_font(gs_font *font);
272
271
 
273
 
/* Get a synthesized Type 3 font scale. */
274
 
void pdf_font3_scale(gx_device_pdf *pdev, gs_font *font, double *scale);
275
 
 
276
272
/* Release a text characters colloction. */
277
273
void pdf_text_release_cgp(pdf_text_enum_t *penum);
278
274
 
324
320
 
325
321
int pdf_shift_text_currentpoint(pdf_text_enum_t *penum, gs_point *wpt);
326
322
 
 
323
void adjust_first_last_char(pdf_font_resource_t *pdfont, byte *str, int size);
 
324
 
 
325
float pdf_calculate_text_size(gs_imager_state *pis, pdf_font_resource_t *pdfont, 
 
326
                              const gs_matrix *pfmat, gs_matrix *smat, gs_matrix *tmat,
 
327
                              gs_font *font, gx_device_pdf *pdev);
327
328
#endif /* gdevpdtt_INCLUDED */