Commit Graph

5790 Commits

Author SHA1 Message Date
Ebrahim Byagowi
b095ce59eb
Simplify hb-fuzzer output printing and fix ArchLinux bot 2018-02-19 11:58:20 +03:30
Ebrahim Byagowi
be51f763a7
Test debug builds on ArchLinux bot
Fixes #805
2018-02-19 11:06:13 +03:30
Behdad Esfahbod
e2d2d81984 Limit how much work sanitize() can do
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6022
2018-02-18 17:28:53 -08:00
Behdad Esfahbod
7033fe5877 [aat] Minor 2018-02-18 17:12:04 -08:00
Behdad Esfahbod
6fa690c75a Fix debug build
Context needs to be called 'c'. The TRACE_* rely on that.
2018-02-18 16:27:59 -08:00
Behdad Esfahbod
05d1e77db8 [aat] Silence warning 2018-02-18 16:26:04 -08:00
Behdad Esfahbod
a21fceb053 [ci] Make AppVeyor less noisy 2018-02-18 16:10:15 -08:00
Behdad Esfahbod
1c50a88623 Readjust mark attachment heuristic a bit more
Previously adjusted logic could fail if nothing around was ligated,
and something moved.  This should take care of that.

CC https://github.com/harfbuzz/harfbuzz/issues/740
2018-02-18 15:58:09 -08:00
Behdad Esfahbod
246e280d88 [test] Add test for https://github.com/harfbuzz/harfbuzz/issues/740 2018-02-18 15:58:09 -08:00
Ebrahim Byagowi
79756c9039
[aat] First dig on 'kerx' (#704) 2018-02-19 03:17:44 +03:30
Behdad Esfahbod
279c70a5b3
Merge pull request #796 from ebraminio/dev-run
Add a continuous builder using fswatch
2018-02-18 14:04:33 -08:00
Behdad Esfahbod
e91644786b Remove unused check 2018-02-18 12:41:24 -08:00
Ebrahim Byagowi
89b82814b6 Add a continuous builder using fswatch 2018-02-18 23:56:00 +03:30
Behdad Esfahbod
0bd2d76bdd [test] Fix a couple of coverity_scan issues 2018-02-18 11:55:46 -08:00
Ebrahim Byagowi
8089711a61
Another attempt on fixing coverity
I hope I am in a correct direction at least
2018-02-18 23:25:15 +03:30
Behdad Esfahbod
79d0d791b9
Merge pull request #800 from harfbuzz/bitops
Optimize set through optimized bit operations
2018-02-18 11:35:51 -08:00
Behdad Esfahbod
97a7110215 Fix BitScanForward() usage
Should fix Win64 bot.
2018-02-18 10:50:24 -08:00
Behdad Esfahbod
fe8f40a418
Merge branch 'master' into bitops 2018-02-18 10:45:33 -08:00
David Corbett
21646cc4a6 Do not mark the first glyph as unsafe to break
Fixes #791.
2018-02-17 13:35:34 -08:00
Behdad Esfahbod
04dedec96b [test] Remove unused var 2018-02-16 18:32:57 -08:00
Behdad Esfahbod
181b747107 Update outdated TODO file 2018-02-16 18:29:47 -08:00
Behdad Esfahbod
6d56db8983 [test/api] Distribute all fonts 2018-02-16 18:29:29 -08:00
Behdad Esfahbod
e5ab34fd3a Misc fixes
Should bring bag djgpp bot.
2018-02-16 18:29:29 -08:00
Garret Rieger
df9e22656d [subset] add a glyf subsetting test for a font with composite glyphs. 2018-02-16 18:29:29 -08:00
Garret Rieger
c36d015b0e [subset] missing return. 2018-02-16 18:29:29 -08:00
Garret Rieger
2130392dcc [subset] Add support for updating reference gids in components to their new values. 2018-02-16 18:29:29 -08:00
Garret Rieger
49544eb860 [subset] Refactor composite glyf iteration code into an Iterator outside of the accelerator. 2018-02-16 18:29:29 -08:00
Garret Rieger
dc6d67df13 [subset] Use gids_to_retain_sorted to produce old gid -> new gid mapping since it now has the more complete set. 2018-02-16 18:29:29 -08:00
Garret Rieger
dcac9fe964 [subset] Use complex glyph closure to populate gids_to_retain_sorted. 2018-02-16 18:29:29 -08:00
Garret Rieger
58a54c9d4f [subset] add constant to get_composite and in_table methods in hb-ot-glyf-table 2018-02-16 18:29:29 -08:00
Garret Rieger
73e1434814 [subset] Add a DFS search to produce a closure of composite glyphs. 2018-02-16 18:29:29 -08:00
Garret Rieger
d368414143 [subset] add helper methods to glyf accelerator for reading composite glyph information. 2018-02-16 18:29:29 -08:00
Behdad Esfahbod
cd11107bb4 Another bitops fallback fix
I'm confident that all bugs are hashed out now.
2018-02-16 18:28:58 -08:00
Behdad Esfahbod
4e517ecb6b Another bitops fallback impl fix 2018-02-16 18:20:12 -08:00
Behdad Esfahbod
f18b9fbf65 [set] Implement iteration using bitop intrinsics 2018-02-16 18:14:41 -08:00
Behdad Esfahbod
6a91a2eb04 Fix wide bitops implemenetation 2018-02-16 17:49:41 -08:00
Behdad Esfahbod
d25c3e69e9 [set] Readjust parameters 2018-02-16 17:45:09 -08:00
Behdad Esfahbod
6d5c0bf8b1 Fix bitops fallback impl 2018-02-16 17:33:26 -08:00
Behdad Esfahbod
82eb1dac16 Flesh out other bit ops some more for 128bit as well 2018-02-16 16:52:09 -08:00
Behdad Esfahbod
864a2dddae Clean up bit functions
Compile all code-paths possible, to better catch errors.
Also enable MSVC ones on mingw which seems to support them.
2018-02-16 16:09:38 -08:00
Behdad Esfahbod
978ace6fbb Improve _hb_popcount()
Support 128bit type.
2018-02-16 16:08:45 -08:00
Behdad Esfahbod
7b5ce74047 Fix warnings 2018-02-16 15:38:02 -08:00
Behdad Esfahbod
94d32d1b83 Enable C99 if available
Hopefully we can now mix-and-match code and declaration in the C test files.
2018-02-16 15:36:20 -08:00
rsheeter
926db87455
Merge pull request #792 from googlefonts/master
Support more tables in subsetter
2018-02-16 15:27:29 -08:00
Behdad Esfahbod
882a3bf4ab That didn't work... 2018-02-16 14:17:20 -08:00
Behdad Esfahbod
b1f186df78 Add mingw32.sh and mingw64.sh 2018-02-16 14:16:28 -08:00
Arkady Shapkin
d37310ac5d Remove checking macros __OPTIMIZE__ for MSVC
Visual C++ compiler doesn't define macros __OPTIMIZE__  when optimizations enabled
2018-02-16 12:40:11 -08:00
Khaled Hosny
4eff0fc5b8 Make this work for old versions of automake 2018-02-16 22:01:33 +02:00
Khaled Hosny
f8077c9790 Print only the failed log 2018-02-16 22:01:33 +02:00
Khaled Hosny
8e3b4c0e11 Simplify calls to collect-logs.sh 2018-02-16 22:01:33 +02:00