Behdad Esfahbod
e3b2e077f5
Typo
2012-03-07 10:21:24 -05:00
Behdad Esfahbod
c346671b6b
Minor doc fixes
2012-03-06 20:47:50 -05:00
Behdad Esfahbod
406044986a
Add Hebrew diacritics test cases
...
From:
https://bugzilla.mozilla.org/show_bug.cgi?id=662055
2012-03-06 20:24:31 -05:00
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
2012-03-01 18:11:19 -08:00
Behdad Esfahbod
bc71ad4973
Fix atomic-int op on Apple
...
The OSAtomicAdd32Barrier operator returns the new value, we want the
old value.
2012-03-01 17:30:29 -08:00
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.
2012-02-24 16:19:52 -05:00
Behdad Esfahbod
8004429102
Remove unused hb_atomic_int_set()
...
Apparently it can't be implemented on OS X. We weren't using it anyway.
2012-02-24 16:19:52 -05:00
Behdad Esfahbod
45227c10e4
Add hb-warning.cc. Oops!
2012-02-23 19:47:43 -05:00
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
2012-02-23 15:06:16 -05:00
Behdad Esfahbod
634c9e3423
Minor
2012-02-22 16:43:21 -05:00
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.
2012-02-22 16:34:37 -05:00
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
2012-02-22 16:31:15 -05:00
Behdad Esfahbod
7a70ca78e0
Add test case from https://bugzilla.mozilla.org/show_bug.cgi?id=714067
2012-02-21 11:31:47 -05:00
Behdad Esfahbod
f51e167436
Minor error handling
2012-01-30 09:48:33 -05:00
Behdad Esfahbod
bee74efbde
Update git.mk to new upstream
2012-01-27 02:23:22 -05:00
Behdad Esfahbod
134aa7bc7e
Make checks more OS X friendly
2012-01-27 02:23:22 -05:00
Behdad Esfahbod
6152199368
Fix check-header-guards on OS X
2012-01-27 02:23:22 -05:00
Behdad Esfahbod
c62e41b6aa
Minor
2012-01-27 02:20:58 -05:00
Behdad Esfahbod
1a5a91dc0d
Add a few more tests
2012-01-22 19:58:23 -05:00
Behdad Esfahbod
1795f3a222
Add a couple Thai test cases from Thep
2012-01-22 19:29:45 -05:00
Behdad Esfahbod
ec3f506682
Add Devanagari test from Tom Hacohen
2012-01-22 19:10:55 -05:00
Behdad Esfahbod
71be4ca3dd
Also ignore "ChangeLog" in manifests
2012-01-22 16:26:49 -05:00
Behdad Esfahbod
3c9a39ecd6
Remove newline
2012-01-22 16:21:19 -05:00
Behdad Esfahbod
e4ccbfe276
Allow --color=html in hb-diff
...
Not that useful right now as we don't escape < and >. Perhaps
another tool can be added to convert the ANSI output to HTML.
2012-01-22 16:07:32 -05:00
Behdad Esfahbod
71632c96da
Fallback to Latin script if the font has no other usable scripts
...
Patch and description from Jonathan Kew:
It turns out that some legacy Thai fonts provide OpenType substitution
features to implement mark positioning, but (incorrectly) put those
features/lookups under the 'latn' script tag instead of using 'thai' (or
possibly 'DFLT'). See
https://bugzilla.mozilla.org/show_bug.cgi?id=719366 for an example and
more detailed description.
Although this is really a font bug, I suggest that we could improve the
rendering of such fonts by looking for the 'latn' as a fallback if
neither the requested script nor "default" is found in
hb_ot_layout_table_choose_script. Suggested patch against harfbuzz
master is attached.
This does _not_ affect the other kind of legacy Thai font, where custom
code to support vendor-specific PUA codepoints would be needed. I'm not
keen to go down that path; IMO, such fonts should be ruthlessly stamped
out in favour of standards-based solutions. :)
JK
2012-01-22 15:31:44 -05:00
Behdad Esfahbod
8f80f93491
More shoveling around
2012-01-21 20:03:25 -05:00
Behdad Esfahbod
c78c6e9844
Cleanup
2012-01-21 19:55:16 -05:00
Behdad Esfahbod
ab94a9c542
Distribute testing tools
2012-01-21 19:43:58 -05:00
Behdad Esfahbod
3e86feb54c
Speed up colorless diff
2012-01-21 19:40:30 -05:00
Behdad Esfahbod
1e58df6034
Cleanup manifest code
2012-01-21 19:37:31 -05:00
Behdad Esfahbod
956d552e10
Port hb-manifest-update to Python
2012-01-21 19:31:51 -05:00
Behdad Esfahbod
3a34e9e351
Ignore Broken Pipe errors
2012-01-21 19:15:41 -05:00
Behdad Esfahbod
d530024168
[util] Make clusters work with char offset instead of UTF-8 offset
...
This means the --features indices also refer to char position
instead of byte position now. Same for cluster values reported
by hb-shape.
Will add an option for byte indices later.
2012-01-21 19:07:22 -05:00
Behdad Esfahbod
0f68f4a0b5
Correctly print out Unicode strings
2012-01-21 18:59:48 -05:00
Behdad Esfahbod
f22089ac24
Misc fixes
2012-01-20 21:22:14 -05:00
Behdad Esfahbod
96968bfae5
Port hb-manifest-read to Python
2012-01-20 21:16:34 -05:00
Behdad Esfahbod
a59ed46fa4
Add final residues from test-shape-complex
2012-01-20 20:56:32 -05:00
Behdad Esfahbod
820e0ed318
Add Punjabi tests from test-shape-complex also
2012-01-20 20:51:52 -05:00
Behdad Esfahbod
a7d71c1057
Add Tamil test data from Muguntharaj Subramanian
2012-01-20 20:50:09 -05:00
Behdad Esfahbod
5992a9941e
Import test data from late test-shape-complex
2012-01-20 20:48:14 -05:00
Behdad Esfahbod
46ac456477
Fix Unicode encoding issue
2012-01-20 19:32:17 -05:00
Behdad Esfahbod
ad34e39a4a
Make test tools interactive
...
By bypassing readlines() buffering.
2012-01-20 18:40:25 -05:00
Behdad Esfahbod
91540a7d97
Move most testing logic into hb_test_tools.py
...
The actual utils are one-liners now.
2012-01-20 18:28:10 -05:00
Behdad Esfahbod
66aa080033
Remove test-shape-complex
...
New shaping testsuite and framework coming.
2012-01-20 17:36:10 -05:00
Behdad Esfahbod
ed459bfb63
Add hb-unicode-encode
2012-01-20 17:24:05 -05:00
Behdad Esfahbod
d8134bc017
[hb-shape] Add parantheses around --show-text output
2012-01-20 17:18:59 -05:00
Behdad Esfahbod
b12c4d4361
Add hb-diff-filter-failures
2012-01-20 17:17:44 -05:00
Behdad Esfahbod
d4bffbc55b
Move
2012-01-20 17:16:35 -05:00
Behdad Esfahbod
45f640c98d
Minor
2012-01-20 14:24:21 -05:00
Behdad Esfahbod
47ca766a9c
Minor
2012-01-20 14:21:53 -05:00