mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-23 16:01:07 +01:00
[subset] update the test file for composite, fix an offset calculation
This commit is contained in:
1 parent
c8b230e437
commit
ffcb5cbf71
3 files changed
+3
-4
No files matched your search
@@ -412,7 +412,7 @@ struct glyf
|
||||
} while (composite_it.move_to_next());
|
||||
|
||||
if ( (uint16_t) last->flags & CompositeGlyphHeader::WE_HAVE_INSTRUCTIONS)
|
||||
*instruction_start = start_offset + ((char *) last - (char *) glyf_table->dataX) + last->get_size();
|
||||
*instruction_start = ((char *) last - (char *) glyf_table->dataX) + last->get_size();
|
||||
else
|
||||
*instruction_start = end_offset;
|
||||
*instruction_end = end_offset;
|
||||
|
||||
Reference in new issue
Block a user