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:
parent
2ea2a55bdf
commit
7d5435ea8c
|
@ -205,7 +205,7 @@
|
||||||
|
|
||||||
FT_Error
|
FT_Error
|
||||||
otl_buffer_add_output_glyph( OTL_Buffer buffer,
|
otl_buffer_add_output_glyph( OTL_Buffer buffer,
|
||||||
FT_UInt glyph_index,
|
FT_UInt glyph_index,
|
||||||
FT_UShort component,
|
FT_UShort component,
|
||||||
FT_UShort ligID )
|
FT_UShort ligID )
|
||||||
{
|
{
|
||||||
|
@ -224,7 +224,7 @@
|
||||||
if ( error )
|
if ( error )
|
||||||
return 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;
|
buffer->out_length = buffer->out_pos;
|
||||||
|
|
||||||
return FT_Err_Ok;
|
return FT_Err_Ok;
|
||||||
|
|
Loading…
Reference in New Issue