[COLR] Fix HB_LEAN build

This commit is contained in:
Behdad Esfahbod 2025-02-18 20:07:25 -07:00
parent ed76c8559e
commit f26d9514b1

View file

@ -87,7 +87,11 @@ public:
funcs (funcs_),
data (data_),
font (font_),
palette (font->face->table.CPAL->get_palette_colors (palette_)),
palette (
#ifndef HB_NO_COLOR
font->face->table.CPAL->get_palette_colors (palette_)
#endif
),
foreground (foreground_),
instancer (instancer_)
{ }