~ubuntu-branches/ubuntu/utopic/texlive-bin/utopic

« back to all changes in this revision

Viewing changes to libs/t1lib/t1lib-5.1.2/lib/t1lib/t1base.h

  • Committer: Package Import Robot
  • Author(s): Norbert Preining
  • Date: 2012-04-10 10:16:01 UTC
  • mfrom: (1.2.3)
  • Revision ID: package-import@ubuntu.com-20120410101601-7mt8nyn280xrgza6
Tags: 2011.20120410-1
* new upstream checkout:
  - remove decls of popen and pclose (Closes: #64524) (!yow, 5 digit bug!)
  - do not declare getopt in C++, fixes FTBFS with g++ >= 4.7 
    (Closes: #667392)
* add patches (maybe to be included upstream) that allows inclusion of
  one config file in another for (x)dvipdfmx. This will be
  used by the paper code.
* fix description of libptexenc-dev package (Closes: #667694)
* remove xdvik patch, included upstream
* remove conflict with ptex-bin, we are building a transitional package now
* build with internal t1lib, as t1lib is going to disappear in
  wheezy (Closes: #667912) (no, dropping xdvi is not an option!)
  (add a lintian override otherwise this gives a lintian error)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*--------------------------------------------------------------------------
 
2
  ----- File:        t1base.h
 
3
  ----- Author:      Rainer Menzner (Rainer.Menzner@web.de)
 
4
  ----- Date:        2002-05-16
 
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
 
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
#ifdef T1BASE_C
 
29
 
 
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);
 
54
 
 
55
extern int T1_Type1OperatorFlags;
 
56
 
 
57
#else
 
58
 
 
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);
 
83
 
 
84
#endif