~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/t1aaset.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:        t1aaset.h
 
3
  ----- Author:      Rainer Menzner (Rainer.Menzner@web.de)
 
4
  ----- Date:        2003-01-02
 
5
  ----- Description: This file is part of the t1-library. It contains
 
6
                     definitions and declarations for t1set.c.
 
7
  ----- Copyright:   t1lib is copyrighted (c) Rainer Menzner, 1996-2003. 
 
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
                     independent from X11.
 
25
                     Thanks to all people who make free software living!
 
26
--------------------------------------------------------------------------*/
 
27
  
 
28
#ifdef T1AASET_C
 
29
 
 
30
GLYPH *T1_AASetChar( int FontID, char charcode, 
 
31
                     float size, T1_TMATRIX *transform);
 
32
GLYPH *T1_AASetString( int FontID, char *string, int len,
 
33
                       long spaceoff, int modflag,
 
34
                       float size, T1_TMATRIX *transform);
 
35
GLYPH* T1_AASetRect( int FontID, float size,
 
36
                     float width, float height,
 
37
                     T1_TMATRIX *transform);
 
38
int T1_AASetGrayValues( unsigned long white,
 
39
                        unsigned long gray75,
 
40
                        unsigned long gray50,
 
41
                        unsigned long gray25,
 
42
                        unsigned long black);
 
43
int T1_AAHSetGrayValues( unsigned long *grayvals);
 
44
int T1_AANSetGrayValues( unsigned long fg, unsigned long bg);
 
45
int T1_AAGetGrayValues( long *pgrayvals);
 
46
int T1_AAHGetGrayValues( long *pgrayvals);
 
47
int T1_AANGetGrayValues( long *pgrayvals);
 
48
int T1_AASetBitsPerPixel( int bpp);
 
49
int T1_AAGetBitsPerPixel( void);
 
50
int T1_AASetLevel( int level);
 
51
int T1_AAGetLevel( void);
 
52
GLYPH *T1_AAFillOutline( T1_OUTLINE *path, int modflag);
 
53
int T1_AASetSmartLimits( float limit1, float limit2);
 
54
int T1_AASetSmartMode( int smart);
 
55
 
 
56
#else
 
57
 
 
58
extern GLYPH *T1_AASetChar( int FontID, char charcode, 
 
59
                            float size, T1_TMATRIX *transform);
 
60
extern GLYPH *T1_AASetString( int FontID, char *string, int len,
 
61
                              long spaceoff, int modflag,
 
62
                              float size, T1_TMATRIX *transform);
 
63
extern GLYPH* T1_AASetRect( int FontID, float size,
 
64
                          float width, float height,
 
65
                          T1_TMATRIX *transform);
 
66
extern int T1_AASetGrayValues( unsigned long white,
 
67
                               unsigned long gray75,
 
68
                               unsigned long gray50,
 
69
                               unsigned long gray25,
 
70
                               unsigned long black);
 
71
extern int T1_AAHSetGrayValues( unsigned long *grayvals);
 
72
extern int T1_AANSetGrayValues( unsigned long bg, unsigned long fg);
 
73
extern int T1_AAGetGrayValues( long *pgrayvals);
 
74
extern int T1_AAHGetGrayValues( long *pgrayvals);
 
75
extern int T1_AANGetGrayValues( long *pgrayvals);
 
76
extern int T1_AASetBitsPerPixel( int bpp);
 
77
extern int T1_AAGetBitsPerPixel( void);
 
78
extern int T1_AASetLevel( int level);
 
79
extern int T1_AAGetLevel( void);
 
80
extern GLYPH *T1_AAFillOutline( T1_OUTLINE *path, int modflag);
 
81
extern int T1_AASetSmartLimits( float limit1, float limit2);
 
82
extern int T1_AASetSmartMode( int smart);
 
83
 
 
84
#endif
 
85