1 /*-------------------------------------------------------------------------- 2 ----- File: t1load.h 3 ----- Author: Rainer Menzner (Rainer.Menzner@web.de) 4 ----- Date: 2001-04-01 5 ----- Description: This file is part of the t1-library. It contains 6 declarations and definitions for t1load.c. 7 ----- Copyright: t1lib is copyrighted (c) Rainer Menzner, 1996-2001. 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 14 other licenses: 15 The parseAFM-package is copyrighted by Adobe Systems 16 Inc. 17 The type1 rasterizer is copyrighted by IBM and the 18 X11-consortium. 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 24 independ from X11. 25 Thanks to all people who make free software living! 26 --------------------------------------------------------------------------*/ 27 28 29 #ifdef T1LOAD_C 30 31 int T1_LoadFont( int FontID); 32 static int openFontMetricsFile( int FontID, int open_sloppy); 33 FONTSIZEDEPS *CreateNewFontSize( int FontID, float size, int aa); 34 FONTSIZEDEPS *GetLastFontSize( int FontID); 35 FONTSIZEDEPS *QueryFontSize( int FontID, float size, int aa); 36 int fontfcnA( char *env, int *mode, psfont *Font_Ptr); 37 static int cmp_METRICS_ENTRY( const void *entry1, const void *entry2); 38 extern char *vm_base; /* from fontfcn.c in initfont()! */ 39 extern char *vm_used; /* from fontfcn.c in fontfcnA()! */ 40 41 #else 42 43 extern int T1_LoadFont( int FontID); 44 extern FONTSIZEDEPS *CreateNewFontSize( int FontID, float size, int aa); 45 extern FONTSIZEDEPS *GetLastFontSize( int FontID); 46 extern FONTSIZEDEPS *QueryFontSize( int FontID, float size, int aa); 47 48 #endif 49