Warning: Attempt to read property "date" on null in /usr/local/www/websvn.planix.org/blame.php on line 247

Warning: Attempt to read property "msg" on null in /usr/local/www/websvn.planix.org/blame.php on line 247
WebSVN – planix.SVN – Blame – /os/branches/feature_fixcpp/sys/src/cmd/gs/src/gxfont0c.h – Rev 2

Subversion Repositories planix.SVN

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
/* Copyright (C) 2002 Aladdin Enterprises.  All rights reserved.
2
 
3
  This software is provided AS-IS with no warranty, either express or
4
  implied.
5
 
6
  This software is distributed under license and may not be copied,
7
  modified or distributed except as expressly authorized under the terms
8
  of the license contained in the file LICENSE in this distribution.
9
 
10
  For more information about licensing, please refer to
11
  http://www.ghostscript.com/licensing/. For information on
12
  commercial licensing, go to http://www.artifex.com/licensing/ or
13
  contact Artifex Software, Inc., 101 Lucas Valley Road #110,
14
  San Rafael, CA  94903, U.S.A., +1(415)492-9861.
15
*/
16
 
17
/* $Id: gxfont0c.h,v 1.1 2002/04/08 21:02:44 lpd Exp $ */
18
/* Interface to gsfont0c.c */
19
 
20
#ifndef gxfont0c_INCLUDED
21
#  define gxfont0c_INCLUDED
22
 
23
#include "gxfont0.h"
24
#include "gxfcid.h"
25
 
26
/* Exported by gsfont0c.c */
27
 
28
/*
29
 * Create a Type 0 font wrapper for a CIDFont.
30
 * psmat == NULL means use the identity matrix.
31
 */
32
int gs_font_type0_from_cidfont(gs_font_type0 **ppfont0, gs_font *font,
33
			       int wmode, const gs_matrix *psmat,
34
			       gs_memory_t *mem);
35
 
36
/*
37
 * Create a Type 0 font wrapper for a Type 42 font (converted to a Type 2
38
 * CIDFont), optionally using the TrueType cmap as the CMap.
39
 * See gs_cmap_from_type42_cmap below for details.
40
 */
41
int gs_font_type0_from_type42(gs_font_type0 **ppfont0, gs_font_type42 *pfont42,
42
			      int wmode, bool use_cmap, gs_memory_t *mem);
43
 
44
/* Exported by gsfcid2.c */
45
 
46
/*
47
 * Create a Type 2 CIDFont from a Type 42 font.
48
 */
49
int gs_font_cid2_from_type42(gs_font_cid2 **ppfcid, gs_font_type42 *pfont42,
50
			     int wmode, gs_memory_t *mem);
51
 
52
/*
53
 * Create a CMap from a TrueType cmap (Platform 3, Encoding 1, Format 4 only).
54
 * The resulting CMap is marked as being Unicode-based.
55
 */
56
int gs_cmap_from_type42_cmap(gs_cmap_t **ppcmap, gs_font_type42 *pfont42,
57
			     int wmode, gs_memory_t *mem);
58
 
59
#endif /* gxfont0c_INCLUDED */