|
f69ecc94
|
2025-04-05T22:37:34
|
|
[test/api] Set protocol:tap
|
|
6c98519c
|
2025-04-05T21:26:00
|
|
[test/api] Simplify deps
|
|
d74606bb
|
2025-04-06T02:40:39
|
|
[test/ot-math] Port to use hb_test_open_font_file()
Avoids the unnecessary dependency on FreeType.
|
|
8687f5c3
|
2025-03-10T23:11:27
|
|
[face] Add tests for new constructors
|
|
756668d3
|
2025-03-11T11:27:02
|
|
[directwrite] Drop dependency again as per review
https://github.com/harfbuzz/harfbuzz/pull/5132#issuecomment-2714186460
|
|
6b2f8592
|
2025-03-11T00:27:32
|
|
[test-c] Disable gobject include
It can't find its dependent headers since not installed.
|
|
41dcc493
|
2025-03-10T23:40:39
|
|
[test-cplusplus] Simplify
|
|
dbad6cdf
|
2025-03-10T23:20:54
|
|
[test-c(plusplus)] Add more headers
|
|
3c02fcd0
|
2025-03-10T23:16:30
|
|
[test-multithread] Simplify
|
|
a8fd2971
|
2025-02-13T17:16:20
|
|
[directwrite] Add hb_directwrite_font_create()/font_get_font()
Uses hb_directwrite_face_create() under the hood, but copies variations
from directwrite to hb-font.
|
|
a7d7715f
|
2025-02-02T23:06:11
|
|
[shape-plan] Add hb_ot_shape_plan_get_features
This should get the features on a shape plan after executing it.
Initially I wanted to return an array of tags, but then there can be
user features that are not enabled globally, so I thought returning
hb_feature_t with value and range would be better. There is a TODO since
I couldn’t figure out how to get the value and range from the feature
mask. But also it may be overkill and a simple boolean indicating wither
it is a global feature or not would be enough.
I wounder also what should happen to non-user features that are applied
selectively, like init or medi, does ot make sense to indicate whether
they are global or not?
This is inspired by the discussion in:
https://github.com/fontforge/fontforge/pull/5522#pullrequestreview-2574321449,
but it might be useful to other HarfBuzz users.
|
|
c55738fa
|
2025-02-09T08:08:52
|
|
[test] Set MALLOC_CHECK_ to 1 instead of 2; kill G_SLICE=always-malloc
MALLOC_CHECK_=2 makes running tests twice slower on macOS. Value 1
is as fast as not checking at all. It's not like this ever caught
a bug for us or anything. We have so many sanitizers and fuzzers
funning on CI, which catch all kinds of memory problems.
G_SLICE is long gone in glib.
The slowest part of running the test suite now is the google-benchmark
tests, that get run by us... I'll see if I can disable. I had reported
it before at https://github.com/harfbuzz/harfbuzz/issues/4153
|
|
8896b1d5
|
2024-08-06T12:34:15
|
|
[test] Add test for get_table_tags
So far just tests the default implementation.
|
|
d07d70ae
|
2024-03-22T11:43:37
|
|
[varc] Add test
|
|
132391ad
|
2023-05-19T15:01:49
|
|
[layout] Add test for font_extents
|
|
eb0a025e
|
2023-01-24T20:40:32
|
|
Add a test for glyph names
This verifies that hb_font_get_glyph_name
returns false for nonexisting glyphs.
|
|
dd64266e
|
2023-01-24T19:26:20
|
|
Add a test for glyph extents
This verifies a recent fix for COLRv1 returning
0,0,-1,1 for extents of non-painting glyphs.
|
|
0f01a836
|
2023-01-10T01:09:44
|
|
[subset] add basic test for CFF2 subsetting.
FontTools does not yet support CFF2 subsetting so we can't add a comparison test. Instead add a golden file test.
|
|
313f74a6
|
2022-06-29T07:32:58
|
|
Add a basic test for hb-coretext api
This tests what would be my minimum assumption
about this api. It was written blindly.
|
|
661baf40
|
2022-06-29T07:31:46
|
|
Add a basic test for hb-ft api
This tests what would be my minimum assumption
about this api.
|
|
ca190aab
|
2022-12-23T14:03:03
|
|
Split off the hb-paint tests
They belong in their own file.
|
|
a35757c6
|
2022-02-02T10:30:34
|
|
[repacker] expose hb_subset_repack() API, hb_object_t and hb_link_t structs
|
|
379e526a
|
2022-02-14T15:02:31
|
|
[test] Add test for current hmtx logic
|
|
ed6d287d
|
2022-02-02T14:10:16
|
|
[ot-face] Load num-glyphs from `loca` table before `maxp`
Implements [boring-expansion] [maxp] Relax
https://github.com/be-fonts/boring-expansion-spec/issues/6
|
|
8dc86d07
|
2021-11-01T19:57:11
|
|
Add a test font scale rounding behavior
This test verifies the fix for
https://github.com/harfbuzz/harfbuzz/issues/3274
|
|
f60caad7
|
2021-08-11T22:54:30
|
|
[test] hb_ot_layout_table_get_script_tags()
|
|
f998d7e1
|
2021-08-02T16:10:13
|
|
[test] Add API test for lookup_collect_glyphs()
We don’t seem to have any tests exercising this API at all, and it is a
good check of GSUB/GPOS code.
|
|
694a0c6b
|
2020-07-06T18:28:31
|
|
[meson] Always add icu deps
|
|
1348a2c8
|
2020-06-16T21:05:16
|
|
[layout] hb_ot_layout_lookup_get_alternates, a new API
An API to retrieve one-to-one alternates from a given GSUB lookup index.
|
|
03bd6ead
|
2020-06-03T23:52:10
|
|
[meson] Only pass required dependencies to everything
Instead of passing dependencies as required we used one giant shared
dependency list containing all dependencies for every library/executable.
While this kinda works, the specified deps are also used for generating
the pkg-config files and this leads to lots of Requires.private and Libs.private
entries which aren't really needed.
This removes the "deps" array and replaces it with a few smaller ones and
makes sure the public libraries only get passed the dependencies actually
needed.
Fixes #2441
|
|
d54de568
|
2020-04-21T16:33:50
|
|
[style] Adopt with meson
|
|
a9d13463
|
2020-05-30T14:17:56
|
|
[meson] Categorize tests using `suite: [...]`
So one can run a category of interested tests like
meson test -Cbuild --suite aots --suite src --print-errorlogs
Intead issuing particular tests which also is possible like
meson test -Cbuild test-shape --print-errorlogs
|
|
759ab4fe
|
2020-05-21T08:24:15
|
|
[meson] Use subdir_done to simplify test/api/meson.build
|
|
ac26f19c
|
2020-04-19T22:25:14
|
|
Refactor test/api/meson.build and always run test-unicode test
|
|
c6b3f73b
|
2020-04-19T00:54:24
|
|
[meson] Make harfbuzz-icu separate module optout-able
|
|
8ae06c94
|
2020-04-18T20:22:45
|
|
meson: build a separate library for harfbuzz-icu
This adds a seperate library like with autotools.
This also fixes the ico feature option which was just set to required:false
when disabled instead of really disabling it.
Disabling is still broken with msvc because it then tries to find the library
another way, but that's broken for all other deps as well so I left it as is.
For tests only test-unicode.c is using icu specific functions so split it out
into its own category which depends on harfbuzz-icu.
Fixes #2338
|
|
7054b122
|
2020-03-24T22:35:41
|
|
[meson] Mark rest of non-install executables explicitly
|
|
68df3f7d
|
2020-03-24T20:58:38
|
|
[meson] test/api, separate subset tests
|
|
9bc792f4
|
2020-03-24T19:37:56
|
|
[meson] Don't set MALLOC_PERTURB_ as it is already set by meson
|
|
f22e92bb
|
2020-03-24T19:32:55
|
|
[meson] Update test/api from autotools
|
|
a3892be7
|
2020-03-14T01:08:15
|
|
[meson] fix spurious warning when building test/api C sources
Fixes compiler warning
test-unicode.c:589:1: warning: ‘test_unicode_properties_lenient’ defined but not used
which didn't happen with autotools.
Reason it does with meson is that the setup for C was slightly wrong.
We would only add -DHAVE_CONFIG_H to cpp_args which is only valid when
compiling C++ code, but not plain C code, and many of these tests were
plain C.
Instead pass -DHAVE_CONFIG_H via add_project_arguments() and make sure
to set both c_args and cpp_args when building test executables.
Fixes https://github.com/harfbuzz/harfbuzz/issues/2257
|
|
920efc0e
|
2018-05-17T01:28:53
|
|
Add Meson build definitions
Fixes #490
http://mesonbuild.com
|
|
04438554
|
2018-11-15T00:25:41
|
|
meson: Update build files after rebase
|
|
618584e9
|
2018-11-14T20:19:36
|
|
meson: rename incbase to incconfig
Makes it clearer what it's for: config.h. See #4.
|