Behdad Esfahbod
fde3e4a423
In hb_ot_collect_glyphs(), don't recurse to a lookup more than once
...
Otherwise, we might process a lookup thousands of times, with no
benefit. This pathological case was hit by Noto Nastaliq Urdu Draft
in Firefox's code to determine whether space glyph is involved in
any GSUB/GPOS rules. A test page is at http://behdad.org/urdu
See:
https://bugzilla.mozilla.org/show_bug.cgi?id=1090869
2014-10-29 11:23:08 -07:00
Behdad Esfahbod
5a5640d850
Move code around
2014-10-14 21:26:13 -07:00
Behdad Esfahbod
666b42f73b
Move macros around
...
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=84491
2014-10-14 21:24:59 -07:00
Behdad Esfahbod
5c87120b81
Fix misc warnings
...
Fixes https://github.com/behdad/harfbuzz/pull/51
2014-10-14 20:07:31 -07:00
Behdad Esfahbod
a1f27ac3c4
Update test expectation for previous commit
2014-10-02 16:54:33 -04:00
Behdad Esfahbod
8afaf09687
[ft] Add NO_HINTING in a couple other places
2014-10-02 16:40:41 -04:00
Behdad Esfahbod
7228011411
[travis] Fix clang again
2014-10-01 18:58:43 -04:00
Behdad Esfahbod
406a020e52
[travis] Fail build if coveralls fails
2014-10-01 18:54:55 -04:00
Behdad Esfahbod
a8aa20260d
[travis] Only run coveralls under gcc
2014-10-01 18:48:40 -04:00
Behdad Esfahbod
5de0407337
Help clang with gcov
2014-10-01 18:18:25 -04:00
Behdad Esfahbod
ef40ca8e5e
[travis] Try to make coverage work with clang
2014-10-01 18:07:27 -04:00
Behdad Esfahbod
52784da17b
[travis] Minor
2014-10-01 17:57:43 -04:00
Behdad Esfahbod
f2c9005f51
Add README.md symlink to make github happy
2014-10-01 17:45:17 -04:00
Behdad Esfahbod
40987e8aac
[travis] Re-enable clang
2014-10-01 17:44:30 -04:00
Behdad Esfahbod
5400ac476e
Add build and coverage status links
2014-10-01 17:41:41 -04:00
Behdad Esfahbod
19360e0a56
[travis] Report matrix settings to help debugging
2014-10-01 17:35:03 -04:00
Behdad Esfahbod
9b89fc52f4
[travis] More coveralls
2014-10-01 17:20:31 -04:00
Behdad Esfahbod
a68f2b62c1
[travis] Give coveralls a hand
2014-10-01 17:05:58 -04:00
Behdad Esfahbod
5194d647e1
[travis] Disable clang for now
2014-10-01 17:03:26 -04:00
Behdad Esfahbod
715f27f85f
[test] Fixup test
2014-10-01 16:53:00 -04:00
Behdad Esfahbod
2a508ddae5
[travis] Another try at coveralls.io
2014-10-01 16:49:22 -04:00
Behdad Esfahbod
dfe8078e5b
[travis] First try to hookup coveralls.io code coverage tracking
2014-10-01 16:38:47 -04:00
Behdad Esfahbod
1b387571e4
[travis] Unbreak
2014-10-01 16:14:59 -04:00
Behdad Esfahbod
e281ed360d
[travis] Minor
2014-10-01 16:09:08 -04:00
Behdad Esfahbod
c0b82ba32a
Create ragel-generated files in srcdir
2014-10-01 14:24:07 -04:00
Behdad Esfahbod
79bbb10b0d
Clean ragel-generated headers in maintainercleanfiles
2014-10-01 13:33:21 -04:00
Behdad Esfahbod
8971cac83e
Don't use tmp files in Makefile
...
Useful for code-coverage generation of the ragel-generated files
as they will now contain the correct .hh filename in them.
2014-10-01 12:42:16 -04:00
Behdad Esfahbod
2272318665
check-static-inits: Filter out zero-length sections
...
When compiling with -O0, zero-sized constructors were showing up
and confusing the test.
2014-10-01 11:56:07 -04:00
Behdad Esfahbod
b695a3dc23
check-static-inits: check for static finalizers
2014-10-01 11:55:14 -04:00
Behdad Esfahbod
250398b1e4
Hide other bubble-sort
2014-10-01 11:28:59 -04:00
Behdad Esfahbod
c1e8744262
Hide bubble-sort!
2014-10-01 11:07:08 -04:00
Behdad Esfahbod
80f7728226
[util] Fix ansi output when surface is empty
2014-09-25 17:59:46 +03:00
Behdad Esfahbod
156852991e
[ot-font] Add hb_ot_face_cmap_accelerator_t
2014-09-25 17:45:49 +03:00
Behdad Esfahbod
d088ccaf11
[ot-font] Minor
2014-09-25 17:26:56 +03:00
Behdad Esfahbod
d7c160a153
[ot-font] Handle missing vertical metrics tables
2014-09-25 17:15:35 +03:00
Behdad Esfahbod
be1cca2702
[ot-font] Add metrics_accel_t
2014-09-25 16:53:24 +03:00
Behdad Esfahbod
d41b809e9d
[ot-font] Start adding vertical support
2014-09-25 13:22:01 +03:00
Behdad Esfahbod
22f0de5025
Fix build
2014-08-25 12:54:57 -04:00
Behdad Esfahbod
d457e3f0ff
[arabic] Don't #include __FILE__
...
Fine!
https://code.google.com/p/chromium/issues/detail?id=406957
2014-08-25 12:31:19 -04:00
Behdad Esfahbod
9ceb673d9c
[arabic] Allow disabling win1256 fallback code
...
By defining HB_NO_WIN1256.
2014-08-25 11:48:12 -04:00
Behdad Esfahbod
8a93195021
[ot] Prefer Windows platform cmap tables / accept all Unicode encodingIDs
...
Some fonts on the Mac ship with (0,1).
2014-08-22 12:06:57 -04:00
Behdad Esfahbod
270971a0fc
[win32] Avoid preprocessor warnings re macros
2014-08-15 14:28:04 -04:00
Behdad Esfahbod
8c6bd34d38
Fix check-symbols on OS X
2014-08-14 13:33:37 -04:00
Behdad Esfahbod
522b1cc526
[coretext] Hide feature_mappings
2014-08-14 13:29:30 -04:00
Behdad Esfahbod
0d2c2f238b
Simplify hb-object
2014-08-14 13:25:55 -04:00
Behdad Esfahbod
9d861b81f3
Really fix clang build this time
2014-08-14 13:15:21 -04:00
Behdad Esfahbod
272226f294
Revert "Fix build on clang after previous commit"
...
This reverts commit 9c80cbc87f
.
2014-08-14 13:11:33 -04:00
Behdad Esfahbod
9c80cbc87f
Fix build on clang after previous commit
2014-08-14 13:09:52 -04:00
Behdad Esfahbod
a5a27073cf
Rewrite this==NULL checks to avoid undefined behavior
...
Fixes https://code.google.com/p/chromium/issues/detail?id=403594
2014-08-14 13:05:36 -04:00
Behdad Esfahbod
cc3b2d432b
Remove this==NULL check from face->reference_table()
...
Not supposed to happen, and apparently this is undefined in C++.
https://code.google.com/p/chromium/issues/detail?id=403594
2014-08-14 13:00:47 -04:00