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
Behdad Esfahbod
3962225a72
[set] Add hb_set_copy()
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/3016
4 years ago
Khaled Hosny
9b8be9643c
[docs] Ignore hb-gobject headers
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/2797
4 years ago
Khaled Hosny
3d7a361648
[docs] Miscellaneous missing docs
4 years ago
Khaled Hosny
8e8c3e5878
[docs] Complete hb-ot-layout docs a bit
4 years ago
Khaled Hosny
aa107e657b
[docs] Complete hb-font docs a bit
4 years ago
Khaled Hosny
ff96f73f8f
[docs] Add some missing API to harfbuzz-sections.txt
4 years ago
Khaled Hosny
b029a45caa
[docs] Add new API to harfbuzz-sections.txt
4 years ago
Khaled Hosny
5091ea7e24
Merge pull request #2733 from astiob/buffer-context-doc
...
[docs] Describe buffer context applicability more explicitly
4 years ago
Ebrahim Byagowi
1bac85828c
[layout] Rename _get_alternates to _get_glyph_alternates
5 years ago
Ebrahim Byagowi
1348a2c865
[layout] hb_ot_layout_lookup_get_alternates, a new API
...
An API to retrieve one-to-one alternates from a given GSUB lookup index.
5 years ago
Qunxin Liu
973c47f6c9
[subset] Move 2 experimental public api methods to be private methods in GSUB/GPOS.
...
2 methods are: hb_ot_layout_closure_lookups and hb_ot_layout_closure_features
5 years ago
Ebrahim Byagowi
759df46575
[style] Hide behind HB_EXPERIMENTAL_API compile flag
5 years ago
Ebrahim Byagowi
22037499b4
[style] New experimental API, hb_style_get_value
...
Searches variation axes of a hb_font_t object for a specific axis first,
if not set, then tries to get default style values from different
tables of the font.
5 years ago
Ebrahim Byagowi
755a77d660
Move outline draw API behind HB_EXPERIMENTAL_API directive
5 years ago
Ebrahim Byagowi
ab2d3ec542
[var] Implement hb_font_get_var_coords_design
...
Hold design coords and simulate when normalized coords are set directly.
5 years ago
Ebrahim Byagowi
b4d3bf1d8a
[draw] Add hb_draw_funcs_is_immutable and hb_draw_funcs_make_immutable
5 years ago
Ebrahim Byagowi
74fdcdcac8
[draw] Rename conic_to to quadratic_to
5 years ago
Ebrahim Byagowi
ac81e94016
Rename hb_outline_decompose to hb_font_draw_glyph and hb_outline_decompose_funcs_t to hb_draw_funcs_t
5 years ago
Ebrahim Byagowi
981125aa2a
Rename hb_ot_glyph_* to hb_outline_*
5 years ago
Ebrahim Byagowi
02f324c949
[ot-glyph] remove open callback
...
Apparently it wasn't requested actually and can be detected easily
as paths are opened usually when move command is issued anyway.
5 years ago
Ebrahim Byagowi
79fed9a1e4
[ot-glyph] Add open/close callbacks
5 years ago
Ebrahim Byagowi
ec1fba1388
[ot-glyph] make hb_ot_glyph_decompose_funcs_t struct opaque
5 years ago
Qunxin Liu
8ffc9add22
[subset] layout closure_features and store them in subset-plan
5 years ago
Qunxin Liu
0b39c48064
[subset] closure lookups for GSUB/GPOS
5 years ago
Ebrahim Byagowi
084a8182fb
[ot-glyphs] Move CFF glyph decompose logic to their tables
...
Thus making path decompose zero alloc on CFF/CFF2
5 years ago
Ebrahim Byagowi
0b559d750f
[ot-glyph] Improve API names
5 years ago
Behdad Esfahbod
d5338ba189
[ft] Add locking FT_Face API
...
Now that we mutex our internal FT_Face, share it with clients.
New API:
- hb_ft_font_lock_face()
- hb_ft_font_unlock_face()
5 years ago
Behdad Esfahbod
d6ad613159
[docs] Misc fixes
5 years ago
Behdad Esfahbod
e56d4ff43b
Rename hb_ot_meta_get_entries() to +hb_ot_meta_get_entry_tags()
6 years ago
Ebrahim Byagowi
9f2b4956b4
[base] Add hb_ot_layout_get_baseline API
6 years ago
Ebrahim Byagowi
40a4b6ddbd
[var] Add a new API, hb_font_set_var_named_instance
6 years ago
Ebrahim Byagowi
62932c14bd
[meta] Rename ot-metadata to ot-meta per review
6 years ago
Ebrahim Byagowi
3ac03bd67c
[meta] New API, hb_ot_metadata_reference_entry for fetching meta entries
6 years ago
Ebrahim Byagowi
eb8bd2f7ec
Add hb_gdi_face_create API
...
Based on Konstantin Ritt work posted on mailing list
6 years ago
Behdad Esfahbod
e540d402f6
[docs] Minor
6 years ago
Ebrahim Byagowi
87e628436e
Implement a simple API for fetching opentype metrics
...
Fixes https://github.com/harfbuzz/harfbuzz/pull/1432
6 years ago
Behdad Esfahbod
0819f3ca86
Deprecate v_kerning callback again
...
Part of https://github.com/harfbuzz/harfbuzz/issues/1682
6 years ago
Behdad Esfahbod
2682efb02d
Revert "Deprecate font kern API"
...
This reverts commit d219f899f4
.
API change: Un-deprecate font kern API.
Part of https://github.com/harfbuzz/harfbuzz/issues/1682
We should document that this API is only necessary to hook up
non-OpenType kerning. hb-ot-font will continue to NOT implement them.
6 years ago
Ebrahim Byagowi
b292772e6e
[dwrite] A new API, hb_directwrite_face_get_font_face ( #1600 )
...
Can be useful when using HarfBuzz for font loading and shaping
but using DirectWrite for rendering.
6 years ago
Khaled Hosny
a17ed8459e
[doc] Move hb_variation_t to hb-common section
6 years ago