OLD | NEW |
1 /***************************************************************************/ | 1 /***************************************************************************/ |
2 /* */ | 2 /* */ |
3 /* ftsynth.c */ | 3 /* ftsynth.c */ |
4 /* */ | 4 /* */ |
5 /* FreeType synthesizing code for emboldening and slanting (body). */ | 5 /* FreeType synthesizing code for emboldening and slanting (body). */ |
6 /* */ | 6 /* */ |
7 /* Copyright 2000-2006, 2010, 2012-2014 by */ | 7 /* Copyright 2000-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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 slot->metrics.vertAdvance += ystr; | 154 slot->metrics.vertAdvance += ystr; |
155 slot->metrics.horiBearingY += ystr; | 155 slot->metrics.horiBearingY += ystr; |
156 | 156 |
157 /* XXX: 16-bit overflow case must be excluded before here */ | 157 /* XXX: 16-bit overflow case must be excluded before here */ |
158 if ( slot->format == FT_GLYPH_FORMAT_BITMAP ) | 158 if ( slot->format == FT_GLYPH_FORMAT_BITMAP ) |
159 slot->bitmap_top += (FT_Int)( ystr >> 6 ); | 159 slot->bitmap_top += (FT_Int)( ystr >> 6 ); |
160 } | 160 } |
161 | 161 |
162 | 162 |
163 /* END */ | 163 /* END */ |
OLD | NEW |