Commit Graph

393 Commits

Author SHA1 Message Date
Behdad Esfahbod d250fd979b [font] Docs 2023-02-02 15:51:22 -07:00
Khaled Hosny 12f2ecbddb [doc] Generate hb-supported-features.h
See inline comment.
2023-01-24 00:15:48 +02:00
Khaled Hosny 0bbd3360ee [doc] Try to fix generating hb-features docs
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).
2023-01-24 00:12:06 +02:00
Behdad Esfahbod def94aa8c5 [features] Add HB_HAS_GOBJECT 2023-01-22 14:01:34 -07:00
Behdad Esfahbod b3006ba9cb Docs 2023-01-22 13:46:35 -07:00
Behdad Esfahbod eb00088bcf [paint] Docs 2023-01-20 13:57:39 -07:00
Behdad Esfahbod cce7c441eb [name] Fix doc
That's part of an enum now.
2023-01-20 13:57:05 -07:00
Behdad Esfahbod edec8946ed New API: hb_ot_layout_script_select_language2()
Variant that outputs chosen_language.

Not sure why the original API didn't have this. The script
counterpart has.
2023-01-20 09:28:59 -07:00
Behdad Esfahbod d695cc8735 [paint] Docs 2023-01-18 20:45:19 -07:00
Behdad Esfahbod 99838770ab [font] Add hb_font_get_var_named_instance()
Two new API:
+HB_FONT_NO_VAR_NAMED_INSTANCE
+hb_font_get_var_named_instance
2023-01-15 10:54:01 -07:00
Khaled Hosny 52c8c5a058 [doc] Fix API indices generation
For whatever reason, GTK-Doc 1.33.1 will not generate HTML files for
indices that has these role attributes.
2023-01-11 23:33:18 +02:00
Behdad Esfahbod 5153218b41 [set] Add hb_set_is_inverted() 2023-01-05 16:26:41 -07:00
Behdad Esfahbod c54debc76d [face] Add hb_face_collect_nominal_glyph_mapping
Fixes https://github.com/harfbuzz/harfbuzz/issues/3973
2023-01-05 11:57:48 -07:00
Behdad Esfahbod b0d9421b11 [docs] Remove reference to 2.x.x
Fixes https://github.com/harfbuzz/harfbuzz/issues/4006
2023-01-05 11:21:46 -07:00
Behdad Esfahbod 35f46e74d1 [map] Add hb_map_keys() and hb_map_values() 2023-01-04 17:12:08 -07:00
Behdad Esfahbod 4f6079138d [map] Add hb_map_update() 2023-01-04 13:58:46 -07:00
Behdad Esfahbod ffafcf9633 [map] Add hb_map_next() 2023-01-04 12:56:42 -07:00
Behdad Esfahbod 4a5bd7a926 [subset] Add hb_subset_input_keep_everything()
Fixes https://github.com/harfbuzz/harfbuzz/issues/3998

New API:
+ hb_subset_input_keep_everything()
2023-01-01 16:53:28 -07:00
Matthias Clasen 956ccb11a8 [docs] Add a section about rendering 2022-12-31 10:26:38 -07:00
Matthias Clasen 63cd1cce67 [docs] Drop stale commented-out section
Freetype integration is documented elsewhere now.
2022-12-31 10:26:38 -07:00
Matthias Clasen a390590451 Mention named instances in the var-fonts section 2022-12-31 10:26:38 -07:00
Matthias Clasen 3be9fa07f6 [docs] Mention new font-funcs in the user manual 2022-12-29 10:09:50 -07:00
Matthias Clasen 2c2121784a [docs] Add a Cairo integration section 2022-12-29 10:09:50 -07:00
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