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.
3 years ago
Behdad Esfahbod
7cb22ba7eb
Include C headers with their C++ names ( #2882 )
...
Remove unnecessary includes.
Fixes build with some known broken SDKs (Nintendo Switch?)
https://en.cppreference.com/w/cpp/header
Fixes https://github.com/harfbuzz/harfbuzz/pull/2881
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
bb4cdf8e0b
Replace create_from_file with empty blob if HB_NO_OPEN is defined
5 years ago
Behdad Esfahbod
ccea7fa119
[config] Make test build under HB_TINY
5 years ago
Behdad Esfahbod
11ab889a8d
Rename a few test programs
6 years ago
Behdad Esfahbod
6ce49a921a
[name] Change hb_name_id_t back to unsigned int
...
d941f66c75 (commitcomment-31076011)
6 years ago
Behdad Esfahbod
d941f66c75
[name] Make hb_name_id_t be the enum
...
This is like hb_script_t.
We had this exposed as unsigned int since 2.0.0 release in two APIs,
as well as hb_ot_layout_get_size_params() from earlier.
But since no one uses those (right?!), let's just fix this now.
6 years ago
Behdad Esfahbod
c77ae40852
Rename hb-*private.hh to hb-*.hh
...
Sorry for the noise, downstream custom builders. Please adjust.
6 years ago
Ebrahim Byagowi
ce17340b23
Add hb_blob_create_from_file, a new API ( #926 )
7 years ago
Behdad Esfahbod
17f40b7cad
Include hb-private.hh more consistently
...
Part of fixing https://github.com/behdad/harfbuzz/issues/585
7 years ago
Behdad Esfahbod
dbdbfe3d7b
Use nullptr instead of NULL
7 years ago
Behdad Esfahbod
c2bc818706
Work with old and new glib
...
Avoids "deprecated" warnings.
11 years ago
Behdad Esfahbod
9326d48e43
Don't use g_mapped_file_unref()
...
Was introduced in glib 2.22.
11 years ago
Behdad Esfahbod
9cf7f9d4f6
Make test-size-params write size in points
12 years ago
Behdad Esfahbod
875a5cbc9c
[OTLayout] Change hb_ot_layout_get_params() API
...
And add implementation for StylisticSet UINameID. No API yet.
12 years ago
Behdad Esfahbod
0f3f529904
Add test-size-params
...
Eventually this will become part of a yet-to-be-written hb-ot cmdline
tool.
12 years ago
Behdad Esfahbod
362a990b22
Rename hb_ot_layout_would_substitute_lookup() and hb_ot_layout_substitute_closure_lookup()
...
To match upcoming API.
12 years ago
Behdad Esfahbod
d9b204d3d2
[GSUB] Allow non-zero-context matching in would_apply()
...
To be used in the next patch.
12 years ago
Behdad Esfahbod
6f3a300138
Add hb_font_glyph_from/to_string
12 years ago
Behdad Esfahbod
abd0c05f1f
Minor
12 years ago
Behdad Esfahbod
bb0e4ba3e9
Minor
12 years ago
Behdad Esfahbod
be73a5f936
Add src/test-would-substitute tool
13 years ago