1
/*--------------------------------------------------------------------------
3
----- Author: Rainer Menzner (Rainer.Menzner@web.de)
5
----- Description: This file is part of the t1-library. It contains
6
definitions and declarations for t1set.c.
7
----- Copyright: t1lib is copyrighted (c) Rainer Menzner, 1996-2003.
8
As of version 0.5, t1lib is distributed under the
9
GNU General Public Library Lincense. The
10
conditions can be found in the files LICENSE and
11
LGPL, which should reside in the toplevel
12
directory of the distribution. Please note that
13
there are parts of t1lib that are subject to
15
The parseAFM-package is copyrighted by Adobe Systems
17
The type1 rasterizer is copyrighted by IBM and the
19
----- Warranties: Of course, there's NO WARRANTY OF ANY KIND :-)
20
----- Credits: I want to thank IBM and the X11-consortium for making
21
their rasterizer freely available.
22
Also thanks to Piet Tutelaers for his ps2pk, from
23
which I took the rasterizer sources in a format
25
Thanks to all people who make free software living!
26
--------------------------------------------------------------------------*/
30
GLYPH *T1_AASetChar( int FontID, char charcode,
31
float size, T1_TMATRIX *transform);
32
GLYPH *T1_AASetString( int FontID, char *string, int len,
33
long spaceoff, int modflag,
34
float size, T1_TMATRIX *transform);
35
GLYPH* T1_AASetRect( int FontID, float size,
36
float width, float height,
37
T1_TMATRIX *transform);
38
int T1_AASetGrayValues( unsigned long white,
43
int T1_AAHSetGrayValues( unsigned long *grayvals);
44
int T1_AANSetGrayValues( unsigned long fg, unsigned long bg);
45
int T1_AAGetGrayValues( long *pgrayvals);
46
int T1_AAHGetGrayValues( long *pgrayvals);
47
int T1_AANGetGrayValues( long *pgrayvals);
48
int T1_AASetBitsPerPixel( int bpp);
49
int T1_AAGetBitsPerPixel( void);
50
int T1_AASetLevel( int level);
51
int T1_AAGetLevel( void);
52
GLYPH *T1_AAFillOutline( T1_OUTLINE *path, int modflag);
53
int T1_AASetSmartLimits( float limit1, float limit2);
54
int T1_AASetSmartMode( int smart);
58
extern GLYPH *T1_AASetChar( int FontID, char charcode,
59
float size, T1_TMATRIX *transform);
60
extern GLYPH *T1_AASetString( int FontID, char *string, int len,
61
long spaceoff, int modflag,
62
float size, T1_TMATRIX *transform);
63
extern GLYPH* T1_AASetRect( int FontID, float size,
64
float width, float height,
65
T1_TMATRIX *transform);
66
extern int T1_AASetGrayValues( unsigned long white,
71
extern int T1_AAHSetGrayValues( unsigned long *grayvals);
72
extern int T1_AANSetGrayValues( unsigned long bg, unsigned long fg);
73
extern int T1_AAGetGrayValues( long *pgrayvals);
74
extern int T1_AAHGetGrayValues( long *pgrayvals);
75
extern int T1_AANGetGrayValues( long *pgrayvals);
76
extern int T1_AASetBitsPerPixel( int bpp);
77
extern int T1_AAGetBitsPerPixel( void);
78
extern int T1_AASetLevel( int level);
79
extern int T1_AAGetLevel( void);
80
extern GLYPH *T1_AAFillOutline( T1_OUTLINE *path, int modflag);
81
extern int T1_AASetSmartLimits( float limit1, float limit2);
82
extern int T1_AASetSmartMode( int smart);