Remove hb_raster_extents_from_glyph_extents and switch callers to the new transform-aware set_glyph_extents APIs on raster draw/paint. Also add test coverage for transformed glyph extents and update section symbol listings.
hb-raster-all now renders color glyphs via hb_raster_paint_t and checks
the image format (A8 vs BGRA32) when writing PPM output. hb-ft-raster-all
also switched from PGM to PPM for consistency.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Both hb-raster and hb-ft-raster now always produce PPM (color) output,
compositing alpha over foreground/background colors. This makes the
output format consistent regardless of whether the font has color data.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Implement a software paint backend (hb_raster_paint_t) that renders
COLRv0/v1 color glyphs into BGRA32 pixel buffers with no external
dependencies. Implements all 14 hb_paint_funcs_t callbacks including
solid fills, linear/radial/sweep gradients, glyph clipping, rectangle
clipping, group compositing, and BGRA image blitting.
Update hb-raster utility to detect color fonts and use the paint path,
outputting PPM (RGB) instead of PGM (greyscale).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Move perf tools from perf/ and test/raster/ to util/ alongside the
other uninstalled utilities. Remove the now-empty test/raster/ directory.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Same shaping/positioning pipeline as hb-raster but uses FreeType's
rasterizer (FT_Outline_Render) instead of hb_raster. Useful for
comparing coverage values between the two rasterizers.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
When enabled, hb_cairo_render_glyph() rasterizes via hb_raster and
blits the A8 coverage image using cairo_mask_surface(), leaving the
existing Cairo source undisturbed.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Renders shaped text into a single auto-sized A8 PGM raster image,
written to stdout or --output-file. Mirrors util/hb-draw in structure.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>