Back to index

tetex-bin  3.0
t1enc.h
Go to the documentation of this file.
00001 /*--------------------------------------------------------------------------
00002   ----- File:        t1enc.h
00003   ----- Author:      Rainer Menzner (Rainer.Menzner@web.de)
00004   ----- Date:        2001-06-16
00005   ----- Description: This file is part of the t1-library. It contains
00006                      declarations and definitions for t11enc.c.
00007   ----- Copyright:   t1lib is copyrighted (c) Rainer Menzner, 1996-2001.
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 T1ENC_C
00029 
00030 static char **ScanEncodingFile( char *FileName);
00031 char **T1_LoadEncoding( char *FileName);
00032 int T1_DeleteEncoding( char **encoding);
00033 int T1_ReencodeFont( int FontID, char **Encoding);
00034 int T1_SetDefaultEncoding( char **encoding);
00035 char *T1_GetEncodingScheme( int FontID);
00036 static int cmp_METRICS_ENTRY( const void *entry1, const void *entry2);
00037 
00038 #else
00039 
00040 extern char **T1_LoadEncoding( char *FileName);
00041 extern int T1_DeleteEncoding( char **encoding);
00042 extern int T1_ReencodeFont( int FontID, char **Encoding);
00043 extern int T1_SetDefaultEncoding( char **encoding);
00044 extern char *T1_GetEncodingScheme( int FontID);
00045 
00046 #endif
00047