Qunxin Liu
44d88cff95
[subset] fix intersects () for Context/ChainContext tables
...
return true only when all values in array are intersected with input
2020-05-11 15:25:17 -07:00
Ebrahim Byagowi
42025680cb
2.6.6
2020-05-12 00:17:44 +04:30
Ebrahim Byagowi
57d67f1775
[RELEASE] minor update
2020-05-12 00:03:33 +04:30
Khaled Hosny
b169a52c1e
[blob] Fix build when HAVE_MMAP is not defined
2020-05-11 17:21:41 +04:30
Ebrahim Byagowi
a2ce96881b
[cff] remove the not used member
2020-05-11 17:15:37 +04:30
Ebrahim Byagowi
2cc78a58c3
[number] minor
2020-05-11 15:56:54 +04:30
Ebrahim Byagowi
bb095e1bdd
[meson] make -subset target dependent to deps to get libm dependency
2020-05-10 22:00:05 +04:30
Ebrahim Byagowi
dca8ba6b6d
[number] Make hb_parse_double simpler now that we don't have to mimic strtod
2020-05-10 21:49:00 +04:30
Ebrahim Byagowi
44fe1c8ff1
Remove xlocale use now that isn't available in most distros
...
Our CI bots don't detect it in Alpine, ArchLinux, Ubuntu and Fedora
so let's get rid of it use the fallback we are using anyway for a
long time.
2020-05-10 14:51:35 +04:30
Ebrahim Byagowi
eea99d7b72
[meson] Let name_prefix of exported libraries the default
...
meson complains about this and it is the default per #2256
Fixes #2256
2020-05-10 14:46:19 +04:30
Ebrahim Byagowi
2ac4222022
[meson] specify preferred linker to avoid stdc++ linking
2020-05-10 14:35:20 +04:30
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
David Corbett
fd748fac41
Update to Unicode 13.0.0
2020-04-29 17:17:03 -04:00
Behdad Esfahbod
28633b1979
[vowel-constraints] Simplify generated code
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/2385
2020-04-29 17:16:24 -04:00
David Corbett
665483c979
Recognize Elymaic as a right-to-left script
2020-04-29 16:47:44 -04:00
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