add some todos

This commit is contained in:
Matthias Clasen 2022-12-15 00:32:48 -05:00 committed by Behdad Esfahbod
parent a6f813b680
commit 684df8a82a
2 changed files with 3 additions and 0 deletions

View File

@ -1393,6 +1393,7 @@ hb_font_paint_glyph (hb_font_t *font,
hb_codepoint_t glyph,
hb_paint_funcs_t *funcs, void *paint_data)
{
// TODO add an adapter for child fonts like get_glyph_shape does
font->get_glyph_paint (glyph, funcs, paint_data);
}

View File

@ -1937,6 +1937,8 @@ struct COLR
const BaseGlyphPaintRecord* record = get_base_glyph_paintrecord (glyph);
const Paint &paint = &baseglyph_paintrecords+record->paint;
// TODO handle v0 layers
// TODO apply clipbox clip
paint.paint_glyph (&c);
}