[hangul] Whitespace
This commit is contained in:
parent
3622120fab
commit
99767f9386
|
@ -218,14 +218,16 @@ preprocess_text_hangul (const hb_ot_shape_plan_t *plan HB_UNUSED,
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* No valid syllable as base for tone mark; try to insert dotted circle. */
|
/* No valid syllable as base for tone mark; try to insert dotted circle. */
|
||||||
if (!(buffer->flags & HB_BUFFER_FLAG_DO_NOT_INSERT_DOTTED_CIRCLE) &&
|
if (!(buffer->flags & HB_BUFFER_FLAG_DO_NOT_INSERT_DOTTED_CIRCLE) &&
|
||||||
font->has_glyph (0x25CCu))
|
font->has_glyph (0x25CCu))
|
||||||
{
|
{
|
||||||
hb_codepoint_t chars[2];
|
hb_codepoint_t chars[2];
|
||||||
if (!is_zero_width_char (font, u)) {
|
if (!is_zero_width_char (font, u))
|
||||||
|
{
|
||||||
chars[0] = u;
|
chars[0] = u;
|
||||||
chars[1] = 0x25CCu;
|
chars[1] = 0x25CCu;
|
||||||
} else {
|
} else
|
||||||
|
{
|
||||||
chars[0] = 0x25CCu;
|
chars[0] = 0x25CCu;
|
||||||
chars[1] = u;
|
chars[1] = u;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue