~ubuntu-branches/debian/sid/grace/sid

« back to all changes in this revision

Viewing changes to .pc/t1lib-general.diff/T1lib/t1lib/t1outline.h

  • Committer: Package Import Robot
  • Author(s): Nicholas Breen
  • Date: 2014-03-27 20:12:01 UTC
  • Revision ID: package-import@ubuntu.com-20140327201201-qhh4x159dor0z3mv
Tags: 1:5.1.23-4
* control: XmHTML development package will change to libxmhtml-dev soon;
  modify Build-Depends to libxmhtml-dev | xmhtml1-dev in preparation.
* rules: Switch back to embedded convenience copy of T1lib.
  (Closes: #638760)
  - control: Drop B-D on t1lib-dev.
  - README.source: add some notes about this.
  - patches/t1lib-general.diff: Incorporate all available patches from
    former Debian distribution of T1lib.
  - grace.lintian-overrides: Suppress relevant embedded-library error.
* control:  Update Standards-Version to 3.9.5, no changes required.
* grace.lintian-overrides: Drop workaround for lintian #673112.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*--------------------------------------------------------------------------
 
2
  ----- File:        t1outline.h
 
3
  ----- Author:      Rainer Menzner (Rainer.Menzner@web.de)
 
4
  ----- Date:        2001-05-27
 
5
  ----- Description: This file is part of the t1-library. It contains
 
6
                     definitions and declarations for t1outline.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
                     independent from X11.
 
25
                     Thanks to all people who make free software living!
 
26
--------------------------------------------------------------------------*/
 
27
  
 
28
#ifdef T1OUTLINE_C
 
29
 
 
30
T1_OUTLINE *T1_GetCharOutline( int FontID, char charcode, float size,
 
31
                               T1_TMATRIX *transform);
 
32
T1_OUTLINE *T1_GetStringOutline( int FontID, char *string, int len, 
 
33
                                 long spaceoff, int modflag, float size,
 
34
                                 T1_TMATRIX *transform);
 
35
T1_OUTLINE *T1_ConcatOutlines( T1_OUTLINE *path1, T1_OUTLINE *path2);
 
36
T1_OUTLINE *T1_ScaleOutline( T1_OUTLINE *path, float scale);
 
37
T1_OUTLINE *T1_GetMoveOutline( int FontID, int deltax, int deltay, int modflag,
 
38
                               float size, T1_TMATRIX *transform);
 
39
void T1_DumpPath( T1_OUTLINE *path);
 
40
void T1_AbsolutePath( T1_OUTLINE *rpath);
 
41
void T1_RelativePath( T1_OUTLINE *apath);
 
42
void T1_ManipulatePath( T1_OUTLINE *path,
 
43
                        void (*manipulate)(fractpel *x,fractpel *y,int type));
 
44
T1_OUTLINE *T1_CopyOutline( T1_OUTLINE *path);
 
45
void T1_FreeOutline( T1_OUTLINE *path);
 
46
 
 
47
 
 
48
#else
 
49
 
 
50
extern T1_OUTLINE *T1_GetCharOutline( int FontID, char charcode, float size,
 
51
                                      T1_TMATRIX *transform);
 
52
extern T1_OUTLINE *T1_GetStringOutline( int FontID, char *string, int len, 
 
53
                                        long spaceoff, int modflag, float size,
 
54
                                        T1_TMATRIX *transform);
 
55
extern T1_OUTLINE *T1_ConcatOutlines( T1_OUTLINE *path1,
 
56
                                      T1_OUTLINE *path2);
 
57
extern T1_OUTLINE *T1_ScaleOutline( T1_OUTLINE *path, float scale);
 
58
extern T1_OUTLINE *T1_GetMoveOutline( int FontID, int deltax, int deltay, int modflag,
 
59
                                      float size, T1_TMATRIX *transform);
 
60
extern void T1_DumpPath( T1_OUTLINE *path);
 
61
extern void T1_AbsolutePath( T1_OUTLINE *rpath);
 
62
extern void T1_RelativePath( T1_OUTLINE *apath);
 
63
extern void T1_ManipulatePath( T1_OUTLINE *path,
 
64
                               void (*manipulate)(fractpel *x,fractpel *y,int type));
 
65
extern T1_OUTLINE *T1_CopyOutline( T1_OUTLINE *path);
 
66
extern void T1_FreeOutline( T1_OUTLINE *path);
 
67
 
 
68
#endif
 
69
 
 
70
 
 
71
extern struct region *fontfcnB(int FontID, int modflag,
 
72
                               struct XYspace *S, char **ev,
 
73
                               unsigned char index, int *mode,
 
74
                               psfont *Font_Ptr,
 
75
                               int do_raster);
 
76
extern struct region *fontfcnB_string( int FontID, int modflag,
 
77
                                       struct XYspace *S, char **ev,
 
78
                                       unsigned char *string, int no_chars,
 
79
                                       int *mode, psfont *Font_Ptr,
 
80
                                       int *kern_pairs, long spacewidth,
 
81
                                       int do_raster);
 
82
extern struct region *fontfcnB_ByName( int FontID, int modflag,
 
83
                                       struct XYspace *S,
 
84
                                       char *charname,
 
85
                                       int *mode, psfont *Font_Ptr,
 
86
                                       int do_raster);
 
87
 
 
88