OLD | NEW |
1 /***************************************************************************/ | 1 /***************************************************************************/ |
2 /* */ | 2 /* */ |
3 /* ftadvanc.c */ | 3 /* ftadvanc.c */ |
4 /* */ | 4 /* */ |
5 /* Quick computation of advance widths (body). */ | 5 /* Quick computation of advance widths (body). */ |
6 /* */ | 6 /* */ |
7 /* Copyright 2008, 2009, 2011, 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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 padvances[nn] = ( flags & FT_LOAD_VERTICAL_LAYOUT ) | 159 padvances[nn] = ( flags & FT_LOAD_VERTICAL_LAYOUT ) |
160 ? face->glyph->advance.y << 10 | 160 ? face->glyph->advance.y << 10 |
161 : face->glyph->advance.x << 10; | 161 : face->glyph->advance.x << 10; |
162 } | 162 } |
163 | 163 |
164 return error; | 164 return error; |
165 } | 165 } |
166 | 166 |
167 | 167 |
168 /* END */ | 168 /* END */ |
OLD | NEW |