mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-14 17:13:40 +00:00
[thai] Minor
This commit is contained in:
parent
d3d0cbd278
commit
1b8d5e9991
1 changed files with 2 additions and 1 deletions
|
@ -357,7 +357,8 @@ preprocess_text_thai (const hb_ot_shape_plan_t *plan,
|
|||
buffer->merge_out_clusters (start - 1, end);
|
||||
}
|
||||
}
|
||||
buffer->swap_buffers ();
|
||||
if (likely (buffer->successful))
|
||||
buffer->swap_buffers ();
|
||||
|
||||
/* If font has Thai GSUB, we are done. */
|
||||
if (plan->props.script == HB_SCRIPT_THAI && !plan->map.found_script[0])
|
||||
|
|
Loading…
Add table
Reference in a new issue