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

« back to all changes in this revision

Viewing changes to src/3rdparty/freetype/src/autohint/ahhint.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
/*  ahhint.h                                                               */
 
4
/*                                                                         */
 
5
/*    Glyph hinter (declaration).                                          */
 
6
/*                                                                         */
 
7
/*  Copyright 2000-2001, 2002 Catharon Productions Inc.                    */
 
8
/*  Author: David Turner                                                   */
 
9
/*                                                                         */
 
10
/*  This file is part of the Catharon Typography Project and shall only    */
 
11
/*  be used, modified, and distributed under the terms of the Catharon     */
 
12
/*  Open Source License that should come with this file under the name     */
 
13
/*  `CatharonLicense.txt'.  By continuing to use, modify, or distribute    */
 
14
/*  this file you indicate that you have read the license and              */
 
15
/*  understand and accept it fully.                                        */
 
16
/*                                                                         */
 
17
/*  Note that this license is compatible with the FreeType license.        */
 
18
/*                                                                         */
 
19
/***************************************************************************/
 
20
 
 
21
 
 
22
#ifndef __AHHINT_H__
 
23
#define __AHHINT_H__
 
24
 
 
25
 
 
26
#include <ft2build.h>
 
27
#include "ahglobal.h"
 
28
 
 
29
 
 
30
FT_BEGIN_HEADER
 
31
 
 
32
 
 
33
#define AH_HINT_DEFAULT        0
 
34
#define AH_HINT_NO_ALIGNMENT   1
 
35
#define AH_HINT_NO_HORZ_EDGES  0x200000L  /* temporary hack */
 
36
#define AH_HINT_NO_VERT_EDGES  0x400000L  /* temporary hack */
 
37
 
 
38
 
 
39
  /* create a new empty hinter object */
 
40
  FT_LOCAL( FT_Error )
 
41
  ah_hinter_new( FT_Library  library,
 
42
                 AH_Hinter*  ahinter );
 
43
 
 
44
  /* Load a hinted glyph in the hinter */
 
45
  FT_LOCAL( FT_Error )
 
46
  ah_hinter_load_glyph( AH_Hinter     hinter,
 
47
                        FT_GlyphSlot  slot,
 
48
                        FT_Size       size,
 
49
                        FT_UInt       glyph_index,
 
50
                        FT_Int32      load_flags );
 
51
 
 
52
  /* finalize a hinter object */
 
53
  FT_LOCAL( void )
 
54
  ah_hinter_done( AH_Hinter  hinter );
 
55
 
 
56
  FT_LOCAL( void )
 
57
  ah_hinter_done_face_globals( AH_Face_Globals  globals );
 
58
 
 
59
  FT_LOCAL( void )
 
60
  ah_hinter_get_global_hints( AH_Hinter  hinter,
 
61
                              FT_Face    face,
 
62
                              void**     global_hints,
 
63
                              long*      global_len );
 
64
 
 
65
  FT_LOCAL( void )
 
66
  ah_hinter_done_global_hints( AH_Hinter  hinter,
 
67
                               void*      global_hints );
 
68
 
 
69
 
 
70
FT_END_HEADER
 
71
 
 
72
#endif /* __AHHINT_H__ */
 
73
 
 
74
 
 
75
/* END */