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.
2 years ago
Matthias Clasen
f146299a40
[paint] Drop unnecessary api
2 years ago
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.
2 years ago
Matthias Clasen
bd1389bedf
[paint] Add hb_paint_context_t to docs
2 years ago
Matthias Clasen
754528914d
[docs] Reorder paint section
2 years ago
Matthias Clasen
3a2634e27c
[paint] Document hb_font_paint_glyph_func_t
2 years ago
Matthias Clasen
d2b420589b
[docs] Add hb-paint apis
2 years ago
Behdad Esfahbod
21a9db875e
[draw] Add get_empty / [sg]et_user_data
2 years ago
Behdad Esfahbod
7f73b57bc1
[subset] Graduate L1 instancing API from experimental
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/3926
2 years ago
Garret Rieger
27201ed32b
[subset] fix up hb_subset_preprocess api comment.
2 years ago
Khaled Hosny
a80cae4453
[doc] Add missing symbols to harfbuzz-sections.txt
2 years ago
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
2 years ago
Khaled Hosny
7c8be866c9
[doc] Hide another experimental symbol
2 years ago
Khaled Hosny
90eee512a0
[doc] Add symbols to harfbuzz-sections.txt
2 years ago
Garret Rieger
8cd7d1c3fe
[subset] Allow table ordering on the face builder to be overriden.
2 years ago
Behdad Esfahbod
f7f6d278bb
Add hb_language_matches()
...
New API:
+ hb_language_matches()
3 years ago
Khaled Hosny
d9c5292b27
[docs] Remove duplicate or non existing symbols
3 years ago
Khaled Hosny
22835dea29
[docs] Add missing symbol
3 years ago
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.
3 years ago
Behdad Esfahbod
efa2a5796e
[map] Add hb_map_copy()
...
New API:
+ hb_map_copy()
3 years ago
Behdad Esfahbod
4ea2725704
[set/map] Expose hash API publicly
...
New API:
+ hb_set_hash()
+ hb_map_hash()
3 years ago
Behdad Esfahbod
ad17699089
[map] Add is_equal() / towards making hb_map_t hashable
...
New API:
+ hb_map_is_equal()
3 years ago
Behdad Esfahbod
0a38878549
[set] Minor touch-up on the previous commit
3 years ago
Khaled Hosny
116cc69236
[set] Fix documentation
3 years ago
Behdad Esfahbod
4289684cdb
[set] Fix-up previous commits
3 years ago
Khaled Hosny
a34eea3013
[doc] Add experimental repacker API to private section
...
Hides the warning about them until they are no longer experimental.
3 years ago
Garret Rieger
f6071c16b0
[subset] Rename codepoint -> unicode in subset plan api
3 years ago
Khaled Hosny
1b5a2e0809
[doc] Various fixes to newly added documentation
3 years ago
Matthias Clasen
f6efe34f5e
[ot-metrics] Synthesize missing metrics
...
Add a variant of hb_ot_metrics_get_position that
synthesizes missing values.
New api: hb_ot_metrics_get_position_with_fallback
3 years ago
Matthias Clasen
f81578fd86
[ot-layout] Synthesize missing baselines
...
Add a variation of hb_ot_layout_get_baseline that
synthesizes missing baselines, using heuristics in part
taken from the CSS Inline Layout Module, Level 3.
Includes some new tests for synthesized baselines.
The base2.ttf is a subset of Noto Sans Bengali that
includes just the Bengali Ka.
New API: hb_ot_layout_get_baseline_with_fallback
3 years ago
Behdad Esfahbod
5de67c8961
[ot-layout] Remove commented-out prototypes
...
Not gonna happen.
3 years ago
Behdad Esfahbod
98079109e6
[ot-layout] Add +hb_ot_layout_get_horizontal_baseline_tag_for_script()
...
New API:
+hb_ot_layout_get_horizontal_baseline_tag_for_script()
3 years ago
Behdad Esfahbod
2376230523
[draw] Flesh out docs a bit
3 years ago
Alexis King
81754a5a96
[ot-math] Add hb_ot_math_get_glyph_kernings
...
closes #3396
3 years ago
Alexis King
1bc4bad7a5
[ot-tag] Add HB_SCRIPT_MATH (Zmth) and map it to OT ‘math’ tag
...
The ISO 15924 code for mathematical notation is ‘Zmth’, but the
OpenType script is ‘math’.
3 years ago
Behdad Esfahbod
52f5711ed0
[buffer] Add hb_buffer_create_similar()
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/1555
3 years ago
Behdad Esfahbod
6a66992842
Add hb_segment_properties_overlay()
...
New API:
+ hb_segment_properties_overlay()
3 years ago
Behdad Esfahbod
a7751277e9
[docs] Add hb_font_[gs]et_synthetic_slant()
3 years ago
Behdad Esfahbod
a3265e1e07
Typo
3 years ago
Behdad Esfahbod
6356da88ee
[docs] Update
3 years ago
Behdad Esfahbod
da500568de
[API] Add hb_buffer_[sg]et_not_found_glyph() and --not-found-glyph
...
Instead of using gid=0 when a character is not found in the font,
client can now set a custom value. This is useful for shaper-driven
font fallback and to differentiate that from .notdef glyph.
Fixes https://github.com/harfbuzz/harfbuzz/issues/1360
3 years ago
Garret Rieger
f4649f3895
[subset] restore hb_subset_input_unicode/glyph_set () to documentation.
3 years ago
Khaled Hosny
eb4075a1ed
[style] Fix documentation
...
Message documentation a bit to get it working.
3 years ago
Khaled Hosny
9b7af950b3
[docs] Fix subset documentation
...
List the missing new APIs and unlist all the to be deleted legacy APIs.
4 years ago
Khaled Hosny
80ff72f39d
[doc] Misc fixes
4 years ago
Behdad Esfahbod
f0c3804fa2
[set] Add hb_bit_set_invertible_t and resurrect hb_set_invert()
...
Implementation is NOT complete yet.
4 years ago
Khaled Hosny
ec99fdb7e8
[sebset] Use [s|g]et_flag for retain_all_layout_features
...
Looks like this was missed when adding hb_subset_input_[s|g]et_flag()
4 years ago
Khaled Hosny
acc7100a3f
[docs] Improve subset documentation
4 years ago
Garret Rieger
1b6c1aa684
[subset] add hb-subset api to documentation generator.
...
Standardize subset_input parameter to be input.
4 years ago
Behdad Esfahbod
bdfed8f113
[blob] Add failing versions of create API
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/2567
New API:
+hb_blob_create_or_fail()
+hb_blob_create_from_file_or_fail()
Use these in util/ to distinguish empty file from not-found file.
Only err on the latter.
4 years ago