Behdad Esfahbod
d02985ec5a
ISO 15924 fixes
...
Update to http://unicode.org/iso15924
Fixes some of the test failures in test-unicode with ICU. Still
one more to fix before the test passes.
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
13db3d40bf
[test/buffer] Add UTF-16 tests
14 years ago
Behdad Esfahbod
243673d601
[test/buffer] Add more extensive UTF-8 test data from glib
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
c7ffe2ad5f
[API Remove hb_font_funcs_copy()
...
Will be adding font_funcs subclassing instead.
14 years ago
Behdad Esfahbod
30f34d08d4
[TODO] Remove finished items
14 years ago
Behdad Esfahbod
080a0eb7d8
Add _hb_unsigned_int_mul_overflows
14 years ago
Behdad Esfahbod
1d39d6e42b
Desable possibly lethal test on 64-bit machines
14 years ago
Behdad Esfahbod
3264042873
[test/buffer] Test pre_allocate() and allocation_successful()
14 years ago
Behdad Esfahbod
123aa04f7b
Fix possible but improbable overflow in hb_array_t
14 years ago
Behdad Esfahbod
e0db4b868f
[buffer] More error handling
...
Should be all set now.
14 years ago
Behdad Esfahbod
15c57e04bf
[test/buffer] Add test pre_alloc(); hangs in the buffer code right now
...
Because the following loop overflows:
while (size > new_allocated)
new_allocated += (new_allocated >> 1) + 32;
14 years ago
Behdad Esfahbod
1e5527e2d6
[test/buffer] Test reset(), set_length(), and set/get_unicode_data()
14 years ago
Behdad Esfahbod
db126b5448
[test/buffer] Test reverse() and reverse_clusters()
14 years ago
Behdad Esfahbod
5fa849b77d
[API] Add _set/get_user_data() for all objects
14 years ago
Behdad Esfahbod
852e08ec8f
Move code around
14 years ago
Behdad Esfahbod
29c67d3f70
Add initial implementation of user_data to objects
14 years ago
Behdad Esfahbod
47e71d9661
[object] Remove unnecessary use of macros
14 years ago
Behdad Esfahbod
8be1420f8f
[blob] Use HB_FUNC instead of __FUNCTION__
14 years ago
Behdad Esfahbod
ae008b90cf
[object] Add tracing support back in
14 years ago
Behdad Esfahbod
5b7f38979f
GNOME Bug 612402 - (hb-arm) HarfBuzz compilation fix for arm
...
With gcc on arm, request 8-bit structure alignment.
14 years ago
Behdad Esfahbod
39a840ae65
[API] Add hb_direction_from/to_string()
...
And hb-view --direction argument.
14 years ago
Behdad Esfahbod
f1425a549f
Rename hb-view.c and test.c to .cc files
14 years ago
Behdad Esfahbod
eb5796f588
[TODO] Add hb-view items
14 years ago
Behdad Esfahbod
65e0063eae
Make buffer size growth start from 32 instead of 8
14 years ago
Behdad Esfahbod
d4bee9f813
[API] Add hb_unicode_funcs_get_default()
14 years ago
Behdad Esfahbod
153142dac8
Replace simple macros with inline functions for better type safety
...
Now that we use C++ for all source code, lets benefit from it!
The hb_be_int16/32_get/put/eq() macros grow code size if replaced with
inline functions, so leave them as is.
14 years ago
Behdad Esfahbod
40a9b8154f
Add TODO item
14 years ago
Behdad Esfahbod
ebdc83467c
Don't return in void function
...
Would have been nice if gcc had warned...
14 years ago
Behdad Esfahbod
ec6f9c2fd0
Further simplify object handling
14 years ago
Behdad Esfahbod
fca368c468
Add hb_object_header_t which is the common part of all objects
...
Makes way for adding arbitrary user_data support.
14 years ago
Behdad Esfahbod
a9f24c8029
Move hb_reference_count_t to hb-private.h
14 years ago
Behdad Esfahbod
2409d5f8d7
Update Copyright headers
14 years ago
Behdad Esfahbod
08da7a3841
[hb-view] Accept numbers in feature tag name
...
Reported by Adam Twardoch.
14 years ago
Behdad Esfahbod
24229eb132
Remove obsolete comment
...
Talking to Ryan Lortie, he thinks my comment doesn't make sense.
So I'm making the getter const. Note that g_atomic_int_get()
casts that away itself, so we don't need to worry about that
(which kinda makes me uncomfortable actually).
14 years ago
Behdad Esfahbod
dcb7026f33
Add ASSERT_STATIC_EXPR macro
...
Unused right now.
14 years ago
Behdad Esfahbod
3e8bdbf941
Cleanup hb_refrence_count_t
14 years ago
Behdad Esfahbod
783a7d6969
[TODO] Remove finished items
14 years ago
Behdad Esfahbod
da97541988
[API] Allow negative font x_scale/y_scale
...
I was reconsidering whether y should grow down, since all three/four
times I've used this API I was tricked and got that wrong in my use.
So I was very inclined to make y grow down instead of up. However,
considering that the font space has y up and it would be very confusing
for callbacks to work against that, I decided that what I really want
is for the user to be able to set y_scale to a negative number to imply
that user-space y grows down.
Changing x_scale/y_scale from unsigned int to int allows that, and I've
made pango to use that instead of negating glyph y_offset later. hb-ft
however still has y group up. I *guess* that's how FreeType works?
I'm not sure, FreeType docs don't make this clear...
I'm happy with the resolution :-).
14 years ago
Behdad Esfahbod
4d559cddbb
[icu] Remove big script switch(), rely on reverse-lookup
14 years ago
Behdad Esfahbod
d18431b4cd
Move hb_reference_count_t from macros to inline methods
14 years ago
Behdad Esfahbod
c57d454acc
Rename all private sources and headers to C++ files
...
So we can liberally use the simple features of C++ that parts of the
codebase is already using.
14 years ago
Behdad Esfahbod
f19f4f9b09
Rename hb-blob.c to hb-blob.cc in preparation of more changes
14 years ago
Behdad Esfahbod
04744e73ba
[TODO] Remove done items
14 years ago