Commit Graph

370 Commits

Author SHA1 Message Date
Behdad Esfahbod 7b0f9abc89 [paint] Add back "remote-control" API
This reverts commit f146299a40.
2022-12-27 12:38:49 -07:00
Behdad Esfahbod d88787b6ca [cairo] Add func to init fonts on creation
To set, for example, font-funcs.
2022-12-27 10:59:17 -07:00
Behdad Esfahbod 4e3e879c1c [cairo] Add [sg]et_scale_factor 2022-12-26 17:01:08 -07:00
Behdad Esfahbod 70babda6ad [cairo] docs 2022-12-26 17:01:08 -07:00
Matthias Clasen ddb52e4a30 [cairo] Add docs 2022-12-26 17:01:08 -07:00
Matthias Clasen 49a6aa97d9 [docs] Add missing HB_HAS macros 2022-12-26 17:01:08 -07:00
Matthias Clasen 306645503d Work on proper build integration
Install hb-cairo.h and define HB_HAS_CAIRO.
2022-12-26 17:01:08 -07:00
Matthias Clasen b8f2281c6c Add hb_ot_color_glyph_has_paint 2022-12-26 11:29:26 -07:00
Behdad Esfahbod f9081fc358
Merge pull request #3938 from harfbuzz/wip/matthiasc/paint-api
hb-paint API
2022-12-24 09:51:11 -07:00
Khaled Hosny 1f3c042ff5 [doc] Don’t automatically skip building docs on Windows
Respect the option setting.
2022-12-24 17:33:54 +02:00
Behdad Esfahbod 7a2dc5cf5b [docs] Hook up a couple 2022-12-23 13:37:59 -07:00
Behdad Esfahbod 381d410b1e [paint] Add HB_PAINT_IMAGE_FORMAT_BGRA and use it in hb-ft
Now hb-ft can render color emoji as well.

Just left COLRv2.
2022-12-23 13:37:59 -07:00
Matthias Clasen f146299a40 [paint] Drop unnecessary api 2022-12-23 13:37:59 -07:00
Matthias Clasen 6387004cad [paint] Simplify api
Drop the hb_paint_context_t struct from the API, and
only pass the font where we need it.
2022-12-23 13:37:59 -07:00
Matthias Clasen bd1389bedf [paint] Add hb_paint_context_t to docs 2022-12-23 13:37:59 -07:00
Matthias Clasen 754528914d [docs] Reorder paint section 2022-12-23 13:37:59 -07:00
Matthias Clasen 3a2634e27c [paint] Document hb_font_paint_glyph_func_t 2022-12-23 13:37:59 -07:00
Matthias Clasen d2b420589b [docs] Add hb-paint apis 2022-12-23 13:37:59 -07:00
Behdad Esfahbod 21a9db875e [draw] Add get_empty / [sg]et_user_data 2022-12-23 13:37:59 -07:00
Khaled Hosny fc8fa18418 Revert "[doc] Don’t skip building on Windows"
This reverts commit 196e739cf2.
2022-12-20 19:04:41 +02:00
Khaled Hosny 6d80aba49e Revert "[doc] Remove redundant check for gtkdoc-scan"
This reverts commit 0409363f77.

