1 |
|
/***************************************************************************/ |
2 |
|
/* */ |
3 |
|
/* aflatin.h */ |
4 |
|
/* */ |
5 |
|
/* Auto-fitter hinting routines for latin script (specification). */ |
6 |
|
/* */ |
7 |
|
/* Copyright 2003, 2004, 2005 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 __AFLATIN_H__ |
#ifndef __AFLATIN_H__ |
20 |
#define __AFLATIN_H__ |
#define __AFLATIN_H__ |
21 |
|
|
72 |
|
|
73 |
enum |
enum |
74 |
{ |
{ |
75 |
AF_LATIN_BLUE_ACTIVE = ( 1 << 0 ), |
AF_LATIN_BLUE_ACTIVE = 1 << 0, |
76 |
AF_LATIN_BLUE_TOP = ( 1 << 1 ), |
AF_LATIN_BLUE_TOP = 1 << 1, |
77 |
AF_LATIN_BLUE_ADJUSTMENT = ( 1 << 2 ), /* used for scale adjustment */ |
AF_LATIN_BLUE_ADJUSTMENT = 1 << 2, /* used for scale adjustment */ |
78 |
/* optimization */ |
/* optimization */ |
79 |
AF_LATIN_BLUE_FLAG_MAX |
AF_LATIN_BLUE_FLAG_MAX |
80 |
}; |
}; |
81 |
|
|
138 |
|
|
139 |
enum |
enum |
140 |
{ |
{ |
141 |
AF_LATIN_HINTS_HORZ_SNAP = ( 1 << 0 ), /* enable stem width snapping */ |
AF_LATIN_HINTS_HORZ_SNAP = 1 << 0, /* enable stem width snapping */ |
142 |
AF_LATIN_HINTS_VERT_SNAP = ( 1 << 1 ), /* enable stem height snapping */ |
AF_LATIN_HINTS_VERT_SNAP = 1 << 1, /* enable stem height snapping */ |
143 |
AF_LATIN_HINTS_STEM_ADJUST = ( 1 << 2 ), /* enable stem width/height |
AF_LATIN_HINTS_STEM_ADJUST = 1 << 2, /* enable stem width/height */ |
144 |
adjustment */ |
/* adjustment */ |
145 |
AF_LATIN_HINTS_MONO = ( 1 << 3 ) /* indicate monochrome |
AF_LATIN_HINTS_MONO = 1 << 3 /* indicate monochrome */ |
146 |
rendering */ |
/* rendering */ |
147 |
}; |
}; |
148 |
|
|
149 |
|
|