Behdad Esfahbod
f1ac867dee
[buffer] Add API for random state
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4620
New API:
+hb_buffer_set_random_state()
+hb_buffer_get_random_state()
2024-03-20 14:44:22 -06:00
Qunxin Liu
d6431dc7e6
[instancer] support *=drop, which would pin all axis to default location
2024-03-07 12:24:43 -07:00
Khaled Hosny
8da99b83e6
[docs] Order hb-ot-color functions is more organized way
2024-02-03 14:24:12 +02:00
Garret Rieger
0dd7a47621
Add hb_subset_input_get_axis_range to docs.
2023-11-15 21:23:06 +00:00
Behdad Esfahbod
bf08205625
[deprecated] Add a mis-spelled macro
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4464
2023-10-27 12:24:33 -06:00
Behdad Esfahbod
47231bdc70
[COLR/cairo/ft] Fixups to paint-color-glyph and implement for hb-ft
2023-08-14 16:55:21 -06:00
Behdad Esfahbod
dc35a0fbcb
[ot-map] Speed up feature finding
...
New API:
- hb_ot_layout_collect_feature_map()
2023-07-30 16:37:30 -06:00
Khaled Hosny
15d8f0ca7c
[doc] Fix warning: Section has no title and no file
...
Move the private macros to the hb-common section, instead of a file-less
one.
2023-07-09 10:56:36 +03:00
Khaled Hosny
afe0910295
[font] Actually deprecate get_glyph_shape()
...
We previously marked it as deprecated in the documentation but didn’t
actually deprecate it in code. Now the only known users have migrated to
draw_glyph(), lets deprecate o=it for good.
2023-07-09 03:20:27 +03:00
Behdad Esfahbod
c3e7f45166
Add HB_CODEPOINT_INVALID
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4262
2023-06-03 14:56:47 -06:00
Behdad Esfahbod
0894813a38
[layout] Add "2" version of BASE table API
...
...that do the script/language resolution.
Part of https://github.com/harfbuzz/harfbuzz/pull/4237
Ref https://github.com/harfbuzz/harfbuzz/issues/3439
2023-05-19 11:35:33 -06:00
Behdad Esfahbod
3e110c69c4
[layout] Add hb_ot_layout_get_font_extents()
...
Untested.
Fixes https://github.com/harfbuzz/harfbuzz/issues/3290
2023-05-19 11:06:26 -06:00
Behdad Esfahbod
ccfd7ef08c
Merge pull request #4131 from harfbuzz/wasm
...
[wasm] WebAssembly shaper
2023-05-17 16:00:33 +02:00
Qunxin Liu
58f68dd37a
[instancer] wrap hb_subset_input_Set_axis_range() under experimental
...
Also add notes: it's not actually working yet.
2023-05-12 11:09:04 -06:00
Garret Rieger
374a9a9f5e
[subset] restore accidentally removed function doc.
2023-05-05 05:58:15 +00:00
Garret Rieger
3021b2dbe2
[subset] change glyph mapping api to return a mutable map.
...
Maintains consistency with our other set based api methods.
2023-05-05 05:57:05 +00:00
Garret Rieger
d4c1322547
[subset] Add new glyph map method to docs.
2023-05-04 23:04:35 +00:00
Behdad Esfahbod
bc53587002
[deprecated] Add HB_UNICODE_COMBINING_CLASS_CCC133
...
https://github.com/harfbuzz/harfbuzz/pull/4207
2023-04-26 13:57:11 -06:00
Behdad Esfahbod
ed39e07661
[wasm] Fix docs
2023-03-31 17:33:44 -06:00
Behdad Esfahbod
fb067390e4
[docs] Fix a warning
2023-03-02 11:40:45 -07:00
Behdad Esfahbod
96d4ed0931
[justify] Document API
2023-03-01 14:23:12 -07:00
Behdad Esfahbod
bbb9d6d436
[font] Add hb_font_set_variation()
2023-02-28 12:08:11 -07:00
Khaled Hosny
9c27fe625f
Revert "[doc] Fix a couple of gtk-doc warnings"
...
This reverts commit ed42b2fcb5 .
2023-02-21 23:25:14 +02:00
Khaled Hosny
ed42b2fcb5
[doc] Fix a couple of gtk-doc warnings
2023-02-21 23:08:15 +02:00
Behdad Esfahbod
d250fd979b
[font] Docs
2023-02-02 15:51:22 -07: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
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
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
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
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