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

« back to all changes in this revision

Viewing changes to .pc/t1lib-general.diff/T1lib/t1lib/t1load.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:        t1load.h
 
3
  ----- Author:      Rainer Menzner (Rainer.Menzner@web.de)
 
4
  ----- Date:        2001-04-01
 
5
  ----- Description: This file is part of the t1-library. It contains
 
6
                     declarations and definitions for t1load.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
                     independ from X11.
 
25
                     Thanks to all people who make free software living!
 
26
--------------------------------------------------------------------------*/
 
27
  
 
28
 
 
29
#ifdef T1LOAD_C
 
30
 
 
31
int T1_LoadFont( int FontID);
 
32
static int openFontMetricsFile( int FontID, int open_sloppy);
 
33
FONTSIZEDEPS *CreateNewFontSize( int FontID, float size, int aa);
 
34
FONTSIZEDEPS *GetLastFontSize( int FontID);
 
35
FONTSIZEDEPS *QueryFontSize( int FontID, float size, int aa);
 
36
int fontfcnA( char *env, int *mode, psfont *Font_Ptr);
 
37
static int cmp_METRICS_ENTRY( const void *entry1, const void *entry2);
 
38
extern char *vm_base; /* from fontfcn.c in initfont()! */
 
39
extern char *vm_used; /* from fontfcn.c in fontfcnA()! */
 
40
 
 
41
#else
 
42
 
 
43
extern int T1_LoadFont( int FontID);
 
44
extern FONTSIZEDEPS *CreateNewFontSize( int FontID, float size, int aa);
 
45
extern FONTSIZEDEPS *GetLastFontSize( int FontID);
 
46
extern FONTSIZEDEPS *QueryFontSize( int FontID, float size, int aa);
 
47
 
 
48
#endif