Commit Graph

285 Commits

Author SHA1 Message Date
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
2021-10-26 08:02:29 -06:00
Behdad Esfahbod a7a3608553 [docs] Rename overflow_resolution to repacker 2021-10-12 16:11:25 -07:00
Garret Rieger 6bc64317ca Add a writeup of the overflow resolution algorithm in harfbuzz. 2021-10-12 17:10:07 -06:00
Khaled Hosny 9c387e20d6
3.0.0 2021-09-17 21:32:30 +02:00
Garret Rieger f4649f3895 [subset] restore hb_subset_input_unicode/glyph_set () to documentation. 2021-09-16 15:31:29 -06:00
Khaled Hosny eb4075a1ed [style] Fix documentation
Message documentation a bit to get it working.
2021-09-13 10:10:10 -06:00
Khaled Hosny 9b7af950b3 [docs] Fix subset documentation
List the missing new APIs and unlist all the to be deleted legacy APIs.
2021-09-07 15:05:42 +02:00
Khaled Hosny 505df5abf8 2.9.1 2021-09-07 13:46:43 +02:00
mahanstreamer 6602cbb706 dead link 2021-09-06 17:25:41 +02:00
mahanstreamer 916ffe0c85 grammer fix 2021-09-06 17:25:41 +02:00
Khaled Hosny 65c622c689 Typo 2021-08-23 21:23:30 +02:00
Khaled Hosny c76af4973c [doc] We use GitHub for discussion not the mailing list
Fixes https://github.com/harfbuzz/harfbuzz/issues/3160
2021-08-23 20:50:35 +02:00
Behdad Esfahbod 829b0f3353
Merge pull request #3154 from harfbuzz/set-invert
Resurrect hb_set_invert()
2021-08-20 01:28:15 -06:00
Khaled Hosny 80ff72f39d [doc] Misc fixes 2021-08-18 13:16:51 +02:00
Behdad Esfahbod f0c3804fa2 [set] Add hb_bit_set_invertible_t and resurrect hb_set_invert()
Implementation is NOT complete yet.
2021-08-17 19:53:43 -06:00
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()
2021-07-26 19:32:28 +02:00
Khaled Hosny acc7100a3f [docs] Improve subset documentation 2021-07-26 02:18:23 +02:00
Garret Rieger 1b6c1aa684 [subset] add hb-subset api to documentation generator.
Standardize subset_input parameter to be input.
2021-07-22 12:15:45 -07:00
Khaled Hosny 63e15eac4f 2.8.2 2021-07-08 23:02:49 +02:00
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.
2021-06-15 13:56:30 -06:00
Behdad Esfahbod 3962225a72 [set] Add hb_set_copy()
Fixes https://github.com/harfbuzz/harfbuzz/issues/3016
2021-06-09 14:02:31 -06:00
Ambient Lighter 4cc4cd3b24
[docs] Fix spelling typo (#2945) 2021-04-10 14:11:23 +03:00
Khaled Hosny 743baf3543 [build] Don’t look for FontConfig
We don’t currently use it anywhere. It was used briefly for the
hb-fc-list tool, but this tool have not been built since 2015:

commit cd042fc8c4
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu Jun 18 10:55:13 2015 -0700

    [util] Disable hb-fc-list for now

    Until I figure out what to do about the API, and finalize
    the tool.
2021-03-29 15:54:51 -06:00
Behdad Esfahbod feeff5928b [docs] Add destroy() call to sample 2021-02-09 14:59:40 -07:00
Khaled Hosny 319e5b3200 [manual] Fix font functions section
Fixes https://github.com/harfbuzz/harfbuzz/issues/2731
2021-02-09 23:22:22 +02:00
Khaled Hosny 3583fce86d [manual] Give all chapters & sections pretty links 2021-02-09 23:22:22 +02:00
Khaled Hosny 84d4d9fc4d [manual] We don’t use ucdn library anymore 2021-02-09 23:22:22 +02:00
Khaled Hosny 9b8be9643c [docs] Ignore hb-gobject headers
Fixes https://github.com/harfbuzz/harfbuzz/issues/2797
2021-01-20 14:23:37 -08:00
Khaled Hosny 2a6a49c90b [meson] Don’t scan files outside src for docs
Similar to what we do in Makefile.am.
2021-01-20 14:22:38 -08:00
Khaled Hosny 3d7a361648 [docs] Miscellaneous missing docs 2020-12-30 19:21:49 -08:00
Khaled Hosny 8e8c3e5878 [docs] Complete hb-ot-layout docs a bit 2020-12-30 19:21:49 -08:00
Khaled Hosny aa107e657b [docs] Complete hb-font docs a bit 2020-12-30 19:21:49 -08:00
Khaled Hosny 9b602e8e22 [docs] Complete hb-common docs a bit 2020-12-30 19:21:49 -08:00
Khaled Hosny 53ed5597b2 [docs] Add missing API indices 2020-12-30 23:28:26 +02:00
Khaled Hosny b8e6f17eed [docs] Move note about harfbuzz-old to proper place
Commit 443f872132 seems to have moved it
to the API part by mistake.
2020-12-30 11:55:24 -08:00
Khaled Hosny 4136ecf741 [docs] Don’t use FreeType in the simple example
Also make the code actually compile.

Fixes https://github.com/harfbuzz/harfbuzz/issues/2106
2020-12-30 11:50:14 -08:00
Khaled Hosny bfe4bbfc05 [docs] Older GTK-Doc does not support HB_DEPRECATED_FOR() at all
Fixes CI build failure.
2020-12-27 13:53:04 -08:00
Khaled Hosny 4161146e62 [docs] Fix generated docs for deprecated symbols
Without ignoring HB_DEPRECATED, most deprecated symbols get missing from
documentation. Ignoring HB_DEPRECATED_FOR does not work, but this seems
to be a GTK-Doc bug.
2020-12-27 13:53:04 -08:00
Khaled Hosny ff96f73f8f [docs] Add some missing API to harfbuzz-sections.txt 2020-12-24 21:53:11 +02:00
Khaled Hosny 3dba7ea936 [docs] Add missing API index for 1.4.0 release 2020-12-23 00:58:49 +02:00
Khaled Hosny 0826940821 [docs] Add messing sections
Docs for these sections were not generated at all.
2020-12-23 00:58:49 +02:00
Khaled Hosny b029a45caa [docs] Add new API to harfbuzz-sections.txt 2020-12-22 23:52:10 +02:00
Oleg Oshmyan 07961daed0 [docs] Describe buffer context applicability more explicitly
Make it abundantly clear that the context's script etc. don't matter.

Fixes https://github.com/harfbuzz/harfbuzz/issues/2730
2020-10-24 21:58:02 +03:00
Behdad Esfahbod 3232e6f2a9 [buffer] Add hb_buffer_has_positions()
Fixes https://github.com/harfbuzz/harfbuzz/issues/2716
2020-10-15 00:20:17 -06:00
Behdad Esfahbod 48fcb9094a [docs] Remove misleading wording re OpenType
HarfBuzz has not *just* been implementing OpenType for a while.
At least since 2.0, where we added native AAT support in Oct 2018.
2020-09-27 16:53:32 -06:00
Khaled Hosny fb0195ba83 [docs] Fix syntax and expand Windows section a tiny bit 2020-09-26 09:33:41 +02:00
Khaled Hosny db2381c92d [docs] Fix indentation of commands
DocBook outputs the extra spacing before the commands verbatim.
2020-09-26 09:30:25 +02:00
Khaled Hosny f9f473a4c4 [docs] Improve documentation for default features
Fixes https://github.com/harfbuzz/harfbuzz/issues/2213
2020-09-17 01:55:30 +02:00
Ebrahim Byagowi 6e32145dc9 [meson] Make compatbile with 0.47.0 2020-08-13 18:28:42 +04:30
Ebrahim Byagowi 5193357832 Revert "Remove autotools build support"
This reverts commit 01ac32aab2.
2020-08-11 23:51:59 +04:30