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

« back to all changes in this revision

Viewing changes to unix/xc/extras/freetype2/src/pshinter/pshalgo.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
/*  pshalgo.h                                                              */
 
4
/*                                                                         */
 
5
/*    This header file defines the used hinting algorithm.                 */
 
6
/*                                                                         */
 
7
/*  Copyright 2001 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 __PSHALGO_H__
 
20
#define __PSHALGO_H__
 
21
 
 
22
FT_BEGIN_HEADER
 
23
 
 
24
/* define to choose hinting algorithm */
 
25
#define PSH_ALGORITHM_2
 
26
 
 
27
#ifdef PSH_ALGORITHM_1
 
28
 
 
29
#include "pshalgo1.h"
 
30
#define PS_HINTS_APPLY_FUNC  ps1_hints_apply
 
31
 
 
32
#else
 
33
 
 
34
#include "pshalgo2.h"
 
35
#define PS_HINTS_APPLY_FUNC  ps2_hints_apply
 
36
 
 
37
#endif
 
38
 
 
39
FT_END_HEADER
 
40
 
 
41
#endif /* __PSHALGO_H__ */
 
42
 
 
43
 
 
44
/* END */