Broke lots of bots.
2022-12-20 19:01:25 +02:00
Khaled Hosny 0409363f77 [doc] Remove redundant check for gtkdoc-scan
If docs are enabled, meson will fail earlier of gtkdoc-scan is missing.
2022-12-20 18:42:13 +02:00
Khaled Hosny 196e739cf2 [doc] Don’t skip building on Windows
We don’t enable building docs by default, so if one asked explicitly for
it we shouldn’t be overriding that.
2022-12-20 18:41:01 +02:00
Khaled Hosny 734e5f7cf4 [doc] Add HB_DEPRECATED_FOR to --ignore-decorators
Does not make a difference, though.
2022-12-19 00:15:04 +02:00
Khaled Hosny afcae83a06 6.0.0 2022-12-16 23:35:26 +02:00
Behdad Esfahbod 7f73b57bc1 [subset] Graduate L1 instancing API from experimental
Fixes https://github.com/harfbuzz/harfbuzz/issues/3926
2022-12-10 17:35:52 -07:00
Garret Rieger 27201ed32b [subset] fix up hb_subset_preprocess api comment. 2022-12-08 16:32:24 -07:00
Garret Rieger 13b0388351 [subset] link to preprocessing doc from api comment. 2022-12-08 16:32:24 -07:00
Garret Rieger 8c021462e6 [subset] Add short document on subset preprocessing. 2022-12-08 16:32:24 -07:00
Khaled Hosny a80cae4453 [doc] Add missing symbols to harfbuzz-sections.txt 2022-12-08 12:09:05 -07:00
Khaled Hosny 41edf95893 [doc] Fix sorting
* Keep setters and getters together, with setters first.
* Keep common functions at the top and in a predictable order.
* Put callback functions right above their setters.

Fixes https://github.com/harfbuzz/harfbuzz/issues/3352
2022-12-08 12:09:05 -07:00
Khaled Hosny 7c8be866c9 [doc] Hide another experimental symbol 2022-10-19 22:04:57 +02:00
Khaled Hosny 3ce4b8f5c9 5.3.0 2022-10-08 19:10:07 +02:00
Khaled Hosny 90eee512a0 [doc] Add symbols to harfbuzz-sections.txt 2022-10-08 19:02:28 +02:00
Garret Rieger d5829b3ce2 [repacker] update the repacker doc to reflect the current state. 2022-09-23 15:02:41 -06:00
Garret Rieger 8cd7d1c3fe [subset] Allow table ordering on the face builder to be overriden. 2022-09-22 16:52:14 -06:00
Khaled Hosny 40b21edf48 5.0.0 2022-07-23 19:53:14 +02:00
Behdad Esfahbod f7f6d278bb Add hb_language_matches()
New API:
+ hb_language_matches()
2022-07-17 22:15:42 -06:00
Khaled Hosny d9c5292b27 [docs] Remove duplicate or non existing symbols 2022-06-30 08:47:49 +02:00
Khaled Hosny 22835dea29 [docs] Add missing symbol 2022-06-29 07:49:28 +02:00
Khaled Hosny 4d1d7aec8d [docs] Add missing 4.4.0 index 2022-06-29 07:29:39 +02:00
David Corbett 78c5ae3979 [indic] Remove remnants of Sinhala 2022-06-25 13:49:18 -04:00
Khaled Hosny e2ece939fb [doc] Expand a little bit on Uniscribe compatibility
https://github.com/harfbuzz/harfbuzz/issues/3556#issuecomment-1130247124
2022-06-04 12:46:37 +01:00
Khaled Hosny 8d36300154 [doc] Talk less about “complex” scripts
Use more neutral terms and don’t make it like some scripts are outliers.
2022-06-04 12:46:37 +01:00
Khaled Hosny bd44840fab [doc] s/complexshapers/shapers/g 2022-06-04 12:46:37 +01:00
Behdad Esfahbod 48db1c9583 [font] Add serial API
New API:
+ hb_font_get_serial()
+ hb_font_changed()

Fixes https://github.com/harfbuzz/harfbuzz/issues/2426

Unused internally as of now.
2022-05-26 05:02:50 -06:00
Behdad Esfahbod efa2a5796e [map] Add hb_map_copy()
New API:
+ hb_map_copy()
2022-05-26 05:01:57 -06:00
Behdad Esfahbod 4ea2725704 [set/map] Expose hash API publicly
New API:
+ hb_set_hash()
+ hb_map_hash()
2022-05-20 13:19:48 -06:00
Khaled Hosny aee123fc83 4.3.0 2022-05-20 21:07:25 +02:00
Behdad Esfahbod ad17699089 [map] Add is_equal() / towards making hb_map_t hashable
New API:
+ hb_map_is_equal()
2022-05-19 13:36:12 -06:00