[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_TAKRI:
|
||||
|
||||
/* Only use Indic shaper if the font has Indic tables. */
|
||||
if (planner->map.found_script[0])
|
||||
return &_hb_ot_complex_shaper_indic;
|
||||
else
|
||||
/* If the designer designed the font for the 'DFLT' script,
|
||||
* use the default shaper. Otherwise, use the Indic shaper.
|
||||
* Note that for some scripts, like New Tai Lue, there may
|
||||
* 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;
|
||||
else
|
||||
return &_hb_ot_complex_shaper_indic;
|
||||
|
||||
case HB_SCRIPT_KHMER:
|
||||
/* A number of Khmer fonts in the wild don't have a 'pref' feature,
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
script-khmer
|
||||
script-new-tai-lue
|
||||
script-thai
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
misc
|
|
@ -0,0 +1 @@
|
|||
misc.txt
|
|
@ -0,0 +1 @@
|
|||
ᦀᦷᧃᧈ
|
Loading…
Reference in New Issue