[Indic] Make sure New Tai Lue works!
This commit is contained in:
parent
568000274c
commit
5676d5d527
|
@ -285,11 +285,15 @@ hb_ot_shape_complex_categorize (const hb_ot_shape_planner_t *planner)
|
||||||
case HB_SCRIPT_SHARADA:
|
case HB_SCRIPT_SHARADA:
|
||||||
case HB_SCRIPT_TAKRI:
|
case HB_SCRIPT_TAKRI:
|
||||||
|
|
||||||
/* Only use Indic shaper if the font has Indic tables. */
|
/* If the designer designed the font for the 'DFLT' script,
|
||||||
if (planner->map.found_script[0])
|
* use the default shaper. Otherwise, use the Indic shaper.
|
||||||
return &_hb_ot_complex_shaper_indic;
|
* Note that for some scripts, like New Tai Lue, there may
|
||||||
else
|
* not be *any* GSUB/GPOS needed, so there may be no scripts
|
||||||
|
* found! */
|
||||||
|
if (planner->map.chosen_script[0] == HB_TAG ('D','F','L','T'))
|
||||||
return &_hb_ot_complex_shaper_default;
|
return &_hb_ot_complex_shaper_default;
|
||||||
|
else
|
||||||
|
return &_hb_ot_complex_shaper_indic;
|
||||||
|
|
||||||
case HB_SCRIPT_KHMER:
|
case HB_SCRIPT_KHMER:
|
||||||
/* A number of Khmer fonts in the wild don't have a 'pref' feature,
|
/* A number of Khmer fonts in the wild don't have a 'pref' feature,
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
script-khmer
|
script-khmer
|
||||||
|
script-new-tai-lue
|
||||||
script-thai
|
script-thai
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
misc
|
|
@ -0,0 +1 @@
|
||||||
|
misc.txt
|
|
@ -0,0 +1 @@
|
||||||
|
ᦀᦷᧃᧈ
|
Loading…
Reference in New Issue