| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  * Copyright © 2010,2011,2012  Google, Inc. | 2  * Copyright © 2010,2011,2012  Google, Inc. | 
| 3  * | 3  * | 
| 4  *  This is part of HarfBuzz, a text shaping library. | 4  *  This is part of HarfBuzz, a text shaping library. | 
| 5  * | 5  * | 
| 6  * Permission is hereby granted, without written agreement and without | 6  * Permission is hereby granted, without written agreement and without | 
| 7  * license or royalty fees, to use, copy, modify, and distribute this | 7  * license or royalty fees, to use, copy, modify, and distribute this | 
| 8  * software and its documentation for any purpose, provided that the | 8  * software and its documentation for any purpose, provided that the | 
| 9  * above copyright notice and the following two paragraphs appear in | 9  * above copyright notice and the following two paragraphs appear in | 
| 10  * all copies of this software. | 10  * all copies of this software. | 
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 252     /* Unicode-3.2 additions */ | 252     /* Unicode-3.2 additions */ | 
| 253     case HB_SCRIPT_TAGALOG: | 253     case HB_SCRIPT_TAGALOG: | 
| 254     case HB_SCRIPT_TAGBANWA: | 254     case HB_SCRIPT_TAGBANWA: | 
| 255 | 255 | 
| 256     /* Unicode-4.0 additions */ | 256     /* Unicode-4.0 additions */ | 
| 257     case HB_SCRIPT_LIMBU: | 257     case HB_SCRIPT_LIMBU: | 
| 258     case HB_SCRIPT_TAI_LE: | 258     case HB_SCRIPT_TAI_LE: | 
| 259 | 259 | 
| 260     /* Unicode-4.1 additions */ | 260     /* Unicode-4.1 additions */ | 
| 261     case HB_SCRIPT_KHAROSHTHI: | 261     case HB_SCRIPT_KHAROSHTHI: | 
|  | 262     case HB_SCRIPT_NEW_TAI_LUE: | 
| 262     case HB_SCRIPT_SYLOTI_NAGRI: | 263     case HB_SCRIPT_SYLOTI_NAGRI: | 
| 263 | 264 | 
| 264     /* Unicode-5.1 additions */ | 265     /* Unicode-5.1 additions */ | 
| 265     case HB_SCRIPT_KAYAH_LI: | 266     case HB_SCRIPT_KAYAH_LI: | 
| 266 | 267 | 
| 267     /* Unicode-5.2 additions */ | 268     /* Unicode-5.2 additions */ | 
| 268     case HB_SCRIPT_TAI_VIET: | 269     case HB_SCRIPT_TAI_VIET: | 
| 269 | 270 | 
| 270 | 271 | 
| 271 #endif | 272 #endif | 
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 332     case HB_SCRIPT_MYANMAR: | 333     case HB_SCRIPT_MYANMAR: | 
| 333       if (planner->map.chosen_script[0] == HB_TAG ('m','y','m','2')) | 334       if (planner->map.chosen_script[0] == HB_TAG ('m','y','m','2')) | 
| 334         return &_hb_ot_complex_shaper_myanmar; | 335         return &_hb_ot_complex_shaper_myanmar; | 
| 335       else if (planner->map.chosen_script[0] == HB_TAG ('m','y','m','r')) | 336       else if (planner->map.chosen_script[0] == HB_TAG ('m','y','m','r')) | 
| 336         return &_hb_ot_complex_shaper_myanmar_old; | 337         return &_hb_ot_complex_shaper_myanmar_old; | 
| 337       else | 338       else | 
| 338         return &_hb_ot_complex_shaper_default; | 339         return &_hb_ot_complex_shaper_default; | 
| 339 | 340 | 
| 340     /* Unicode-4.1 additions */ | 341     /* Unicode-4.1 additions */ | 
| 341     case HB_SCRIPT_BUGINESE: | 342     case HB_SCRIPT_BUGINESE: | 
| 342     case HB_SCRIPT_NEW_TAI_LUE: |  | 
| 343 | 343 | 
| 344     /* Unicode-5.1 additions */ | 344     /* Unicode-5.1 additions */ | 
| 345     case HB_SCRIPT_CHAM: | 345     case HB_SCRIPT_CHAM: | 
| 346 | 346 | 
| 347     /* Unicode-5.2 additions */ | 347     /* Unicode-5.2 additions */ | 
| 348     case HB_SCRIPT_TAI_THAM: | 348     case HB_SCRIPT_TAI_THAM: | 
| 349 | 349 | 
| 350       /* If the designer designed the font for the 'DFLT' script, | 350       /* If the designer designed the font for the 'DFLT' script, | 
| 351        * use the default shaper.  Otherwise, use the Indic shaper. | 351        * use the default shaper.  Otherwise, use the Indic shaper. | 
| 352        * Note that for some simple scripts, there may not be *any* | 352        * Note that for some simple scripts, there may not be *any* | 
| 353        * GSUB/GPOS needed, so there may be no scripts found! */ | 353        * GSUB/GPOS needed, so there may be no scripts found! */ | 
| 354       if (planner->map.chosen_script[0] == HB_TAG ('D','F','L','T')) | 354       if (planner->map.chosen_script[0] == HB_TAG ('D','F','L','T')) | 
| 355         return &_hb_ot_complex_shaper_default; | 355         return &_hb_ot_complex_shaper_default; | 
| 356       else | 356       else | 
| 357         return &_hb_ot_complex_shaper_sea; | 357         return &_hb_ot_complex_shaper_sea; | 
| 358   } | 358   } | 
| 359 } | 359 } | 
| 360 | 360 | 
| 361 | 361 | 
| 362 #endif /* HB_OT_SHAPE_COMPLEX_PRIVATE_HH */ | 362 #endif /* HB_OT_SHAPE_COMPLEX_PRIVATE_HH */ | 
| OLD | NEW | 
|---|