Back to index

tetex-bin  3.0
t1base.h
Go to the documentation of this file.
00001 /*--------------------------------------------------------------------------
00002   ----- File:        t1base.h
00003   ----- Author:      Rainer Menzner (Rainer.Menzner@web.de)
00004   ----- Date:        2002-12-08
00005   ----- Description: This file is part of the t1-library. It contains
00006                      declarations and definitions for t1base.c
00007   ----- Copyright:   t1lib is copyrighted (c) Rainer Menzner, 1996-2002. 
00008                      As of version 0.5, t1lib is distributed under the
00009                    GNU General Public Library Lincense. The
00010                    conditions can be found in the files LICENSE and
00011                    LGPL, which should reside in the toplevel
00012                    directory of the distribution.  Please note that 
00013                    there are parts of t1lib that are subject to
00014                    other licenses:
00015                    The parseAFM-package is copyrighted by Adobe Systems
00016                    Inc.
00017                    The type1 rasterizer is copyrighted by IBM and the
00018                    X11-consortium.
00019   ----- Warranties:  Of course, there's NO WARRANTY OF ANY KIND :-)
00020   ----- Credits:     I want to thank IBM and the X11-consortium for making
00021                      their rasterizer freely available.
00022                    Also thanks to Piet Tutelaers for his ps2pk, from
00023                    which I took the rasterizer sources in a format
00024                    independ from X11.
00025                      Thanks to all people who make free software living!
00026 --------------------------------------------------------------------------*/
00027   
00028 #ifdef T1BASE_C
00029 
00030 void *T1_InitLib( int log);
00031 int intT1_scanFontDBase( char *filename);
00032 int T1_CloseLib( void);
00033 int T1_AddFont( char *fontfilename);
00034 void T1_PrintLog( char *func_ident, char *msg_txt, int level, ...);
00035 void T1_SetLogLevel( int level);
00036 int T1_CheckForInit(void);
00037 int T1_CheckForFontID( int FontID);
00038 char *T1_GetFontFileName( int FontID);
00039 int  T1_GetNoFonts(void);
00040 int T1_SetDeviceResolutions( float x_res, float y_res);
00041 int T1_CopyFont( int FontID);
00042 int T1_QueryX11Support( void);
00043 int T1_CheckEndian(void);
00044 int T1_SetBitmapPad( int pad);
00045 int T1_GetBitmapPad( void);
00046 char *T1_GetLibIdent( void);
00047 void T1_SetRasterFlags( int flags);
00048 char *T1_GetAfmFileName( int FontID);
00049 int T1_SetAfmFileName( int FontId, char *afm_name);
00050 char *T1_GetFontFilePath( int FontID);
00051 char *T1_GetAfmFilePath( int FontID);
00052 const char *T1_StrError( int t1err);
00053 
00054 extern int T1_Type1OperatorFlags;
00055 
00056 #else
00057 
00058 extern void *T1_InitLib( int log);
00059 extern int intT1_scanFontDBase( char *filename);
00060 extern int T1_CloseLib( void);
00061 extern int T1_AddFont( char *fontfilename);
00062 extern void T1_PrintLog( char *func_ident, char *msg_txt, int level, ...);
00063 extern void T1_SetLogLevel( int level);
00064 extern int T1_CheckForInit(void);
00065 extern int T1_CheckForFontID( int FontID);
00066 extern char *T1_GetFontFileName( int FontID);
00067 extern int  T1_GetNoFonts(void);
00068 extern int T1_SetDeviceResolutions( float x_res, float y_res);
00069 extern int T1_QueryX11Support( void);
00070 extern int T1_CopyFont( int FontID);
00071 extern int T1_CheckEndian(void);
00072 extern int T1_SetBitmapPad( int pad);
00073 extern int T1_GetBitmapPad( void);
00074 extern char *T1_GetLibIdent( void);
00075 extern void T1_SetRasterFlags( int flags);
00076 extern char *T1_GetAfmFileName( int FontID);
00077 extern int T1_SetAfmFileName( int FontId, char *afm_name);
00078 extern char *T1_GetFontFilePath( int FontID);
00079 extern char *T1_GetAfmFilePath( int FontID);
00080 extern const char *T1_StrError( int t1err);
00081 
00082 #endif