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

Side by Side Diff: src/autofit/afindic.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/afglobal.c ('k') | src/autofit/aflatin.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 /* afindic.c */ 3 /* afindic.c */
4 /* */ 4 /* */
5 /* Auto-fitter hinting routines for Indic scripts (body). */ 5 /* Auto-fitter hinting routines for Indic scripts (body). */
6 /* */ 6 /* */
7 /* Copyright 2007, 2011 by */ 7 /* Copyright 2007, 2011 by */
8 /* Rahul Bhalerao <rahul.bhalerao@redhat.com>, <b.rahul.pm@gmail.com>. */ 8 /* Rahul Bhalerao <rahul.bhalerao@redhat.com>, <b.rahul.pm@gmail.com>. */
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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 AF_UNIRANGE_REC( 0x0F00UL, 0x0FFFUL), /* Tibetan */ 106 AF_UNIRANGE_REC( 0x0F00UL, 0x0FFFUL), /* Tibetan */
107 AF_UNIRANGE_REC( 0x1900UL, 0x194FUL), /* Limbu */ 107 AF_UNIRANGE_REC( 0x1900UL, 0x194FUL), /* Limbu */
108 AF_UNIRANGE_REC( 0x1B80UL, 0x1BBFUL), /* Sundanese */ 108 AF_UNIRANGE_REC( 0x1B80UL, 0x1BBFUL), /* Sundanese */
109 AF_UNIRANGE_REC( 0x1C80UL, 0x1CDFUL), /* Meetei Mayak */ 109 AF_UNIRANGE_REC( 0x1C80UL, 0x1CDFUL), /* Meetei Mayak */
110 AF_UNIRANGE_REC( 0xA800UL, 0xA82FUL), /* Syloti Nagri */ 110 AF_UNIRANGE_REC( 0xA800UL, 0xA82FUL), /* Syloti Nagri */
111 AF_UNIRANGE_REC( 0x11800UL, 0x118DFUL), /* Sharada */ 111 AF_UNIRANGE_REC( 0x11800UL, 0x118DFUL), /* Sharada */
112 AF_UNIRANGE_REC( 0UL, 0UL) 112 AF_UNIRANGE_REC( 0UL, 0UL)
113 }; 113 };
114 114
115 115
116 AF_DEFINE_SCRIPT_CLASS(af_indic_script_class, 116 AF_DEFINE_SCRIPT_CLASS( af_indic_script_class,
117 AF_SCRIPT_INDIC, 117 AF_SCRIPT_INDIC,
118 af_indic_uniranges, 118 af_indic_uniranges,
119 119
120 sizeof( AF_CJKMetricsRec ), 120 sizeof ( AF_CJKMetricsRec ),
121 121
122 (AF_Script_InitMetricsFunc) af_indic_metrics_init, 122 (AF_Script_InitMetricsFunc) af_indic_metrics_init,
123 (AF_Script_ScaleMetricsFunc)af_indic_metrics_scale, 123 (AF_Script_ScaleMetricsFunc)af_indic_metrics_scale,
124 (AF_Script_DoneMetricsFunc) NULL, 124 (AF_Script_DoneMetricsFunc) NULL,
125 125
126 (AF_Script_InitHintsFunc) af_indic_hints_init, 126 (AF_Script_InitHintsFunc) af_indic_hints_init,
127 (AF_Script_ApplyHintsFunc) af_indic_hints_apply 127 (AF_Script_ApplyHintsFunc) af_indic_hints_apply
128 ) 128 )
129 129
130 #else /* !AF_CONFIG_OPTION_INDIC */ 130 #else /* !AF_CONFIG_OPTION_INDIC */
131 131
132 static const AF_Script_UniRangeRec af_indic_uniranges[] = 132 static const AF_Script_UniRangeRec af_indic_uniranges[] =
133 { 133 {
134 { 0, 0 } 134 { 0, 0 }
135 }; 135 };
136 136
137 137
138 AF_DEFINE_SCRIPT_CLASS(af_indic_script_class, 138 AF_DEFINE_SCRIPT_CLASS( af_indic_script_class,
139 AF_SCRIPT_INDIC, 139 AF_SCRIPT_INDIC,
140 af_indic_uniranges, 140 af_indic_uniranges,
141 141
142 sizeof( AF_CJKMetricsRec ), 142 sizeof ( AF_CJKMetricsRec ),
143 143
144 (AF_Script_InitMetricsFunc) NULL, 144 (AF_Script_InitMetricsFunc) NULL,
145 (AF_Script_ScaleMetricsFunc)NULL, 145 (AF_Script_ScaleMetricsFunc)NULL,
146 (AF_Script_DoneMetricsFunc) NULL, 146 (AF_Script_DoneMetricsFunc) NULL,
147 147
148 (AF_Script_InitHintsFunc) NULL, 148 (AF_Script_InitHintsFunc) NULL,
149 (AF_Script_ApplyHintsFunc) NULL 149 (AF_Script_ApplyHintsFunc) NULL
150 ) 150 )
151 151
152 #endif /* !AF_CONFIG_OPTION_INDIC */ 152 #endif /* !AF_CONFIG_OPTION_INDIC */
153 153
154 154
155 /* END */ 155 /* END */
OLDNEW
« no previous file with comments | « src/autofit/afglobal.c ('k') | src/autofit/aflatin.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698