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

« back to all changes in this revision

Viewing changes to T1lib/t1lib/t1set.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
1
/*--------------------------------------------------------------------------
2
2
  ----- File:        t1set.h
3
3
  ----- Author:      Rainer Menzner (Rainer.Menzner@web.de)
4
 
  ----- Date:        2001-05-27
 
4
  ----- Date:        2003-01-02
5
5
  ----- Description: This file is part of the t1-library. It contains
6
6
                     definitions and declarations for t1set.c.
7
 
  ----- Copyright:   t1lib is copyrighted (c) Rainer Menzner, 1996-2001. 
 
7
  ----- Copyright:   t1lib is copyrighted (c) Rainer Menzner, 1996-2003.
8
8
                     As of version 0.5, t1lib is distributed under the
9
9
                     GNU General Public Library Lincense. The
10
10
                     conditions can be found in the files LICENSE and
32
32
GLYPH *T1_SetString( int FontID, char *string, volatile int len,
33
33
                     long spaceoff, int modflag,
34
34
                     float size, T1_TMATRIX *transform);
 
35
GLYPH* T1_SetRect( int FontID, float size,
 
36
                   float width, float height,
 
37
                   T1_TMATRIX *transform);
35
38
void fill(char *dest, int h, int w,
36
39
          struct region *area, int byte, int bit,
37
40
          int wordsize);
38
41
void fillrun(char *p, pel x0, pel x1, int bit);
39
42
GLYPH *T1_CopyGlyph(GLYPH *glyph);
40
43
void T1_DumpGlyph( GLYPH *glyph);
41
 
void T1_ComputeLineParameters( int FontID, int width,
42
 
                               int mode, float size,
43
 
                               int *startx, int *endx,
44
 
                               int *starty, int *endy);
45
44
GLYPH *T1_ConcatGlyphs( GLYPH *glyph1, GLYPH *glyph2,
46
45
                        int x_off, int y_off, int modflag);
47
46
void T1_DumpGlyph( GLYPH *glyph);
55
54
extern GLYPH *T1_SetString( int FontID, char *string, volatile int len,
56
55
                            long spaceoff, int modflag,
57
56
                            float size, T1_TMATRIX *transform);
 
57
extern GLYPH* T1_SetRect( int FontID, float size,
 
58
                          float width, float height,
 
59
                          T1_TMATRIX *transform);
58
60
extern void fill(char *dest, int h, int w,
59
61
                 struct region *area, int byte, int bit,
60
62
                 int wordsize);
73
75
                               struct XYspace *S, char **ev,
74
76
                               unsigned char index, int *mode,
75
77
                               psfont *Font_Ptr,
76
 
                               int do_raster);
 
78
                               int do_raster,
 
79
                               float strokewidth);
77
80
extern struct region *fontfcnB_string( int FontID, int modflag,
78
81
                                       struct XYspace *S, char **ev,
79
82
                                       unsigned char *string, int no_chars,
80
83
                                       int *mode, psfont *Font_Ptr,
81
84
                                       int *kern_pairs, long spacewidth,
82
 
                                       int do_raster);
 
85
                                       int do_raster,
 
86
                                       float strokewidth);
83
87
extern struct region *fontfcnB_ByName( int FontID, int modflag,
84
88
                                       struct XYspace *S,
85
89
                                       char *charname,
86
90
                                       int *mode, psfont *Font_Ptr,
87
91
                                       int do_raster);
 
92
extern struct region* fontfcnRect( float width,
 
93
                                   float height,
 
94
                                   struct XYspace* S,
 
95
                                   int* mode,
 
96
                                   int do_raster,
 
97
                                   float strokewidth);
 
98