add some todos
This commit is contained in:
parent
a6f813b680
commit
684df8a82a
|
@ -1393,6 +1393,7 @@ hb_font_paint_glyph (hb_font_t *font,
|
||||||
hb_codepoint_t glyph,
|
hb_codepoint_t glyph,
|
||||||
hb_paint_funcs_t *funcs, void *paint_data)
|
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);
|
font->get_glyph_paint (glyph, funcs, paint_data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1937,6 +1937,8 @@ struct COLR
|
||||||
const BaseGlyphPaintRecord* record = get_base_glyph_paintrecord (glyph);
|
const BaseGlyphPaintRecord* record = get_base_glyph_paintrecord (glyph);
|
||||||
const Paint &paint = &baseglyph_paintrecords+record->paint;
|
const Paint &paint = &baseglyph_paintrecords+record->paint;
|
||||||
|
|
||||||
|
// TODO handle v0 layers
|
||||||
|
// TODO apply clipbox clip
|
||||||
paint.paint_glyph (&c);
|
paint.paint_glyph (&c);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue