1
/*--------------------------------------------------------------------------
3
----- Author: Rainer Menzner (Rainer.Menzner@web.de)
5
----- Description: This file is part of the t1-library. It contains
6
declarations and definitions for t1base.c
7
----- Copyright: t1lib is copyrighted (c) Rainer Menzner, 1996-2005.
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
void *T1_InitLib( int log);
31
int intT1_scanFontDBase( char *filename);
32
int intT1_scanFontDBaseXLFD( char *filename);
33
int T1_CloseLib( void);
34
int T1_AddFont( char *fontfilename);
35
void T1_PrintLog( char *func_ident, char *msg_txt, int level, ...);
36
void T1_SetLogLevel( int level);
37
int T1_CheckForInit(void);
38
int T1_CheckForFontID( int FontID);
39
char *T1_GetFontFileName( int FontID);
40
int T1_GetNoFonts(void);
41
int T1_SetDeviceResolutions( float x_res, float y_res);
42
int T1_CopyFont( int FontID);
43
int T1_QueryX11Support( void);
44
int T1_CheckEndian(void);
45
int T1_SetBitmapPad( int pad);
46
int T1_GetBitmapPad( void);
47
char *T1_GetLibIdent( void);
48
void T1_SetRasterFlags( int flags);
49
char *T1_GetAfmFileName( int FontID);
50
int T1_SetAfmFileName( int FontId, char *afm_name);
51
char *T1_GetFontFilePath( int FontID);
52
char *T1_GetAfmFilePath( int FontID);
53
const char *T1_StrError( int t1err);
55
extern int T1_Type1OperatorFlags;
59
extern void *T1_InitLib( int log);
60
extern int intT1_scanFontDBase( char *filename);
61
extern int intT1_scanFontDBaseXLFD( char *filename);
62
extern int T1_CloseLib( void);
63
extern int T1_AddFont( char *fontfilename);
64
extern void T1_PrintLog( char *func_ident, char *msg_txt, int level, ...);
65
extern void T1_SetLogLevel( int level);
66
extern int T1_CheckForInit(void);
67
extern int T1_CheckForFontID( int FontID);
68
extern char *T1_GetFontFileName( int FontID);
69
extern int T1_GetNoFonts(void);
70
extern int T1_SetDeviceResolutions( float x_res, float y_res);
71
extern int T1_QueryX11Support( void);
72
extern int T1_CopyFont( int FontID);
73
extern int T1_CheckEndian(void);
74
extern int T1_SetBitmapPad( int pad);
75
extern int T1_GetBitmapPad( void);
76
extern char *T1_GetLibIdent( void);
77
extern void T1_SetRasterFlags( int flags);
78
extern char *T1_GetAfmFileName( int FontID);
79
extern int T1_SetAfmFileName( int FontId, char *afm_name);
80
extern char *T1_GetFontFilePath( int FontID);
81
extern char *T1_GetAfmFilePath( int FontID);
82
extern const char *T1_StrError( int t1err);