For fetching various bit fields scattered around OpenType tables. Many of
these are legacy or unreliable, but applications might need them for
various legacy reasons.
Fixes https://github.com/harfbuzz/harfbuzz/issues/1920
Rename hb-depend.h to hb-subset-depend.h and include it from
hb-subset.h instead of hb.h, so the depend API is scoped entirely
to the subset library. The implementation was already compiled into
libharfbuzz-subset; this aligns the public header with that.
Assisted-by: Claude <noreply@anthropic.com>
- hb_subset_depend_t: drop face field; only needed during construction
- hb-ot-cmap-table.hh: remove stale hb-depend-data.hh include (cmap depend was removed)
- hb-ot-layout-gsubgpos.hh: clarify dispatch return type; use push_or_fail() in push_cur_active_glyphs()
- docs/harfbuzz-docs.xml: remove premature api-index-12-4-0 entry (added at release time)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Address reviewer feedback and fix remaining doc build errors:
1. Revert "Since: 12.4.0" back to "Since: REPLACEME" per reviewer
comment - version numbers are assigned at release time, not in PRs
2. Remove premature api-index-12-4-0 entry from harfbuzz-docs.xml -
this is also done at release time
3. Add hb-depend chapter to harfbuzz-docs.xml to include the
generated xml/hb-depend.xml file
This fixes the three doc check errors:
- "1 undocumented or incomplete symbols"
- "doesn't appear to include xml/hb-depend.xml"
- "doesn't appear to include xml/api-index-REPLACEME.xml"
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
The documentation build was failing with two errors:
1. "6 unused declarations" - depend API functions weren't listed in
harfbuzz-sections.txt
2. "doesn't appear to include xml/api-index-REPLACEME.xml" - the
version placeholder needed to be replaced with an actual version
Changes:
- Add hb-depend section to docs/harfbuzz-sections.txt with all 6 API
symbols (hb_depend_t, hb_depend_from_face_or_fail,
hb_depend_get_glyph_entry, hb_depend_get_set_from_index,
hb_depend_print, hb_depend_destroy)
- Replace "REPLACEME" with "12.4.0" in src/hb-depend.h
- Add api-index-12-4-0 entry to docs/harfbuzz-docs.xml
This fixes the harfbuzz:harfbuzz-doc-check test failure.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
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>
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>
Move the releaseinfo under the bookinfo as it is what gtk-doc expects.
This specifically allows the online location to also be exported into the devhelp2
file.
Move it to a separate section, since hb-common says include hb.h, while
we want to include hb-features.h here.
This still does not fix generating documentation of undefined macros
(e.g. HB_HAS_GDI since we build docs on Linux).