Show subset, raster, vector, GPU logos inline at 64px
next to the main HarfBuzz logo.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The generated gtk-doc site only shipped the existing logo assets, so
harfbuzz.github.io had no root favicon for browsers to discover.
Add a small 64x64 favicon.ico derived from the existing docs logo
and install it as a gtk-doc HTML asset so the Pages deployment
copies it to the site root.
Testing:
- meson test -C build
Assisted-by: OpenAI Codex
Change hb_gpu_shader_{fragment,vertex}_sources() (array + count)
to hb_gpu_shader_{fragment,vertex}_source() returning a single
const char *. Each language variant is one complete string.
Simplifies the demo shader compilation and documentation.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add HB_HAS_SUBSET to hb-features.h and wire it through the same
HAVE_* feature plumbing used by the other HB_HAS_* macros.
Refactor the raster/vector SVG helper code so the duplicated
private helpers live in shared internal headers, avoiding
duplicate definitions when sources are combined in a single
translation unit.
Testing: meson compile -C build
Assisted-by: OpenAI Codex
Raster and vector libraries were configurable, but hb-features.h.in
did not expose matching HB_HAS_* macros.
Set HAVE_RASTER and HAVE_VECTOR during configuration, include both
features in the generated hb-features.h list, and add them to the
gtk-doc section index.
Testing: meson test -C build
Assisted-by: OpenAI Codex
* [buffer] Add hb_buffer_changed()
To be called by message callbacks if they modify buffer glyph indices,
to update internal caches (currently the buffer digest).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* [buffer] Implement changed() callback and hook up to OT shaper.
* Only install buffer changed() callback if messaging enabled
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
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.
Add API to recycle a rendered image back to the rasterizer. The draw
object keeps the image and its buffer for reuse by the next render()
call. After the first render+recycle cycle, render() does zero
mallocs (the image struct and pixel buffer are both reused).
Also switch hb_raster_image_t to use hb_vector_t<uint8_t> for its
pixel buffer so resize tracking is automatic.
Update hb-raster-all benchmark to use recycling.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Document all hb_raster_image_t and hb_raster_draw_t functions with
GTK-Doc style comments. Add SECTION header for hb-raster. Fix
hb_cairo_font_face_set/get_raster() doc comments to use XSince and
standard Return value format.
Also add hb-raster section to harfbuzz-sections.txt and include
hb-raster.xml in harfbuzz-docs.xml Integration API chapter.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* [map] Massage operator << overloads
* [ot-layout] Add +hb_ot_layout_lookup_collect_glyph_alternates
To collect all glyph mapping from SingleSubst or AlternateSubst
lookups in one call. Needed by FreeType autohinter for performance.
New API:
+hb_ot_layout_lookup_collect_glyph_alternates()
* [layout] Change hb_ot_layout_lookup_collect_glyph_alternates() API
https://github.com/harfbuzz/harfbuzz/pull/5367#discussion_r2149019638