Commit Graph

10689 Commits

Author SHA1 Message Date
Ebrahim Byagowi
15083c24ee [meson] Reenable make check-symbols compatible with gcov 2020-05-10 14:35:20 +04:30
Khaled Hosny
68855e4a6d [docs] Don’t recommend outdated FDO releases pages 2020-05-08 13:05:32 +04:30
Ebrahim Byagowi
1ec77522d8 [docs] Simplify logo's SVG source, down scale png version
* SVG version is simplified using SVGO and some hand tweak
* PNG result of SVG logo is optimized using pngwolf-zopfli
* Down scaled to fit visually a little better on docs page
2020-05-07 14:10:36 +04:30
Ebrahim Byagowi
0b261c5d0b
[ci] disable clang-{everthing,*san} bots
are flaky, will enable them somewhere else
2020-05-07 10:28:24 +04:30
Ebrahim Byagowi
385d64eef1 Add a not discardable bool type, hb_success_t 2020-05-07 10:26:45 +04:30
jfkthame
1026b3d0b6
[subset] Check vector resize() call for failure (#2389)
Other .resize() calls are checked, presumably this one should be as well.
2020-05-06 13:32:24 -07:00
jfkthame
100d40c827
[aat] Fix implementation of AAT kerning for Geeza Pro. (#2388)
* [aat] Fix implementation of AAT kerning for Geeza Pro.

Despite what the comment in the code used to say, it appears that Geeza Pro
does rely on accumulating kerning values from successive subtables. With
this change, the results now match Core Text rendering (and avoid the clear
visual breakage reported in #2358).

Testcase: U+0644,U+064E,U+0645,U+064E,U+0651,U+0627

Fixes #2358.

* [aat] Update test expectations, add new testcase.
2020-05-05 17:48:24 -07:00
Ebrahim Byagowi
9fc774ab00 minor spacing 2020-04-30 23:14:54 +04:30
Khaled Hosny
09b9d63e56 [blob] Try to support resource fork fonts on macOS
If the size of opened file is zero, try opening resource fork by
appending "/..namedfork/rsrc" to the file name. This is guarded with
__APPLE__ ifdef and uses _PATH_RSRCFORKSPEC macro from sys/paths.h.

Defining HB_NO_RESOURCE_FORK will disable this fallback.

Fixes https://github.com/harfbuzz/harfbuzz/issues/2383
2020-04-30 22:22:10 +04:30
René Meusel
d6ddb232fc FIX: -Wextra-semi-stmt in Clang9 2020-04-29 02:35:05 +04:30
Ebrahim Byagowi
8ba8980222
[ci] enable experimental apis in coverity scan 2020-04-28 20:14:17 +04:30
Ebrahim Byagowi
d63ee13a2a
[ci] enable more on coverity 2020-04-28 20:01:11 +04:30
Ebrahim Byagowi
ace202e17e
[ci] remove trigger-coverity.sh
hopefully not needed, we are submitting it in a bot
2020-04-28 19:38:04 +04:30
Ebrahim Byagowi
a22e6de0e9
[blob] close file reader handle
fortunately it isn't in that use as having mmap reader as the default
2020-04-28 19:25:37 +04:30
Ebrahim Byagowi
39976ee660
[ci] install fonttools in linux-ci bot 2020-04-28 18:50:33 +04:30
Ebrahim Byagowi
1801489b49
[ci] Add coverity scan bot 2020-04-28 18:47:39 +04:30
Ebrahim Byagowi
156714f797
[ci] fix linux-ci bot
It shows some percentage of coverage regression
as the switch from lcov to gcovr and autotools to meson while this travis to github actions switch.
2020-04-28 16:32:15 +04:30
Ebrahim Byagowi
4b298cc6c4
[ci] remove travis's clang bot
we are testing it on other bots, let's remove it from travis
2020-04-28 15:50:03 +04:30
Ebrahim Byagowi
34a4ce98f4
[ci] run apt-get with sudo 2020-04-28 15:34:29 +04:30
Ebrahim Byagowi
f27c0065d4
[ci] Add a GitHub CI bot
Run coverage also
2020-04-28 15:30:25 +04:30
Ebrahim Byagowi
482f4aafd5
[ci] Remove coverity and codecov
* This coverity runner doesn't work from here but will try again in GitHub Actions bot
* Trying to move codecov to GitHub Actions
2020-04-28 15:29:19 +04:30
Ebrahim Byagowi
6890554256
[ci/meson] temporarily disable check-symbols
will enable again
2020-04-28 14:56:47 +04:30
Qunxin Liu
e53c44e326 [subset] temporarily revert previous cmap commit
Required in https://github.com/harfbuzz/harfbuzz/issues/2356
2020-04-25 12:21:22 +04:30
Ebrahim Byagowi
08428a15c3 minor, spacing 2020-04-24 23:45:17 +04:30
Behdad Esfahbod
89ad3c6cc5 Rename add_class to collect_class 2020-04-24 08:16:03 -07:00
Behdad Esfahbod
5cf53c06e6 Rename add_coverage to collect_coverage 2020-04-24 08:16:03 -07:00
Behdad Esfahbod
689f3f57fa [set] Add << overload for range-sink 2020-04-24 08:16:03 -07:00
Behdad Esfahbod
a7df5a7bda [hashmap] Minor 2020-04-24 08:16:03 -07:00
Behdad Esfahbod
cc1ed76f38
Merge pull request #1729 from n8willis/usermanual-integration
[Docs] Usermanual: Add OS/platform-integration chapter
2020-04-24 08:15:32 -07:00
David Corbett
5a0936f53e Increase the size of the serialization buffer 2020-04-23 16:32:20 -07:00
Behdad Esfahbod
a11db0b9d4
Merge branch 'master' into usermanual-integration 2020-04-23 15:32:43 -07:00
Ebrahim Byagowi
19346524c6 minor, add an option to skip private APIs use in main.cc 2020-04-23 14:22:51 +04:30
Ebrahim Byagowi
2e3dfdcd5f
[meson] make 'tests' option enabled by default
Not sure what 'auto' can mean here but it makes my local test to not run properly
2020-04-23 14:04:24 +04:30
Hugo Beauzée-Luyssen
6881939f77 src: meson: Reindent after last changes 2020-04-23 13:27:12 +04:30
Hugo Beauzée-Luyssen
e18858c685 src: Don't build tests when they are disabled 2020-04-23 13:27:12 +04:30
Ebrahim Byagowi
0c65a232fa
minor, add unlikely around lookup_limit_exceeded checks
addresses https://github.com/harfbuzz/harfbuzz/pull/2294#issuecomment-618022488
2020-04-23 11:23:54 +04:30
Evgeniy Reizner
3e686d2459 [kern] Refactoring. 2020-04-22 18:04:52 -07:00
Behdad Esfahbod
186976ebd6 [autotools] C++11 requirement is mandatory
How was this not updated?
2020-04-22 16:35:00 -07:00
Behdad Esfahbod
f4cd99f28e Reordering fails when GDEF table is absent #2140
Preserve glyph class if there's no GDEF and no guess.

Fixes https://github.com/harfbuzz/harfbuzz/issues/2140
2020-04-22 14:45:57 -07:00
Evgeniy Reizner
05be05eb65 [kern] Test format 3. 2020-04-22 09:30:25 -07:00
Khaled Hosny
c7afb6d7b8 [docs] Fix broken link 2020-04-22 15:19:37 +02:00
Behdad Esfahbod
bd8aa1b043 Minor 2020-04-21 22:19:46 -07:00
ckitagawa
b22f61d86a Fix bug 2020-04-21 16:51:55 -07:00
Ebrahim Byagowi
1cd14b40e7 minor, update ragel generated hb-number-parser.hh 2020-04-21 14:42:20 +04:30
Ebrahim Byagowi
6d5e8e5ee4
minor
following to c37100e7d
2020-04-21 14:38:09 +04:30
Ebrahim Byagowi
5b91c52083
[ci] run experimental APIs tests 2020-04-20 21:44:01 +00:00
Ebrahim Byagowi
750bb73e32 [meson] Add an experimental-api option 2020-04-21 01:26:08 +04:30
Behdad Esfahbod
262eced2ad [subset] FeatureVariations subsetting is wrong
Never drop FeatureVariationRecord for now.

Fixes https://github.com/harfbuzz/harfbuzz/issues/2334
2020-04-21 01:23:07 +04:30
Ebrahim Byagowi
2a549aadd3
minor 2020-04-21 00:32:34 +04:30
Ebrahim Byagowi
2be859d289 minor, replace nullptr checks with implicit ones 2020-04-21 00:30:34 +04:30