mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-15 01:18:13 +00:00
[shape] Unsafe-to-concat around fraction slash
This commit is contained in:
parent
f19ca24a8e
commit
35a026c89a
1 changed files with 6 additions and 0 deletions
|
@ -766,7 +766,13 @@ hb_ot_shape_setup_masks_fraction (const hb_ot_shape_context_t *c)
|
|||
HB_UNICODE_GENERAL_CATEGORY_DECIMAL_NUMBER)
|
||||
end++;
|
||||
if (start == i || end == i + 1)
|
||||
{
|
||||
if (start == i)
|
||||
buffer->unsafe_to_concat (start, start + 1);
|
||||
if (end == i + 1)
|
||||
buffer->unsafe_to_concat (end - 1, end);
|
||||
continue;
|
||||
}
|
||||
|
||||
buffer->unsafe_to_break (start, end);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue