OLD | NEW |
1 /***************************************************************************/ | 1 /***************************************************************************/ |
2 /* */ | 2 /* */ |
3 /* ftadvanc.h */ | 3 /* ftadvanc.h */ |
4 /* */ | 4 /* */ |
5 /* Quick computation of advance widths (specification only). */ | 5 /* Quick computation of advance widths (specification only). */ |
6 /* */ | 6 /* */ |
7 /* Copyright 2008, 2013, 2014 by */ | 7 /* Copyright 2008-2015 by */ |
8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ | 8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ |
9 /* */ | 9 /* */ |
10 /* This file is part of the FreeType project, and may only be used, */ | 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 */ | 11 /* modified, and distributed under the terms of the FreeType project */ |
12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ | 12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ |
13 /* this file you indicate that you have read the license and */ | 13 /* this file you indicate that you have read the license and */ |
14 /* understand and accept it fully. */ | 14 /* understand and accept it fully. */ |
15 /* */ | 15 /* */ |
16 /***************************************************************************/ | 16 /***************************************************************************/ |
17 | 17 |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 /* quick advance computation. */ | 70 /* quick advance computation. */ |
71 /* */ | 71 /* */ |
72 /* Typically, glyphs that are either unscaled, unhinted, bitmapped, */ | 72 /* Typically, glyphs that are either unscaled, unhinted, bitmapped, */ |
73 /* or light-hinted can have their advance width computed very */ | 73 /* or light-hinted can have their advance width computed very */ |
74 /* quickly. */ | 74 /* quickly. */ |
75 /* */ | 75 /* */ |
76 /* Normal and bytecode hinted modes that require loading, scaling, */ | 76 /* Normal and bytecode hinted modes that require loading, scaling, */ |
77 /* and hinting of the glyph outline, are extremely slow by */ | 77 /* and hinting of the glyph outline, are extremely slow by */ |
78 /* comparison. */ | 78 /* comparison. */ |
79 /* */ | 79 /* */ |
80 #define FT_ADVANCE_FLAG_FAST_ONLY 0x20000000UL | 80 #define FT_ADVANCE_FLAG_FAST_ONLY 0x20000000L |
81 | 81 |
82 | 82 |
83 /*************************************************************************/ | 83 /*************************************************************************/ |
84 /* */ | 84 /* */ |
85 /* <Function> */ | 85 /* <Function> */ |
86 /* FT_Get_Advance */ | 86 /* FT_Get_Advance */ |
87 /* */ | 87 /* */ |
88 /* <Description> */ | 88 /* <Description> */ |
89 /* Retrieve the advance value of a given glyph outline in an */ | 89 /* Retrieve the advance value of a given glyph outline in an */ |
90 /* @FT_Face. */ | 90 /* @FT_Face. */ |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 | 178 |
179 /* */ | 179 /* */ |
180 | 180 |
181 | 181 |
182 FT_END_HEADER | 182 FT_END_HEADER |
183 | 183 |
184 #endif /* __FTADVANC_H__ */ | 184 #endif /* __FTADVANC_H__ */ |
185 | 185 |
186 | 186 |
187 /* END */ | 187 /* END */ |
OLD | NEW |