[glyf] TODO

This commit is contained in:
Behdad Esfahbod 2023-04-20 17:28:10 -06:00
parent 85d0c3b5f1
commit 15d0a1dcfd
1 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ struct SubsetGlyph
if (unlikely (!dest_glyph.length)) return_trace (true);
/* update components gids */
/* update components gids. TODO: VarComposite. */
for (auto &_ : Glyph (dest_glyph).get_composite_iterator ())
{
hb_codepoint_t new_gid;
@ -58,7 +58,7 @@ struct SubsetGlyph
auto it = Glyph (dest_glyph).get_composite_iterator ();
if (it)
{
/* lower GID24 to GID16 in components if possible. */
/* lower GID24 to GID16 in components if possible. TODO: VarComposite. */
char *p = it ? (char *) &*it : nullptr;
char *q = p;
const char *end = dest_glyph.arrayZ + dest_glyph.length;