[glyf] TODO
This commit is contained in:
parent
85d0c3b5f1
commit
15d0a1dcfd
|
@ -46,7 +46,7 @@ struct SubsetGlyph
|
||||||
|
|
||||||
if (unlikely (!dest_glyph.length)) return_trace (true);
|
if (unlikely (!dest_glyph.length)) return_trace (true);
|
||||||
|
|
||||||
/* update components gids */
|
/* update components gids. TODO: VarComposite. */
|
||||||
for (auto &_ : Glyph (dest_glyph).get_composite_iterator ())
|
for (auto &_ : Glyph (dest_glyph).get_composite_iterator ())
|
||||||
{
|
{
|
||||||
hb_codepoint_t new_gid;
|
hb_codepoint_t new_gid;
|
||||||
|
@ -58,7 +58,7 @@ struct SubsetGlyph
|
||||||
auto it = Glyph (dest_glyph).get_composite_iterator ();
|
auto it = Glyph (dest_glyph).get_composite_iterator ();
|
||||||
if (it)
|
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 *p = it ? (char *) &*it : nullptr;
|
||||||
char *q = p;
|
char *q = p;
|
||||||
const char *end = dest_glyph.arrayZ + dest_glyph.length;
|
const char *end = dest_glyph.arrayZ + dest_glyph.length;
|
||||||
|
|
Loading…
Reference in New Issue