Commit graph

446 commits

Author SHA1 Message Date
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
Khaled Hosny
2b3631a866 8.3.1 2024-03-17 07:50:59 +02: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
Khaled Hosny
c1eb66d415 8.2.0 2023-09-08 22:02:35 +03: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
Khaled Hosny
fcb9e5915f 8.1.0 2023-08-01 01:00:47 +03: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
Nikolaus Waxweiler
ca7e7e925b Fix wasm-micro-runtime build instructions 2023-07-23 15:25:48 -06:00
Nikolaus Waxweiler
a32278acd8 Fix example code 2023-07-23 15:25:48 -06:00
Richard Dodd (dodj)
02b00d7743 Update wasm-shaper.md (just a small typo) 2023-07-19 08:54:54 -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
8d99db5c3b [wasm] Typo [ci skip] 2023-07-09 03:42:38 +03:00
Khaled Hosny
b4305532a7 8.0.0 2023-07-09 03:20:27 +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
592a3d0e96
Merge pull request #4237 from harfbuzz/layout-font-extents
[layout] Add hb_ot_layout_get_font_extents()
2023-05-21 22:00:53 +02: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
Simon Cozens
2f21dc23b5 [wasm] [docs] Improve build flags information 2023-05-18 07:14:28 +01:00
Simon Cozens
134cc8edfa [wasm] [docs] How to build 2023-05-17 16:58:49 +01:00
Behdad Esfahbod
ccfd7ef08c
Merge pull request #4131 from harfbuzz/wasm
[wasm] WebAssembly shaper
2023-05-17 16:00:33 +02:00
Simon Cozens
56af88d048 [wasm] More thorough API docs 2023-05-17 14:32:17 +01: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
Khaled Hosny
4584bcdc32 7.3.0 2023-05-10 00:20:25 +03:00
Rod S
4bbcff2c5c Help noobs who don't know their segment properties 2023-05-08 21:33:13 -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
7f629c0df2 [docs] clarify purpose of FreeType integration
Fixes https://github.com/harfbuzz/harfbuzz/issues/4200
2023-04-19 13:16:18 -06:00
Simon Cozens
0c90555e59 [wasm] Fix Rust docs 2023-03-31 17:33:45 -06:00
Simon Cozens
db789eacb4 [wasm-rust] Docs and API update 2023-03-31 17:33:45 -06:00
Simon Cozens
840b5dff73 [wasm] Improve Rust docs, refer to new crate 2023-03-31 17:33:45 -06:00
Behdad Esfahbod
ed39e07661 [wasm] Fix docs 2023-03-31 17:33:44 -06:00
Behdad Esfahbod
e03726d269 [wasm] Ignore API in the docs 2023-03-31 17:33:44 -06:00
Behdad Esfahbod
bb8a04cbad [wasm] Remove the print(returnval) and use it to fail shaper 2023-03-31 17:33:44 -06:00
Simon Cozens
11fc83c0ba [Docs] Pass a C string from Rust to HB 2023-03-31 17:33:44 -06:00
Simon Cozens
f0200445d0 Initial WASM docs and Rust example 2023-03-31 17:33:44 -06:00
Khaled Hosny
b4b089c427 [docs] Disable gtdoc-check by default
It slows build as it causes documentation to be always rebuilt. We now
disable it by default and enable it on relevant CI jobs.
2023-03-06 06:06:06 +02:00
Khaled Hosny
60841e2618 7.1.0 2023-03-03 01:05:43 +02: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
Khaled Hosny
2f1aa032b4 [doc] Give this section a nice URL 2023-02-13 09:50:04 +02:00
Khaled Hosny
8bdaeddfcd 7.0.0 2023-02-11 23:52:58 +02:00