Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Side by Side Diff: third_party/freetype/src/base/ftadvanc.c

Issue 1413673003: Update bundled freetype to 2.6.1 (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: DEPS for corpus Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/freetype/src/base/basepic.c ('k') | third_party/freetype/src/base/ftapi.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 */
OLDNEW
« no previous file with comments | « third_party/freetype/src/base/basepic.c ('k') | third_party/freetype/src/base/ftapi.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698