~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to src/3rdparty/freetype/src/type1/t1load.h

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-08-24 04:09:09 UTC
  • Revision ID: james.westby@ubuntu.com-20050824040909-xmxe9jfr4a0w5671
Tags: upstream-4.0.0
ImportĀ upstreamĀ versionĀ 4.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***************************************************************************/
 
2
/*                                                                         */
 
3
/*  t1load.h                                                               */
 
4
/*                                                                         */
 
5
/*    Type 1 font loader (specification).                                  */
 
6
/*                                                                         */
 
7
/*  Copyright 1996-2001, 2002, 2004 by                                     */
 
8
/*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
 
9
/*                                                                         */
 
10
/*  This file is part of the FreeType project, and may only be used,       */
 
11
/*  modified, and distributed under the terms of the FreeType project      */
 
12
/*  license, LICENSE.TXT.  By continuing to use, modify, or distribute     */
 
13
/*  this file you indicate that you have read the license and              */
 
14
/*  understand and accept it fully.                                        */
 
15
/*                                                                         */
 
16
/***************************************************************************/
 
17
 
 
18
 
 
19
#ifndef __T1LOAD_H__
 
20
#define __T1LOAD_H__
 
21
 
 
22
 
 
23
#include <ft2build.h>
 
24
#include FT_INTERNAL_STREAM_H
 
25
#include FT_INTERNAL_POSTSCRIPT_AUX_H
 
26
#include FT_MULTIPLE_MASTERS_H
 
27
 
 
28
#include "t1parse.h"
 
29
 
 
30
 
 
31
FT_BEGIN_HEADER
 
32
 
 
33
 
 
34
  typedef struct  T1_Loader_
 
35
  {
 
36
    T1_ParserRec  parser;          /* parser used to read the stream */
 
37
 
 
38
    FT_Int        num_chars;       /* number of characters in encoding */
 
39
    PS_TableRec   encoding_table;  /* PS_Table used to store the       */
 
40
                                   /* encoding character names         */
 
41
 
 
42
    FT_Int        num_glyphs;
 
43
    PS_TableRec   glyph_names;
 
44
    PS_TableRec   charstrings;
 
45
    PS_TableRec   swap_table;      /* For moving .notdef glyph to index 0. */
 
46
 
 
47
    FT_Int        num_subrs;
 
48
    PS_TableRec   subrs;
 
49
    FT_Bool       fontdata;
 
50
 
 
51
  } T1_LoaderRec, *T1_Loader;
 
52
 
 
53
 
 
54
  FT_LOCAL( FT_Error )
 
55
  T1_Open_Face( T1_Face  face );
 
56
 
 
57
#ifndef T1_CONFIG_OPTION_NO_MM_SUPPORT
 
58
 
 
59
  FT_LOCAL( FT_Error )
 
60
  T1_Get_Multi_Master( T1_Face           face,
 
61
                       FT_Multi_Master*  master );
 
62
 
 
63
  FT_LOCAL_DEF( FT_Error )
 
64
  T1_Get_MM_Var( T1_Face      face,
 
65
                 FT_MM_Var*  *master );
 
66
 
 
67
  FT_LOCAL( FT_Error )
 
68
  T1_Set_MM_Blend( T1_Face    face,
 
69
                   FT_UInt    num_coords,
 
70
                   FT_Fixed*  coords );
 
71
 
 
72
  FT_LOCAL( FT_Error )
 
73
  T1_Set_MM_Design( T1_Face   face,
 
74
                    FT_UInt   num_coords,
 
75
                    FT_Long*  coords );
 
76
 
 
77
  FT_LOCAL_DEF( FT_Error )
 
78
  T1_Set_Var_Design( T1_Face    face,
 
79
                     FT_UInt    num_coords,
 
80
                     FT_Fixed*  coords );
 
81
 
 
82
  FT_LOCAL( void )
 
83
  T1_Done_Blend( T1_Face  face );
 
84
 
 
85
#endif /* !T1_CONFIG_OPTION_NO_MM_SUPPORT */
 
86
 
 
87
 
 
88
FT_END_HEADER
 
89
 
 
90
#endif /* __T1LOAD_H__ */
 
91
 
 
92
 
 
93
/* END */