Files
harfbuzz/util
Behdad EsfahbodandClaude Opus 4.6 e933f71b0d [cairo][util/hb-view] Honor --draw / --paint via cairo color mode
hb-cairo's render_color_glyph drops _or_fail in favor of
the synthesizing hb_font_paint_glyph, so the paint callback
handles every glyph (color or mono) through the paint
pipeline instead of returning NOT_IMPLEMENTED on non-color
glyphs and forcing cairo to fall through to the outline
path.

Hb-view's helper-cairo then picks paint vs draw the same
way the other utils do — --paint wins over --draw,
otherwise auto-detect via the font's color tables — and
expresses "draw" by setting CAIRO_COLOR_MODE_NO_COLOR on
the font options (which makes cairo skip render_color_glyph
entirely, falling through to render_glyph for the cheaper
outline path).  No new public API.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-16 14:07:38 -06:00
..
2020-07-29 08:44:23 +04:30
2023-01-16 12:38:53 -07:00
2015-04-09 19:16:57 -07:00
2026-03-03 17:19:15 -03:00
2023-01-12 17:04:24 -07:00
2026-03-03 17:19:15 -03:00