add some todos

pull/3938/head
Matthias Clasen 2 years ago committed by Behdad Esfahbod
parent a6f813b680
commit 684df8a82a
  1. 1
      src/hb-font.cc
  2. 2
      src/hb-ot-color-colr-table.hh

@ -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);
}

@ -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);
}

Loading…
Cancel
Save