Behdad Esfahbod
4ab7e579cb
Make HB_BORING_EXPANSION opt-in instead of opt-out
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/3757
2 years ago
Behdad Esfahbod
197ed8f592
[test/api] Fix leaks
3 years ago
Behdad Esfahbod
ed6d287d11
[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
3 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.
3 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
8c652f72fc
Minor, switch to https links where possible
5 years ago
Rod Sheeter
e662532833
[subset] Cppcheck complaints
6 years ago
Rod Sheeter
51a0129f73
[subset] Thar be comparison of integers of different signs
6 years ago
Rod Sheeter
349d692b0e
[subset] Iter in and out for loca
6 years ago
rsheeter
3a4c928fcf
[subset] Fix glyf tests except hint stripping & local test asan
6 years ago
Chun-wei Fan
1e09add232
test/api: Fix building on pre-C99 compilers
...
Ensure variables are declared at the top of the block.
6 years ago
Ebrahim Byagowi
d440c8d3fb
Add chromacheck Emoji test fonts and minor preparations ( #1294 )
6 years ago
Ebrahim Byagowi
c110878cb6
[test] Unify font file opening across the tests
6 years ago
Behdad Esfahbod
dcfcb950b8
[test] Fix -Wunused-parameter warnings
6 years ago
Ebrahim Byagowi
ce17340b23
Add hb_blob_create_from_file, a new API ( #926 )
7 years ago
Ebrahim Byagowi
5b9c234043
[CPAL] Refactor and address the reviews
7 years ago
Behdad Esfahbod
7b5ce74047
Fix warnings
7 years ago
Rod Sheeter
c7a633f957
[subset] try to get more info from bot where g_assert_cmpmem fails
7 years ago
Behdad Esfahbod
9682ef135f
Minor fixups
7 years ago
Khaled Hosny
c860955148
Add API tests to cmake build
7 years ago
Sascha Brawer
d34d3ac985
Support CPAL table
9 years ago
Behdad Esfahbod
0a2b2a505b
Remove gthread leftovers
...
We don't use gthread anymore, remove leftovers.
12 years ago
Behdad Esfahbod
378d279bbf
Implement Unicode compatibility decompositions
...
Based on patch from Philip Withnall.
https://bugs.freedesktop.org/show_bug.cgi?id=41095
12 years ago
Behdad Esfahbod
5e113a4b79
g_thread_init() is deprecated
13 years ago
Behdad Esfahbod
4d6dafd47f
Rename test/ to test/api/
13 years ago
Behdad Esfahbod
708403e7f3
Fix warnings with old glib
13 years ago
Behdad Esfahbod
23db8d5c92
[test] Work around glib <= 2.30 API
14 years ago
Behdad Esfahbod
a346e923a9
[test] Add Indic tests from harfbuzz.old
...
Needs fonts to be put in test/fonts. Tests are skipped otherwise.
Run with --verbose for details. Working on improving the test runner
to make it easier to make sense of what's going on.
14 years ago
Behdad Esfahbod
0c2ec1d78b
[test] Always initialize gthread such that our mutex() stuff is tested
...
Now the test/object test deadlocks as expected. Fix coming.
14 years ago
Behdad Esfahbod
e6a5b88c01
Fix build with older glib
14 years ago
Behdad Esfahbod
60833efaf1
[test/unicode] Add testing of all unicode properties
...
ICU fails for now.
14 years ago
Behdad Esfahbod
dfec67f958
[test/buffer] Add initial utf-8 tests
14 years ago
Behdad Esfahbod
aafe395ab5
Add test suite infrastructure
...
Wraps around glib for convenience and ease of use.
14 years ago
Behdad Esfahbod
2409d5f8d7
Update Copyright headers
14 years ago
Behdad Esfahbod
db60c96f20
[teset] Test hb_script_t
14 years ago
Behdad Esfahbod
9faa980067
Add an in-tree test suite
...
Uses the glib testing framework. Wrote unit tests for hb-common.h
types.
14 years ago