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

Side by Side Diff: src/autofit/afglobal.c

Issue 23555005: Update freetype to the latest version of Android external/freetype (Closed) Base URL: https://chromium.googlesource.com/chromium/src/third_party/freetype.git@master
Patch Set: Created 7 years, 3 months 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 | « src/autofit/aferrors.h ('k') | src/autofit/afindic.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 /* afglobal.c */ 3 /* afglobal.c */
4 /* */ 4 /* */
5 /* Auto-fitter routines to compute global hinting values (body). */ 5 /* Auto-fitter routines to compute global hinting values (body). */
6 /* */ 6 /* */
7 /* Copyright 2003-2011 by */ 7 /* Copyright 2003-2011 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, */
(...skipping 25 matching lines...) Expand all
36 36
37 /* populate this list when you add new scripts */ 37 /* populate this list when you add new scripts */
38 static AF_ScriptClass const af_script_classes[] = 38 static AF_ScriptClass const af_script_classes[] =
39 { 39 {
40 &af_dummy_script_class, 40 &af_dummy_script_class,
41 #ifdef FT_OPTION_AUTOFIT2 41 #ifdef FT_OPTION_AUTOFIT2
42 &af_latin2_script_class, 42 &af_latin2_script_class,
43 #endif 43 #endif
44 &af_latin_script_class, 44 &af_latin_script_class,
45 &af_cjk_script_class, 45 &af_cjk_script_class,
46 &af_indic_script_class, 46 &af_indic_script_class,
47 NULL /* do not remove */ 47 NULL /* do not remove */
48 }; 48 };
49 49
50 #endif /* !FT_CONFIG_OPTION_PIC */ 50 #endif /* !FT_CONFIG_OPTION_PIC */
51 51
52 /* index of default script in `af_script_classes' */ 52 /* index of default script in `af_script_classes' */
53 #define AF_SCRIPT_LIST_DEFAULT 2 53 #define AF_SCRIPT_LIST_DEFAULT 2
54 /* a bit mask indicating an uncovered glyph */ 54 /* a bit mask indicating an uncovered glyph */
55 #define AF_SCRIPT_LIST_NONE 0x7F 55 #define AF_SCRIPT_LIST_NONE 0x7F
56 /* if this flag is set, we have an ASCII digit */ 56 /* if this flag is set, we have an ASCII digit */
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 FT_UInt gindex ) 310 FT_UInt gindex )
311 { 311 {
312 if ( gindex < (FT_ULong)globals->glyph_count ) 312 if ( gindex < (FT_ULong)globals->glyph_count )
313 return (FT_Bool)( globals->glyph_scripts[gindex] & AF_DIGIT ); 313 return (FT_Bool)( globals->glyph_scripts[gindex] & AF_DIGIT );
314 314
315 return (FT_Bool)0; 315 return (FT_Bool)0;
316 } 316 }
317 317
318 318
319 /* END */ 319 /* END */
OLDNEW
« no previous file with comments | « src/autofit/aferrors.h ('k') | src/autofit/afindic.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698