Behdad Esfahbod
4e9ff1dd6e
Pre-allocate buffers when adding string
...
We do a conservative estimate of the number of characters, but still,
this limits the number of buffer reallocs to a small constant.
13 years ago
Behdad Esfahbod
553bc3de82
Minor
13 years ago
Behdad Esfahbod
254142bb67
[ft] FT_Select_Charmap() when we create face
13 years ago
Behdad Esfahbod
a4cbd03dd1
Apply 'locl' with 'ccmp' in Arabic shaper
...
According to Peter Constable this is indeed what Uniscribe has been
doing for years.
Mozilla Bug 667166 - wrong shape of letter when it comes at the end of
word in the arabic version of Firefox 5.0
13 years ago
Behdad Esfahbod
c214cff55c
Start adding gobject-introspection support
13 years ago
Behdad Esfahbod
9527fb200f
Fix missing return
13 years ago
Behdad Esfahbod
77a3287695
Minor
13 years ago
Behdad Esfahbod
3bb300ee78
Refactor hb-view code
13 years ago
Behdad Esfahbod
d6660356dd
Add uniscribe font getters
13 years ago
Behdad Esfahbod
01ec13a1d9
Implement hb_ft_font_get_face
13 years ago
Behdad Esfahbod
36a4fe037d
Fix charset conversion
13 years ago
Behdad Esfahbod
25c4830593
[util] Add hb-shape --shapers
...
If the specified shapers fail, hb-shape will fail immediately
13 years ago
Behdad Esfahbod
0501573ded
Fix const correctness in the API
13 years ago
Behdad Esfahbod
a21add6c0d
Reformat
13 years ago
Behdad Esfahbod
8df90c8118
[util] Port hb-view to GOption
13 years ago
Behdad Esfahbod
511a136f0c
Move hb-view into util/
13 years ago
Behdad Esfahbod
d753ac78da
[uniscribe] Remove zerowidth glyphs from output
13 years ago
Behdad Esfahbod
217cc81cd9
[test/shape-complex] Print cluster and position info in --verbose
13 years ago
Behdad Esfahbod
708403e7f3
Fix warnings with old glib
13 years ago
Behdad Esfahbod
ddd247b0c5
Minor
13 years ago
Behdad Esfahbod
1b8196c986
Add fallback shaper
13 years ago
Behdad Esfahbod
13a601fe99
[FT] Don't make font immutable
13 years ago
Behdad Esfahbod
38b2118724
[API] Add hb_ft_font_set_funcs(), remove hb_ft_get_font_funcs()
...
Remove hb_ft_get_font_funcs() as it cannot be used by the user anyway.
Add hb_ft_font_set_funcs(). Which will make the font internally use
FreeType. That is, no need for the font to have created using the
hb-ft API. Just create using hb_face_create()/hb_font_create() and
then call this on the font (after having set font scale). This
internally creates an FT_Face and attached to the font.
13 years ago
Behdad Esfahbod
255f176fdc
Minor
13 years ago
Behdad Esfahbod
a9057eb3f3
[uniscribe] Unbreak
13 years ago
Behdad Esfahbod
c0975e1231
Fix build again
13 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.
13 years ago
Behdad Esfahbod
944b2ba1ce
[buffer] Make API take signed int length
...
Since we already switched to accepting -1 as 'zero-terminated'.
13 years ago
Behdad Esfahbod
de1e1cf9bc
[FT] Adapt to new face API
13 years ago
Behdad Esfahbod
458c89a856
Minor
13 years ago
Behdad Esfahbod
bf3eef540f
[uniscribe] Cleanup backend
13 years ago
Behdad Esfahbod
f1f848e2e4
Fix build
13 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.
13 years ago
Behdad Esfahbod
e715784be3
Rename get_table to reference_table in all API
13 years ago
Behdad Esfahbod
670c873499
Fix shaper ordering logic
13 years ago
Behdad Esfahbod
cc797e0d53
Minor
13 years ago
Behdad Esfahbod
826e22732d
[uniscribe] Fix blob lifecycles
13 years ago
Behdad Esfahbod
ff199ba356
Fix shaper_list manipulation, aaaaaaaaaaaaargh
13 years ago
Behdad Esfahbod
206e329345
[test] test-object is not FreeType-specific, move it to the right place
13 years ago
Behdad Esfahbod
577326b86a
[uniscribe] Fix cluster calculation
13 years ago
Behdad Esfahbod
f6d83b2dcf
Minor
13 years ago
Behdad Esfahbod
2eb474afb4
[uniscribe] Fix shaper
...
It's kinda working finally!
13 years ago
Behdad Esfahbod
f22e661147
[glib] Protect against invalid characters
13 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.
13 years ago
Behdad Esfahbod
e9c71fab30
Fix name-table lookup
...
Oops!
13 years ago
Behdad Esfahbod
3fd2b5bece
[uniscribe] Use font size directly
13 years ago
Behdad Esfahbod
892eb2e462
[uniscribe] Make font selection work
...
Not tested yet.
13 years ago
Behdad Esfahbod
b492299eb3
Start implementing the 'name' table
13 years ago
Behdad Esfahbod
4538efacca
Skip tests by returning 77
...
automake test runner understands this.
13 years ago
Behdad Esfahbod
54eb65538d
Fix check on OS X sh
13 years ago