mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-21 23:11:04 +01:00
Fix bug to copy glyph from in_string, not out_string.
* pango/opentype/otlbuffer.c (otl_buffer_copy_output_glyph): Fix bug to copy glyph from in_string, not out_string.
This commit is contained in:
1 parent
2ea2a55bdf
commit
7d5435ea8c
1 file changed
+2
-2
+2
-2
@@ -205,7 +205,7 @@
|
||||
|
||||
FT_Error
|
||||
otl_buffer_add_output_glyph( OTL_Buffer buffer,
|
||||
FT_UInt glyph_index,
|
||||
FT_UInt glyph_index,
|
||||
FT_UShort component,
|
||||
FT_UShort ligID )
|
||||
{
|
||||
@@ -224,7 +224,7 @@
|
||||
if ( error )
|
||||
return error;
|
||||
|
||||
buffer->out_string[buffer->out_pos++] = buffer->out_string[buffer->in_pos++];
|
||||
buffer->out_string[buffer->out_pos++] = buffer->in_string[buffer->in_pos++];
|
||||
buffer->out_length = buffer->out_pos;
|
||||
|
||||
return FT_Err_Ok;
|
||||
|
||||
Reference in new issue
Block a user