Behdad Esfahbod
41ae674f68
Don't create hb_apply_context_t per glyph!
...
I couldn't measure significant performance gains out of this; maybe
about 5% (with one million Malayalam strings). Still, not bad.
But reminds me that optimizing this codebase without profiling first
is simply not going to work. Oh well...
13 years ago
Behdad Esfahbod
4a1e02ef79
Fix shape to presentation forms font check
...
As reported by Jonathan Kew on the list.
13 years ago
Behdad Esfahbod
6062f5f014
Fix build with some compilers
...
As reported by Jonathan Kew on the list.
13 years ago
Behdad Esfahbod
acd88e659f
In Arabic fallback shaping, check that the font has glyph for new char
13 years ago
Behdad Esfahbod
7752aa73e7
Minor
13 years ago
Behdad Esfahbod
939c010211
Implement Arabic fallback shaping mandatory ligatures
13 years ago
Behdad Esfahbod
b7d04eb606
Do Arabic fallback shaping
13 years ago
Behdad Esfahbod
ae4a2b9365
Generate fallback Arabic shaping table
...
Not hooked up yet.
13 years ago
Behdad Esfahbod
3b26f96ebe
Add Thai shaper that does SARA AM decomposition / reordering
...
That's not in the OpenType spec, but it's what MS and Adobe do.
13 years ago
Behdad Esfahbod
0b6d2ac6a1
Minor
13 years ago
Behdad Esfahbod
e099dd6592
Add Thai test case for SARA AM decomposition
13 years ago
Behdad Esfahbod
4450dc9354
Move around
13 years ago
Behdad Esfahbod
d4cc44716c
Move code around, in prep for Thai/Lao shaper
13 years ago
Behdad Esfahbod
c9a841f445
Add simple Hangul shaper that recomposes Jamo when feasible
...
Previously, we were NOT actually recomposing Hangul Jamo. We do now.
The two lines in:
test/shaping/texts/in-tree/shaper-default/script-hangul/misc/misc.txt
Now render the same with the UnDotum.ttf font. Previously the second
linle was rendering boxes.
We can also start applying OpenType Jamo features later. At this time,
I have no idea how the 'ljmo', 'vjmo', 'tjmo' features are supposed to
work. Maybe someone can explain them to me?
13 years ago
Behdad Esfahbod
9683184553
Implement normalization mode HB_OT_SHAPE_NORMALIZATION_MODE_COMPOSED_FULL
...
In this mode we try composing CCC=0 with CCC=0 characters. Useful for
Hangul.
13 years ago
Behdad Esfahbod
bec2ac4fde
Bring normalization algorithm closer to the spec
...
No logical difference so far.
13 years ago
Behdad Esfahbod
e02d925786
Flip logic around
13 years ago
Behdad Esfahbod
aaa25d5f45
Add Hangul test case
...
Composed, and decomposed, of the same text.
13 years ago
Behdad Esfahbod
11138ccff7
Add normalize mode
...
In preparation for Hangul shaper.
13 years ago
Behdad Esfahbod
6769f21d57
More moving code around
13 years ago
Behdad Esfahbod
2db2a56682
Move code around
13 years ago
Behdad Esfahbod
cad3821f3d
More sorting by Unicode version
...
This is the most convenient way to browse scripts.
13 years ago
Behdad Esfahbod
317b9504d7
Minor
13 years ago
Behdad Esfahbod
fa2673c1ee
More Unicode script age annotation, and a couple more RTL scripts
...
Cross-checked with Mark Davis's spreadsheet at http://goo.gl/x9ilM
13 years ago
Behdad Esfahbod
6d4016f1ba
Make src tests pass again
13 years ago
Behdad Esfahbod
7da435f08c
Separate Unicode 3.1 and Unicode 3.2 additions
13 years ago
Behdad Esfahbod
f91136cb52
Route three Unicode 6.1 scripts through Indic shaper
13 years ago
Behdad Esfahbod
f32c0012ad
Add Unicode 6.1.0 scripts
13 years ago
Behdad Esfahbod
50e810cd0e
Lydian and Kharoshthi are right-to-left
13 years ago
Behdad Esfahbod
a52835635e
Whitespace
13 years ago
Behdad Esfahbod
183224684a
Use generic shaper for Buhid
...
As requested by Jonathan Kew.
We need to devise a better mechanism to choose which scripts to
pass through the Indic shaper. Moreover, currently we are storing
data for some scripts in the Indic shaper that are not even going
through that shaper. Need to find a better way...
13 years ago
Behdad Esfahbod
cdc8b491a8
Update Indic table to Unicode 6.1 data
13 years ago
Behdad Esfahbod
e3b2e077f5
Typo
13 years ago
Behdad Esfahbod
c346671b6b
Minor doc fixes
13 years ago
Behdad Esfahbod
406044986a
Add Hebrew diacritics test cases
...
From:
https://bugzilla.mozilla.org/show_bug.cgi?id=662055
13 years ago
Behdad Esfahbod
461b9b6347
Fix cluster formation in Indic
...
Makes number of failures against Uniscribe with hi_IN dictionary from
OO.o to go down from 6334 to 4290. Not bad for a one-line change!
Mozilla Bug 729626 - ASAN: heap-buffer-overflow HTML
13 years ago
Behdad Esfahbod
bc71ad4973
Fix atomic-int op on Apple
...
The OSAtomicAdd32Barrier operator returns the new value, we want the
old value.
13 years ago
Behdad Esfahbod
a1970d9afc
Add support for atomic int and mutex on Apple systems
...
So, apparently there's no atomic int 'get' method on Apple. You have to
add(0) to get. And that's not const-friendly. So switch inert-object
checking to a non-atomic get. This, however, is safe, and a negligible
performance boost too.
13 years ago
Behdad Esfahbod
8004429102
Remove unused hb_atomic_int_set()
...
Apparently it can't be implemented on OS X. We weren't using it anyway.
13 years ago
Behdad Esfahbod
45227c10e4
Add hb-warning.cc. Oops!
13 years ago
Behdad Esfahbod
bd7ff1dec5
Allow disabling multi-threaded support
...
By defining HB_NO_MT.
Also, only warn once per missing MT feature support.
Mozilla Bug 666661 - gfx/harfbuzz/src/hb-prive.h - compiler warnings on mac
13 years ago
Behdad Esfahbod
634c9e3423
Minor
13 years ago
Behdad Esfahbod
514b6f8866
Followup: Reorder Hebrew combining classes for better rendering
...
Patch from Jonathan Kew.
Bug 662055 - advanced Hebrew diacritics are shown correctly only in
particular order.
13 years ago
Behdad Esfahbod
6e78607ea7
Reorder Hebrew combining classes for better rendering
...
Patch from Jonathan Kew.
Bug 662055 - advanced Hebrew diacritics are shown correctly only in particular order
13 years ago
Behdad Esfahbod
7a70ca78e0
Add test case from https://bugzilla.mozilla.org/show_bug.cgi?id=714067
13 years ago
Behdad Esfahbod
f51e167436
Minor error handling
13 years ago
Behdad Esfahbod
bee74efbde
Update git.mk to new upstream
13 years ago
Behdad Esfahbod
134aa7bc7e
Make checks more OS X friendly
13 years ago
Behdad Esfahbod
6152199368
Fix check-header-guards on OS X
13 years ago
Behdad Esfahbod
c62e41b6aa
Minor
13 years ago