[hangul] Apply *jmo features to all Hangul chars
This is what old HB does. Morever, fixes rendering with Win8 malgun font. The Win7 version doesn't compose with either Uniscribe nor HB, but Win8 version works as expected, like Uniscribe, with this change. Lets call Hangul done for now.
This commit is contained in:
parent
3baae2440d
commit
029a82d81d
|
@ -56,9 +56,18 @@ _hb_ot_shape_complex_setup_masks_default (hb_ot_map_t *map, hb_buffer_t *buffer,
|
|||
|
||||
/* Hangul shaper */
|
||||
|
||||
static const hb_tag_t hangul_features[] =
|
||||
{
|
||||
HB_TAG('l','j','m','o'),
|
||||
HB_TAG('v','j','m','o'),
|
||||
HB_TAG('t','j','m','o'),
|
||||
};
|
||||
|
||||
void
|
||||
_hb_ot_shape_complex_collect_features_hangul (hb_ot_map_builder_t *map, const hb_segment_properties_t *props)
|
||||
{
|
||||
for (unsigned int i = 0; i < ARRAY_LENGTH (hangul_features); i++)
|
||||
map->add_bool_feature (hangul_features[i]);
|
||||
}
|
||||
|
||||
hb_ot_shape_normalization_mode_t
|
||||
|
|
Loading…
Reference in New Issue