Back to index

tetex-bin  3.0
t1load.h
Go to the documentation of this file.
00001 /*--------------------------------------------------------------------------
00002   ----- File:        t1load.h
00003   ----- Author:      Rainer Menzner (Rainer.Menzner@web.de)
00004   ----- Date:        2002-12-02
00005   ----- Description: This file is part of the t1-library. It contains
00006                      declarations and definitions for t1load.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 
00029 #ifdef T1LOAD_C
00030 
00031 int T1_LoadFont( int FontID);
00032 static int openFontMetricsFile( int FontID, int open_sloppy);
00033 FONTSIZEDEPS *T1int_CreateNewFontSize( int FontID, float size, int aa);
00034 FONTSIZEDEPS *T1int_GetLastFontSize( int FontID);
00035 FONTSIZEDEPS *T1int_QueryFontSize( int FontID, float size, int aa);
00036 int fontfcnA( char *env, int *mode, psfont *Font_Ptr);
00037 static int cmp_METRICS_ENTRY( const void *entry1, const void *entry2);
00038 extern char *vm_base; /* from fontfcn.c in initfont()! */
00039 extern char *vm_used; /* from fontfcn.c in fontfcnA()! */
00040 
00041 #else
00042 
00043 extern int T1_LoadFont( int FontID);
00044 extern FONTSIZEDEPS *T1int_CreateNewFontSize( int FontID, float size, int aa);
00045 extern FONTSIZEDEPS *T1int_GetLastFontSize( int FontID);
00046 extern FONTSIZEDEPS *T1int_QueryFontSize( int FontID, float size, int aa);
00047 
00048 #endif