David Corbett
fd748fac41
Update to Unicode 13.0.0
5 years ago
Ebrahim Byagowi
a0b4ac4dce
Turn 8 spaces to tab across the project
...
According to the current code style of the project
5 years ago
Behdad Esfahbod
f53590971c
[test] Make Unicode tests strict against internal UCD
...
https://github.com/harfbuzz/harfbuzz/pull/1799
5 years ago
David Corbett
d42264f151
Test at least one character per Unicode version
5 years ago
Behdad Esfahbod
f39934983f
[ucdn] Fix Hangul composition
...
https://github.com/grigorig/ucdn/issues/23
6 years ago
Behdad Esfahbod
fc50916589
Remove deprecated decompose_compatibility stuff
6 years ago
Behdad Esfahbod
eed737f672
Remove deprecated eastasian_width
6 years ago
Behdad Esfahbod
dcfcb950b8
[test] Fix -Wunused-parameter warnings
6 years ago
Behdad Esfahbod
54e6f6c588
Clean up list of Unicode scripts
...
Rename HB_SCRIPT_CANADIAN_ABORIGINAL to HB_SCRIPT_CANADIAN_SYLLABICS
and a macro for the old name.
11 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
4d6dafd47f
Rename test/ to test/api/
13 years ago
Behdad Esfahbod
055fb24d03
Add test for bug in ICU decompose
...
As reported by Kenichi Ishibashi on 2011-10-28.
13 years ago
Behdad Esfahbod
199abbd0f1
Minor
13 years ago
Behdad Esfahbod
63c0ef4a07
Fix decompose() implementations to work with non-starter non-composables
...
Add tests.
14 years ago
Behdad Esfahbod
ad903e66b1
s/COMBINING_MARK/SPACING_MARK/ here too. Oops!
14 years ago
Behdad Esfahbod
498e1a9be6
[icu] Implement compose()/decompose()
14 years ago
Behdad Esfahbod
ffd4a436f7
Add tests for compose()/decompose()
...
Adjust glib fallback implementation.
The tests are not hooked up for ICU yet.
14 years ago
Behdad Esfahbod
c4641723fb
[API] Add compose() and decompose() unicode funcs, rename other ones
...
Add compose() and decompose() unicode funcs. These implement
pair-wise canonical composition/decomposition.
The glib/icu implementations are lacking for now. We are adding
API for this to glib, but I cannot find any useful API in ICU.
May end of implementing these in-house.
Changed all unicode_funcs callback names to remove the "_get" part.
Eg, hb_unicode_get_script_func_t is now hb_unicode_script_func_t,
and hb_unicode_get_script() is hb_unicode_script() now.
14 years ago
Behdad Esfahbod
31f18abecb
Minor compiler warning fixes
14 years ago
Behdad Esfahbod
0e482ec6ba
[test/unicode] Fix double-free
...
Caught by "make check-valgrind".
14 years ago
Behdad Esfahbod
da603e8038
[test/font] Start adding tests for hb-font.h
14 years ago
Behdad Esfahbod
b8477e1da2
[test] Add tests for _get_empty() funcs
14 years ago
Behdad Esfahbod
7aa12ebdff
[unicode] Simplify method setting
14 years ago
Behdad Esfahbod
f74d6c81f1
Cosmetic
14 years ago
Behdad Esfahbod
cd361ec9a1
Cosmetic
14 years ago
Behdad Esfahbod
c784c67a28
[unicode] Make _get_parent() return _nil object instead of NULL
14 years ago
Behdad Esfahbod
07e22779ab
[test/unicode] Add script roundtrip tests for glib and ICU
14 years ago
Behdad Esfahbod
7cda65935c
[test/unicode] Better test chainup
14 years ago
Behdad Esfahbod
250c59225e
[test/unicode] Port the _custom test to test all property setters
14 years ago
Behdad Esfahbod
e74b5b339a
[test/unicode] Test Unicode 5.2+ but don't fail
14 years ago
Behdad Esfahbod
819e9d9e53
Minor
14 years ago
Behdad Esfahbod
e8e29c725a
[test/unicode] Add log messages
...
Use with --verbose to see what's failing
14 years ago
Behdad Esfahbod
208c2c3150
Minor
14 years ago
Behdad Esfahbod
60833efaf1
[test/unicode] Add testing of all unicode properties
...
ICU fails for now.
14 years ago
Behdad Esfahbod
da96ee072f
[test/unicode] Test is/make_immutable()
14 years ago
Behdad Esfahbod
6af9cff5e1
[test/unicode] Use text fixture instead of static variables
14 years ago
Behdad Esfahbod
aafe395ab5
Add test suite infrastructure
...
Wraps around glib for convenience and ease of use.
14 years ago
Behdad Esfahbod
d4bee9f813
[API] Add hb_unicode_funcs_get_default()
14 years ago
Behdad Esfahbod
2409d5f8d7
Update Copyright headers
14 years ago
Behdad Esfahbod
af02933739
[API] Remove hb_*_get_reference_count()
...
This was a bizzare piece of API that I inherited from cairo. It has
been wrong adding them to cairo in the first place. Remove them before
someone uses them!
14 years ago
Behdad Esfahbod
107a50581c
[test] Add todo items
14 years ago
Behdad Esfahbod
fb194b8794
unicode: Cleanup implementation
14 years ago
Ryan Lortie
2fd0c577e3
[API] unicode: rework virtual functions for subclassing
...
Unicode data providers can now be subclassed, including support for
chain-up. The interface should now be nicely bindable, as well.
Also fix glib unicode funcs that where broken after hb_script_t
changes. Nicely caught by the test-unicode.c added in this commit.
14 years ago