~ubuntu-branches/ubuntu/gutsy/vnc4/gutsy

« back to all changes in this revision

Viewing changes to unix/xc/extras/FreeType/lib/extend/ftxopenf.h

  • Committer: Bazaar Package Importer
  • Author(s): Ola Lundqvist
  • Date: 2006-05-15 20:35:17 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060515203517-l4lre1ku942mn26k
Tags: 4.1.1+X4.3.0-10
* Correction of critical security issue. Thanks to Martin Kogler
  <e9925248@student.tuwien.ac.at> that informed me about the issue,
  and provided the patch.
  This flaw was originally found by Steve Wiseman of intelliadmin.com.
* Applied patch from Javier Kohen <jkohen@users.sourceforge.net> that
  inform the user that only 8 first characters of the password will
  actually be used when typing more than 8 characters, closes:
  #355619.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*******************************************************************
 
2
 *
 
3
 *  ftxopenf.h
 
4
 *
 
5
 *    internal TrueType Open functions
 
6
 *
 
7
 *  Copyright 1996-1999 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
#ifndef FTXOPENF_H
 
19
#define FTXOPENF_H
 
20
 
 
21
#include "ftxopen.h"
 
22
 
 
23
#ifdef __cplusplus
 
24
extern "C" {
 
25
#endif
 
26
 
 
27
  /* functions from ftxopen.c */
 
28
 
 
29
  TT_Error  Load_ScriptList( TTO_ScriptList*  sl,
 
30
                             PFace            input );
 
31
  TT_Error  Load_FeatureList( TTO_FeatureList*  fl,
 
32
                              PFace             input );
 
33
  TT_Error  Load_LookupList( TTO_LookupList*  ll,
 
34
                             PFace            input,
 
35
                             TTO_Type         type );
 
36
 
 
37
  TT_Error  Load_Coverage( TTO_Coverage*  c,
 
38
                           PFace          input );
 
39
  TT_Error  Load_ClassDefinition( TTO_ClassDefinition*  cd,
 
40
                                  UShort                limit,
 
41
                                  PFace                 input );
 
42
  TT_Error  Load_Device( TTO_Device*  d,
 
43
                         PFace        input );
 
44
 
 
45
  void  Free_ScriptList( TTO_ScriptList*  sl );
 
46
  void  Free_FeatureList( TTO_FeatureList*  fl );
 
47
  void  Free_LookupList( TTO_LookupList*  ll,
 
48
                         TTO_Type         type );
 
49
 
 
50
  void  Free_Coverage( TTO_Coverage*  c );
 
51
  void  Free_ClassDefinition( TTO_ClassDefinition*  cd );
 
52
  void  Free_Device( TTO_Device*  d );
 
53
 
 
54
 
 
55
  /* functions from ftxgsub.c */
 
56
 
 
57
  TT_Error  Load_SingleSubst( TTO_SingleSubst*  ss,
 
58
                              PFace             input );
 
59
  TT_Error  Load_MultipleSubst( TTO_MultipleSubst*  ms,
 
60
                                PFace               input );
 
61
  TT_Error  Load_AlternateSubst( TTO_AlternateSubst*  as,
 
62
                                 PFace                input );
 
63
  TT_Error  Load_LigatureSubst( TTO_LigatureSubst*  ls,
 
64
                                PFace               input );
 
65
  TT_Error  Load_ContextSubst( TTO_ContextSubst*  cs,
 
66
                               PFace              input );
 
67
  TT_Error  Load_ChainContextSubst( TTO_ChainContextSubst*  ccs,
 
68
                                    PFace                   input );
 
69
 
 
70
  void  Free_SingleSubst( TTO_SingleSubst*  ss );
 
71
  void  Free_MultipleSubst( TTO_MultipleSubst*  ms );
 
72
  void  Free_AlternateSubst( TTO_AlternateSubst*  as );
 
73
  void  Free_LigatureSubst( TTO_LigatureSubst*  ls );
 
74
  void  Free_ContextSubst( TTO_ContextSubst*  cs );
 
75
  void  Free_ChainContextSubst( TTO_ChainContextSubst*  ccs );
 
76
 
 
77
 
 
78
  /* functions from ftxgpos.c */
 
79
 
 
80
  TT_Error  Load_SinglePos( TTO_SinglePos*  sp,
 
81
                            PFace           input );
 
82
  TT_Error  Load_PairPos( TTO_PairPos*  pp,
 
83
                          PFace         input );
 
84
  TT_Error  Load_CursivePos( TTO_CursivePos*  cp,
 
85
                             PFace            input );
 
86
  TT_Error  Load_MarkBasePos( TTO_MarkBasePos*  mbp,
 
87
                              PFace             input );
 
88
  TT_Error  Load_MarkLigPos( TTO_MarkLigPos*  mlp,
 
89
                             PFace            input );
 
90
  TT_Error  Load_MarkMarkPos( TTO_MarkMarkPos*  mmp,
 
91
                              PFace             input );
 
92
  TT_Error  Load_ContextPos( TTO_ContextPos*  cp,
 
93
                             PFace            input );
 
94
  TT_Error  Load_ChainContextPos( TTO_ChainContextPos*  ccp,
 
95
                                  PFace                 input );
 
96
 
 
97
  void  Free_SinglePos( TTO_SinglePos*  sp );
 
98
  void  Free_PairPos( TTO_PairPos*  pp );
 
99
  void  Free_CursivePos( TTO_CursivePos*  cp );
 
100
  void  Free_MarkBasePos( TTO_MarkBasePos*  mbp );
 
101
  void  Free_MarkLigPos( TTO_MarkLigPos*  mlp );
 
102
  void  Free_MarkMarkPos( TTO_MarkMarkPos*  mmp );
 
103
  void  Free_ContextPos( TTO_ContextPos*  cp );
 
104
  void  Free_ChainContextPos( TTO_ChainContextPos*  ccp );
 
105
 
 
106
 
 
107
  /* query functions */
 
108
 
 
109
  TT_Error  Coverage_Index( TTO_Coverage*  c,
 
110
                            UShort         glyphID,
 
111
                            UShort*        index );
 
112
  TT_Error  Get_Class( TTO_ClassDefinition*  cd,
 
113
                       UShort                glyphID,
 
114
                       UShort*               class,
 
115
                       UShort*               index );
 
116
  TT_Error  Get_Device( TTO_Device*  d,
 
117
                        UShort       size,
 
118
                        Short*       value );
 
119
 
 
120
 
 
121
  /* functions from ftxgdef.c */
 
122
 
 
123
  TT_Error  Add_Glyph_Property( TTO_GDEFHeader*  gdef,
 
124
                                UShort           glyphID,
 
125
                                UShort           property );
 
126
 
 
127
 
 
128
#ifdef __cplusplus
 
129
}
 
130
#endif
 
131
 
 
132
#endif /* FTXOPENF_H */
 
133
 
 
134
 
 
135
/* END */