Behdad Esfahbod
52df150efe
Fix font subclass chainup
...
Test passing now.
14 years ago
Behdad Esfahbod
f2c1dd4f74
[test/font] Test font_funcs subclassing
14 years ago
Behdad Esfahbod
14f1e81b77
[test/font] Test empty funcs
14 years ago
Behdad Esfahbod
2ca0b5ae1e
[test/font] Test more
14 years ago
Behdad Esfahbod
7033518f75
[API] Pass face to get_table()
14 years ago
Behdad Esfahbod
b467827806
[API] Remove const from font user_data
14 years ago
Behdad Esfahbod
ea93e7b27c
[test/font] More tests
14 years ago
Behdad Esfahbod
cdb153175f
[test/font] More tests
14 years ago
Behdad Esfahbod
74d9fa3d9a
[test/font] More get_empty() tests
14 years ago
Behdad Esfahbod
db9f4eb4e0
[test/font] Test get_face() / get_parent()
14 years ago
Behdad Esfahbod
606923bb43
[test/font] Add test_font_properties()
14 years ago
Behdad Esfahbod
da603e8038
[test/font] Start adding tests for hb-font.h
14 years ago
Behdad Esfahbod
9a14688e40
[API] Rename hb_face_create_for_data() to hb_face_create()
14 years ago
Behdad Esfahbod
46d6a21cc8
[API] Add hb_ot_layout_substitute_start/finish()
14 years ago
Behdad Esfahbod
c84d15f52e
Remove unused hb_set_t
14 years ago
Behdad Esfahbod
389a7c9e67
Remove hb_static_threadsafe_set_t
14 years ago
Behdad Esfahbod
e06d4eda7b
Use constructor/destructor for hb_ot_shape_plan_t
14 years ago
Behdad Esfahbod
a5e4e10946
Minor
14 years ago
Behdad Esfahbod
daa446f184
Fix compile with no mutex available
14 years ago
Behdad Esfahbod
1e56c476c1
Free static mutex'es
14 years ago
Behdad Esfahbod
831886a9b4
Streamline mutex stuff
14 years ago
Behdad Esfahbod
438c4eee35
Remove unused hb_mutex_trylock()
14 years ago
Behdad Esfahbod
b8477e1da2
[test] Add tests for _get_empty() funcs
14 years ago
Behdad Esfahbod
3994be3ded
[TODO] Update
14 years ago
Behdad Esfahbod
80a6833b03
[API] Add hb_*_get_empty() for all objects
14 years ago
Behdad Esfahbod
d3b30be378
[API] Add HB_UNTAG()
...
Useful in C API only.
14 years ago
Behdad Esfahbod
3cc6e9dcb4
Minor
14 years ago
Behdad Esfahbod
4101ca7dbb
Plug more leaks
...
All good now.
14 years ago
Behdad Esfahbod
6a7ac79e26
Plug leaks
14 years ago
Behdad Esfahbod
7aa12ebdff
[unicode] Simplify method setting
14 years ago
Behdad Esfahbod
d5bfd02721
Minor
14 years ago
Behdad Esfahbod
6a4e7e1372
Add maxp table
...
Not used for anything right now. Will use to get num_glyphs in the future.
14 years ago
Behdad Esfahbod
e0b0710ae5
Minor
14 years ago
Behdad Esfahbod
a513dbcf73
[API] Change signature of get_contour_point and get_kerning ffuncs
...
get_contour_point now takes glyph id before point_index.
get_kerning now takes a vector to fill-in.
14 years ago
Behdad Esfahbod
63d646fb29
[font] Do user-space conversion when chaining up to parent font
14 years ago
Behdad Esfahbod
b6f902a1a9
Minor
14 years ago
Behdad Esfahbod
abcfe9b59b
Remove hb_ot_layout_context_t, simplify code
14 years ago
Behdad Esfahbod
1ded6d8bbf
Make default font-funcs chain-up to the parent
14 years ago
Behdad Esfahbod
b9d975b931
[API] Pass down closure user_data to font funcs
14 years ago
Behdad Esfahbod
446df9cdb1
Whitespace
14 years ago
Behdad Esfahbod
686c2d165d
[API] Remove font_funcs func getter functions
14 years ago
Behdad Esfahbod
defc45be6d
[API] Add hb_font_create_sub_font() and hb_font_get_parent()
...
Not quite useful just yet.
14 years ago
Behdad Esfahbod
11bb8fe7b3
[font] Fix internal sign of x/y_scale
...
Should have been done as part of da97541988
14 years ago
Behdad Esfahbod
85e6218e33
[API] Remove broken-by-design hb_font_unset_funcs()
14 years ago
Behdad Esfahbod
74f1d896f2
Add hb_font_make/is_immutable()
14 years ago
Behdad Esfahbod
8c7a100a4d
Fix build without mutex
14 years ago
Behdad Esfahbod
19d3035c40
Remove duplicate atomic_int implementation
14 years ago
Behdad Esfahbod
45bfa99034
Fix set implementation to be truly threadsafe even with destroy() callbacks
...
The test/object test is passing again, instead of deadlocking.
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
6a9093cc48
[test/object] Test user_data with destroy() callback that calls user_data
...
Exposes the non-atomicity of user_data opertaions at this time because
we call finish() while still locked and modifying the object. In fact,
I'm surprised that it doesn't deadlock. It should.
14 years ago