From 684df8a82a81e01412dc951c251abab77165ae66 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 15 Dec 2022 00:32:48 -0500 Subject: [PATCH] add some todos --- src/hb-font.cc | 1 + src/hb-ot-color-colr-table.hh | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/hb-font.cc b/src/hb-font.cc index 59512b049..078a84354 100644 --- a/src/hb-font.cc +++ b/src/hb-font.cc @@ -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); } diff --git a/src/hb-ot-color-colr-table.hh b/src/hb-ot-color-colr-table.hh index e71158774..41960bfcb 100644 --- a/src/hb-ot-color-colr-table.hh +++ b/src/hb-ot-color-colr-table.hh @@ -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); }