Behdad Esfahbod
ba6de29374
[docs] Remove libharfbuzz-vector design doc
2026-02-24 12:41:09 -03:00
Behdad Esfahbod
edf193095a
[docs] Add hb-vector API section and raster glyph entries
2026-02-24 12:37:37 -03:00
Behdad Esfahbod
3c099ee71c
Add initial libharfbuzz-vector SVG backend and utility rename
2026-02-24 08:52:34 -03:00
Behdad Esfahbod
bcd19a4c39
raster: add draw/paint scale-factor API
2026-02-24 05:02:35 -03:00
Behdad Esfahbod
70f45cbdcd
raster-draw: hardwire output format to A8
2026-02-24 04:52:44 -03:00
Behdad Esfahbod
5ea04afcda
raster: adopt create_or_fail and strict render semantics
2026-02-24 04:46:51 -03:00
Behdad Esfahbod
0727834314
raster-image: consolidate configuration API
2026-02-24 04:22:51 -03:00
Behdad Esfahbod
742f79da08
raster: remove extents_from_glyph_extents API
...
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.
2026-02-23 12:10:41 -03:00
Behdad Esfahbod
5c01a87ae5
docs: add hb_raster_extents_from_glyph_extents section entry
2026-02-22 15:20:10 -03:00
Behdad Esfahbod
8a087adaa4
hb-raster: Fix docs
2026-02-22 02:48:45 -03:00
Behdad Esfahbod
5e4c105c6f
cairo: remove raster mode API and hb-view --raster
2026-02-22 00:20:31 -03:00
Behdad Esfahbod and Claude Opus 4.6
7d008bf735
hb-raster: add hb_raster_draw_recycle_image() for zero-malloc rendering
...
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 >
2026-02-21 17:29:05 -03:00
Behdad Esfahbod and Claude Opus 4.6
0b97882e58
hb-raster: add GTK-Doc comments for all public API
...
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 >
2026-02-21 17:29:05 -03:00
Khaled Hosny
a790c38b78
[docs] Fix build
2025-10-01 08:26:58 +03:00
Khaled Hosny
cb59b347ca
12.1.0
2025-10-01 08:24:34 +03:00
Behdad Esfahbod
4a26e289f7
Add hb_ot_layout_lookup_collect_glyph_alternates() ( #5367 )
...
* [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
2025-09-30 13:31:04 -06:00
Count_MHM
025f72b240
Make example variable names consistent
2025-08-03 18:30:54 -06:00
Khaled Hosny
30e7af11ee
11.3.0
2025-07-20 21:40:37 +03:00
Behdad Esfahbod
1835c088db
[font] Add get_glyph_[hv]_origins callbacks (plural)
...
Unused so far, and unimplemented in backends.
2025-07-20 07:19:23 -06:00
Corentin Noël
37627c6756
[docs] Specify the online location of the documentation
...
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.
2025-06-13 11:27:56 -06:00
Khaled Hosny
63cdd745ff
11.2.0
2025-04-28 15:56:32 +03:00
Behdad Esfahbod
38db1facf2
[paint] Change back return type of paint_glyph() to void
...
Add new "_or_fail" variants of draw_glyph and paint_glyph
New API:
+hb_font_draw_glyph_or_fail_func_t
+hb_font_paint_glyph_or_fail_func_t
+hb_font_funcs_set_draw_glyph_or_fail_func()
+hb_font_funcs_set_paint_glyph_or_fail_func()
+hb_font_draw_glyph_or_fail()
+hb_font_paint_glyph_or_fail()
Deprecated API:
-hb_font_draw_glyph_func_t
-hb_font_paint_glyph_func_t
-hb_font_funcs_set_draw_glyph_func()
-hb_font_funcs_set_paint_glyph_func()
2025-04-23 18:23:51 -06:00
Behdad Esfahbod
853720ead4
[font] Add hb_font_is_synthetic()
...
New API:
+hb_font_is_synthetic()
2025-04-22 22:51:40 -06:00
Garret Rieger
a1e587b75a
[subset] Add hb_subset_cff_get_charstrings_index and hb_subset_cff2_get_charstrings_index.
...
These methods allow retrieving the entire charstrings index structure from a CFF or CFF2 table.
2025-03-31 16:28:28 -06:00
Garret Rieger
ae8b288db7
[subset] Correctly handle lifetime of charstrings data blob returned by hb_subset_cff_get_charstring_data.
2025-03-27 22:07:06 +00:00
Garret Rieger
0d4053b11d
[subset] Add hb-subset.h API for retrieving the raw per glyph outline data from CFF and CFF2.
2025-03-27 20:20:52 +00:00
Khaled Hosny
ea6a172f84
11.0.0
2025-03-24 00:33:53 +02:00
Behdad Esfahbod
c274ee7b3e
[directwrite] Add hb_font_t setter/getter from IDWriteFontFace
...
Changed API:
+hb_directwrite_font_create()
New API:
+hb_directwrite_font_get_dw_font_face()
2025-03-22 16:02:39 -06:00
Behdad Esfahbod
f0b0d92ab5
[directwrite] Deprecate hb_directwrite_font_get_dw_font()
2025-03-22 15:44:50 -06:00
Behdad Esfahbod
8d8fe19099
[dwrite] Add font-funcs sketch
...
Small steps.
Fixes https://github.com/harfbuzz/harfbuzz/issues/5144
2025-03-15 21:03:30 -06:00
Behdad Esfahbod
000a0ad7a6
[paint] Add push_font_transform() / push_inverse_font_transform()
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/5146
2025-03-15 18:35:32 -06:00
Behdad Esfahbod
1e9d101ed7
[directwrite] Add hb_directwrite_face_create_from_file_or_fail()
...
Just loads the blob from file and creates a face from it.
New API:
+hb_directwrite_face_create_from_file_or_fail()
2025-03-14 02:14:23 -06:00
Behdad Esfahbod
b0a5920d1a
[directwrite] Add hb_directwrite_face_create_from_blob_or_fail()
...
Part of https://github.com/harfbuzz/harfbuzz/issues/5082
New API:
+hb_directwrite_face_create_from_blob_or_fail()
2025-03-13 14:27:37 -06:00
Behdad Esfahbod
0b2a0bac47
Merge pull request #5130 from harfbuzz/malloc-rust
...
[fontations] Make fontations use hb_malloc et al
2025-03-11 23:04:11 -06:00
Behdad Esfahbod
5bf81c3758
[common] Make hb_malloc() et al public
...
New API:
+hb_malloc()
+hb_calloc()
+hb_realloc()
+hb_free()
2025-03-11 22:52:34 -06:00
Behdad Esfahbod
8e8a9f6f40
[face] Add hb_face_create_or_fail_using()
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/5117
Untested.
New API:
+hb_face_create_or_fail_using
2025-03-11 11:56:00 -06:00
Behdad Esfahbod
f98c203e7a
[coretext] Add hb_coretext_face_create_from_blob_or_fail()
...
Part of https://github.com/harfbuzz/harfbuzz/issues/5117
Untested.
New API:
+hb_coretext_face_create_from_blob_or_fail()
2025-03-11 11:56:00 -06:00
Behdad Esfahbod
e4fe8bf95e
[ft] Add hb_ft_face_create_from_blob_or_fail()
...
Part of https://github.com/harfbuzz/harfbuzz/issues/5117
Untested.
New API:
+hb_ft_face_create_from_blob_or_fail()
2025-03-11 11:56:00 -06:00
Behdad Esfahbod
1531be8a1d
[buffer] Add docs for the new cluster level
2025-03-10 01:02:11 -06:00
Behdad Esfahbod
5cf1fa3add
[face] Fix docs
2025-03-09 01:47:23 -07:00
Behdad Esfahbod
2a878b1b76
[font-funcs] Add two new API
...
+ hb_font_set_funcs_using()
+ hb_font_list_funcs()
Part of https://github.com/harfbuzz/harfbuzz/issues/5117
2025-03-08 11:50:53 -07:00
Behdad Esfahbod
bed809bc6b
[fontations] Add to docs
...
Module itself undocumented so far.
2025-03-06 04:23:24 +02:00
Khaled Hosny
3ef8709829
10.4.0
2025-03-01 00:59:49 +02:00
Khaled Hosny
532ed228e7
[docs] Move all deprecated APIs to the deprecated section
2025-02-28 23:56:03 +02:00
Khaled Hosny
69e1c3c352
[ft] Add hb_ft_font_get_ft_face()
...
A new name for hb_ft_font_get_face(), which is now deprecated.
Fixes https://github.com/harfbuzz/harfbuzz/issues/5084
2025-02-28 23:56:03 +02:00
Khaled Hosny
484e8d4997
[directwrite] Add hb_directwrite_face_get_dw_font_face()
...
A new name for hb_directwrite_face_get_font_face(), which is now
deprecated.
Part of https://github.com/harfbuzz/harfbuzz/issues/5084
2025-02-28 23:56:03 +02:00
Khaled Hosny
694ffa8747
10.3.0
2025-02-20 23:56:59 +02:00
Khaled Hosny
03cf1565f5
[directwrite] Rename font_get_font to font_get_dw_font
...
https://github.com/harfbuzz/harfbuzz/pull/5079#pullrequestreview-2627407692
2025-02-20 22:16:22 +02:00
Khaled Hosny
a8fd29718a
[directwrite] Add hb_directwrite_font_create()/font_get_font()
...
Uses hb_directwrite_face_create() under the hood, but copies variations
from directwrite to hb-font.
2025-02-20 21:40:27 +02:00
Khaled Hosny
cf336f17b2
[shape-plan] Rename hb_ot_shape_plan_get_features to get_feature_tags
...
Simplify the API by returning only feature tags. The users of this API
would be interested only in feature enabled by default and whether the
feature is globally or partially enabled wouldn’t be of much interest in
that case. For user features, the user of the API already have full
access to them.
2025-02-14 21:54:30 +02:00