mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 14:31:10 +01:00
[GSUB] More ligature/component fixing
We can only reuse the ligid if it belongs to a previous ligature, not a component!
This commit is contained in:
1 parent
25e7ef7046
commit
aa196d6026
1 file changed
+2
-2
@@ -388,8 +388,8 @@ struct Ligature
|
||||
glyphs and the ligature already has an ID. */
|
||||
_hb_buffer_add_output_glyphs_be16 (buffer, i,
|
||||
1, (const uint16_t *) &ligGlyph,
|
||||
0xFFFF,
|
||||
IN_LIGID (buffer->in_pos) ?
|
||||
0,
|
||||
IN_LIGID (buffer->in_pos) && !IN_COMPONENT (buffer->in_pos) ?
|
||||
0xFFFF : _hb_buffer_allocate_lig_id (buffer));
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user