Behdad Esfahbod
7d235d272f
Flesh out tt funcs a bit
13 years ago
Behdad Esfahbod
b9415e76d7
[API] Add hb_font_set_funcs_data()
13 years ago
Behdad Esfahbod
e6c09cdf43
Remove the pre_allocate argument from hb_buffer_create()
...
For two reasons:
1. User can always call hb_buffer_pre_allocate() themselves, and
2. Now we do a pre_alloc in add_utfX anyway, so the total number of
reallocs is limited to a small number (~3) anyway. This just makes the
API cleaner.
13 years ago
Behdad Esfahbod
187bdeaa6c
Do (nothing for) hmtx sanitize
13 years ago
Behdad Esfahbod
d6016e4910
Fix name-table sanitize
13 years ago
Behdad Esfahbod
ae9877dea6
Add hhea-table support
13 years ago
Behdad Esfahbod
7a750ac33e
Rename table files from eg maxp-private.hh to maxp-table.hh
13 years ago
Behdad Esfahbod
0b7e4d9f20
[ft] FT_Get_Advance() for advance-width callbacks
...
Using graphite2's comparerenderer suggests that this makes hb-ft 15
times faster. No caching layer needed anymore.
13 years ago
Behdad Esfahbod
97796453aa
Fix falloffs of the GOption conversion
13 years ago
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