Behdad Esfahbod
63c0ef4a07
Fix decompose() implementations to work with non-starter non-composables
...
Add tests.
2011-07-21 20:58:42 -04:00
Behdad Esfahbod
ad903e66b1
s/COMBINING_MARK/SPACING_MARK/ here too. Oops!
2011-07-21 10:17:22 -04:00
Behdad Esfahbod
498e1a9be6
[icu] Implement compose()/decompose()
2011-07-20 23:19:49 -04:00
Behdad Esfahbod
ffd4a436f7
Add tests for compose()/decompose()
...
Adjust glib fallback implementation.
The tests are not hooked up for ICU yet.
2011-07-20 22:31:23 -04:00
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.
2011-07-08 00:09:31 -04:00
Behdad Esfahbod
31f18abecb
Minor compiler warning fixes
2011-06-15 09:49:58 -04:00
Behdad Esfahbod
0e482ec6ba
[test/unicode] Fix double-free
...
Caught by "make check-valgrind".
2011-05-27 03:40:04 -04:00
Behdad Esfahbod
da603e8038
[test/font] Start adding tests for hb-font.h
2011-05-11 22:58:54 -04:00
Behdad Esfahbod
b8477e1da2
[test] Add tests for _get_empty() funcs
2011-05-11 21:12:44 -04:00
Behdad Esfahbod
7aa12ebdff
[unicode] Simplify method setting
2011-05-11 11:55:11 -04:00
Behdad Esfahbod
f74d6c81f1
Cosmetic
2011-05-02 19:52:32 -04:00
Behdad Esfahbod
cd361ec9a1
Cosmetic
2011-05-02 16:54:05 -04:00
Behdad Esfahbod
c784c67a28
[unicode] Make _get_parent() return _nil object instead of NULL
2011-05-02 15:59:57 -04:00
Behdad Esfahbod
07e22779ab
[test/unicode] Add script roundtrip tests for glib and ICU
2011-05-02 14:58:36 -04:00
Behdad Esfahbod
7cda65935c
[test/unicode] Better test chainup
2011-05-02 14:33:53 -04:00
Behdad Esfahbod
250c59225e
[test/unicode] Port the _custom test to test all property setters
2011-05-02 14:21:30 -04:00
Behdad Esfahbod
e74b5b339a
[test/unicode] Test Unicode 5.2+ but don't fail
2011-05-02 14:03:55 -04:00
Behdad Esfahbod
819e9d9e53
Minor
2011-05-02 12:38:54 -04:00
Behdad Esfahbod
e8e29c725a
[test/unicode] Add log messages
...
Use with --verbose to see what's failing
2011-05-02 12:06:18 -04:00
Behdad Esfahbod
208c2c3150
Minor
2011-05-01 20:04:01 -04:00
Behdad Esfahbod
60833efaf1
[test/unicode] Add testing of all unicode properties
...
ICU fails for now.
2011-04-29 16:50:34 -04:00
Behdad Esfahbod
da96ee072f
[test/unicode] Test is/make_immutable()
2011-04-29 12:17:09 -04:00
Behdad Esfahbod
6af9cff5e1
[test/unicode] Use text fixture instead of static variables
2011-04-29 12:12:37 -04:00
Behdad Esfahbod
aafe395ab5
Add test suite infrastructure
...
Wraps around glib for convenience and ease of use.
2011-04-28 17:11:21 -04:00
Behdad Esfahbod
d4bee9f813
[API] Add hb_unicode_funcs_get_default()
2011-04-27 09:38:19 -04:00
Behdad Esfahbod
2409d5f8d7
Update Copyright headers
2011-04-21 17:14:28 -04:00
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!
2011-04-20 15:49:31 -04:00
Behdad Esfahbod
107a50581c
[test] Add todo items
2011-04-20 03:04:56 -04:00
Behdad Esfahbod
fb194b8794
unicode: Cleanup implementation
2011-04-20 02:27:39 -04:00
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.
2011-04-20 00:19:20 -04:00