Behdad Esfahbod
a9057eb3f3
[uniscribe] Unbreak
14 years ago
Behdad Esfahbod
c0975e1231
Fix build again
14 years ago
Behdad Esfahbod
33ccc77902
[API] Make set_user_data() functions take a replace parameter
...
We need this to set data on objects safely without worrying that some
other thread unsets it by setting it at the same time.
14 years ago
Behdad Esfahbod
944b2ba1ce
[buffer] Make API take signed int length
...
Since we already switched to accepting -1 as 'zero-terminated'.
14 years ago
Behdad Esfahbod
de1e1cf9bc
[FT] Adapt to new face API
14 years ago
Behdad Esfahbod
458c89a856
Minor
14 years ago
Behdad Esfahbod
bf3eef540f
[uniscribe] Cleanup backend
14 years ago
Behdad Esfahbod
f1f848e2e4
Fix build
14 years ago
Behdad Esfahbod
3897335c76
[API] Sort out get_blob API
...
hb_face_get_blob() renamed to hb_face_reference_blob(), returns a
reference now.
hb_face_[sg]et_index() added.
hb_face_set_upem() added.
14 years ago
Behdad Esfahbod
e715784be3
Rename get_table to reference_table in all API
14 years ago
Behdad Esfahbod
670c873499
Fix shaper ordering logic
14 years ago
Behdad Esfahbod
cc797e0d53
Minor
14 years ago
Behdad Esfahbod
826e22732d
[uniscribe] Fix blob lifecycles
14 years ago
Behdad Esfahbod
ff199ba356
Fix shaper_list manipulation, aaaaaaaaaaaaargh
14 years ago
Behdad Esfahbod
206e329345
[test] test-object is not FreeType-specific, move it to the right place
14 years ago
Behdad Esfahbod
577326b86a
[uniscribe] Fix cluster calculation
14 years ago
Behdad Esfahbod
f6d83b2dcf
Minor
14 years ago
Behdad Esfahbod
2eb474afb4
[uniscribe] Fix shaper
...
It's kinda working finally!
14 years ago
Behdad Esfahbod
f22e661147
[glib] Protect against invalid characters
14 years ago
Behdad Esfahbod
144cd49a0e
[buffer] Accept -1 for text_length and item_length
...
A -1 text_length means: zero-terminated string.
A -1 item_length means: to the end of string.
14 years ago
Behdad Esfahbod
e9c71fab30
Fix name-table lookup
...
Oops!
14 years ago
Behdad Esfahbod
3fd2b5bece
[uniscribe] Use font size directly
14 years ago
Behdad Esfahbod
892eb2e462
[uniscribe] Make font selection work
...
Not tested yet.
14 years ago
Behdad Esfahbod
b492299eb3
Start implementing the 'name' table
14 years ago
Behdad Esfahbod
4538efacca
Skip tests by returning 77
...
automake test runner understands this.
14 years ago
Behdad Esfahbod
54eb65538d
Fix check on OS X sh
14 years ago
Behdad Esfahbod
9da554504e
Add hb_shape_list_shapers()
14 years ago
Behdad Esfahbod
d7bf473ef2
Minor
14 years ago
Behdad Esfahbod
c62a8f10f3
Free all static memory upon exit
14 years ago
Behdad Esfahbod
c4d63ef744
Fix env parsing code
...
Also changed the separator to comma instead of colon.
14 years ago
Behdad Esfahbod
3931837beb
Change hb_shape() API back to what it was, add hb_shape_full()
...
I disliked changing hb_shape() API, and disliked the fact that it was
returning a bool now. So, reverted. Added new API for the extra
functionality.
14 years ago
Behdad Esfahbod
3ca6c4ecc2
Change hb_shape() API back to what it was, add hb_shape_full()
...
I disliked changing hb_shape() API, and disliked the fact that it was
returning a bool now. So, reverted. Added new API for the extra
functionality.
14 years ago
Behdad Esfahbod
02aeca985b
[API] Changes to main shape API
...
hb_shape() now accepts a shaper_options and a shaper_list argument.
Both can be set to NULL to emulate previous API. And in most situations
they are expected to be set to NULL.
hb_shape() also returns a boolean for now. If shaper_list is NULL, the
return value can be ignored.
shaper_options is ignored for now, but otherwise it should be a
NULL-terminated list of strings.
shaper_list is a NULL-terminated list of strings. Currently recognized
strings are "ot" for native OpenType Layout implementation, "uniscribe"
for the Uniscribe backend, and "fallback" for the non-complex backend
(that will be implemented shortly). The fallback backend never fails.
The env var HB_SHAPER_LIST is also parsed and honored. It's a
colon-separated list of shaper names. The fallback shaper is invoked if
none of the env-listed shapers succeed.
New API hb_buffer_guess_properties() added.
14 years ago
Behdad Esfahbod
57692adf12
Make test.cc do something more useful
...
Hardcoded to the uniscribe backend for now. Will fix soon.
14 years ago
Behdad Esfahbod
c605bbbb6d
Remove C++ guards from source files
...
Where causing issues for people with MSVC.
14 years ago
Behdad Esfahbod
8336186a52
Zero map objects
14 years ago
Behdad Esfahbod
ecd3b6e4ad
More build fixes
14 years ago
Behdad Esfahbod
c747f509bc
More out-of-tree build fixes
14 years ago
Behdad Esfahbod
0530ca9a18
Fix out-of-tree build
14 years ago
Behdad Esfahbod
ddbf4edc5d
Minor
14 years ago
Behdad Esfahbod
20dde61016
Minor
14 years ago
Behdad Esfahbod
44b4f50d05
Fix typo
14 years ago
Behdad Esfahbod
0fbb2dc831
Add draft experimental Uniscribe backend
...
Not complete yet, font selection doesn't work. But hey it shapes!
This is not supposed to be a production backend, more like a testing
backend.
14 years ago
Behdad Esfahbod
0d7d4824b2
Minor
14 years ago
Behdad Esfahbod
e62df43649
Add internal hb_buffer_t::get_scratch_buffer()
14 years ago
Behdad Esfahbod
71e7936fca
Minor
14 years ago
Behdad Esfahbod
bf8c57ba74
[API] Add hb_face_get_blob()
...
Need to think more about it.
14 years ago
Behdad Esfahbod
2118fdb9f5
Fix fallback shaping
...
Broke it a few commits ago.
14 years ago
Behdad Esfahbod
199abbd0f1
Minor
14 years ago
Behdad Esfahbod
4f052b93c0
Fix build with glib but not freetype
14 years ago