Commit Graph

272 Commits

Author SHA1 Message Date
Chun-wei Fan
89dbabff65 configure.ac/CMake: Check for round() and stdbool.h
Not all the compilers that HarfBuzz is buildable on supports round() and
has the header stdbool.h, so we check for them and define HAVE_ROUND and
HAVE_STDBOOL_H repsectively in our CFLAGS so that we include them only
when they are found, or use fallback implementations when necessary.

Also include FindPythonInterp earlier as we need PYTHON_EXECUTABLE to be
set for running the tests.
2018-03-13 20:13:38 +08:00
Behdad Esfahbod
ff2f81432b 1.7.6 2018-03-07 16:05:14 +01:00
Ebrahim Byagowi
f7399796a1
Enable coverage test on autotools (#857) 2018-03-03 22:55:09 +03:30
Ben Boeckel
d38f37b2e3 autoconf: provide a harfbuzz-config for use from CMake (#822) 2018-02-24 01:25:53 +03:30
Behdad Esfahbod
e91644786b Remove unused check 2018-02-18 12:41:24 -08:00
Behdad Esfahbod
978ace6fbb Improve _hb_popcount()
Support 128bit type.
2018-02-16 16:08:45 -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
Khaled Hosny
0b94d590d9 Rename --with-stdcpp → --with-libstdc++
Also improve wording a bit and fix make check in --with-libstdc++=yes.
2018-02-12 12:37:41 -07:00
Ebrahim Byagowi
2efc896550
Add --with-stdcpp for ossfuzzer and mupdf use (#770) 2018-02-12 12:00:07 +03:30
Behdad Esfahbod
d0f3e7f597 [util] Use setlinebuf() if present
To work around mysterious bug on OS X.

Fixes https://github.com/harfbuzz/harfbuzz/issues/727
2018-02-10 12:46:11 -06:00
Garret Rieger
0853260e99 Configure automake to run the new subset tests. 2018-02-04 12:57:33 -08:00
Behdad Esfahbod
fcb8be1a38 [configure] Fix wording
Fixes https://github.com/harfbuzz/harfbuzz/issues/741
2018-02-04 12:38:18 -05:00
Khaled Hosny
cf943f682b Correctly show documentation build status
Correctly show if building documentation is enabled or not in configure
summary.

Fixes https://github.com/harfbuzz/harfbuzz/issues/741
2018-02-04 12:36:37 -05:00
Behdad Esfahbod
f0b700db39 1.7.5 2018-01-30 11:52:11 -08:00
Ebrahim Byagowi
00806149b9
Improve avoiding C++ linkage, definition creation and cmake tests (#710) 2018-01-19 01:12:31 +03:30
Behdad Esfahbod
22d8c765e7 Disable C++11
To better catch errors locally.
2018-01-12 09:46:38 +01:00
Behdad Esfahbod
6db0b17c4c [test] Move test handling to sundirectories 2018-01-10 05:40:43 +01:00
Behdad Esfahbod
504f913654 [test] Simplify test runner
Always pass hb-shape as first argument to run-tests.py.

Also require automake 1.13.
2018-01-10 02:50:49 +01:00
Behdad Esfahbod
0473d95e27 [ft] Use FT_Done_MM_Var() if available 2018-01-08 10:07:46 +00:00
Romain Ouabdelkader
3db1d34264 link with CoreFoundation when using CoreText 2018-01-02 07:22:53 -08:00
Behdad Esfahbod
007a2a4317 1.7.4 2017-12-20 12:09:00 -05:00
Behdad Esfahbod
b5bbb791d3 1.7.3 2017-12-18 09:18:51 -05:00
Olivier Blin
0fd89dc61c [hb-ft] Fix build when Multiple Master font support is disabled in freetype
FT_Set_Var_Blend_Coordinates() is not available when "Multiple Master
font interface" is disabled in freetype's modules.cfg
2017-12-04 10:52:06 -08:00
Behdad Esfahbod
843f7f7035 1.7.2 2017-12-04 09:01:43 -08:00
ebraminio
7c6937e7c7
Move all references of old url to the new address (#622) 2017-11-20 14:49:22 -05:00
Behdad Esfahbod
f93c6f8bfa 1.7.1 2017-11-14 11:13:11 -08:00
Behdad Esfahbod
e5d7098892 1.7.0 2017-11-13 09:42:37 -08:00
Behdad Esfahbod
601126ad40 [configure] Fix gobject default value in help output
Fixes https://github.com/behdad/harfbuzz/issues/607
2017-11-03 20:34:11 -04:00
Behdad Esfahbod
919b4b76a7 Make c++11 optional
Fixes https://github.com/behdad/harfbuzz/issues/585
2017-10-27 10:29:25 -06:00
Behdad Esfahbod
223686d64f 1.6.3 2017-10-26 12:52:02 -06:00
Behdad Esfahbod
3b7388aab6 1.6.2 2017-10-23 14:35:16 -04:00
Behdad Esfahbod
0ca915efc3 1.6.1 2017-10-22 17:38:33 -04:00
Behdad Esfahbod
2075008f3e Use C++11 2017-10-15 12:12:10 +02:00
Behdad Esfahbod
25846cc39f 1.6.0 2017-10-13 16:30:33 +02:00
ebraminio
dfeccd073a Remove nmake port of harfbuzz (#562) 2017-10-12 10:41:47 +02:00
Behdad Esfahbod
3ca69c8c32 Use strtod_l() to correctly parse decimal numbers in French & other locales
Test with, eg.:
$ LC_ALL=fr_FR.utf-8 ./hb-view NotoSansArabic-VF.ttf بهداد --variations wght=1.2
2017-09-14 20:50:35 -04:00
Behdad Esfahbod
a984e0c4d9 1.5.1 2017-09-05 11:18:35 -07:00
Behdad Esfahbod
e8b364b860 1.5.0 2017-08-23 15:00:45 -07:00
Behdad Esfahbod
7917792f01 1.4.8 2017-08-08 13:17:03 -07:00
Behdad Esfahbod
fc15e60ead 1.4.7 2017-07-18 11:24:42 -07:00
Behdad Esfahbod
141b33de9a 1.4.6 2017-04-23 16:19:13 -07:00
Behdad Esfahbod
60e2586f76 1.4.5 2017-03-10 23:02:28 -08:00
Behdad Esfahbod
8e42c3cb2b 1.4.4 2017-03-05 13:54:56 -08:00
Behdad Esfahbod
6685d281d6 1.4.3 2017-02-25 11:35:05 -08:00
Behdad Esfahbod
6af6c1114a 1.4.2 2017-01-23 18:35:00 -08:00
Behdad Esfahbod
af596a5655 1.4.1 2017-01-05 20:24:41 -08:00
Behdad Esfahbod
53543f8b3e Ship UCDN and use it by default
So we are not relying on version of Unicode data in glib...

Fixes https://github.com/behdad/harfbuzz/issues/386
Fixes https://github.com/behdad/harfbuzz/issues/388
2017-01-05 20:12:32 -08:00
Behdad Esfahbod
f339706947 1.4.0 2017-01-05 01:27:49 -08:00
Mike Hommey
1c98ff87c7 Support building with older glib versions
It is desirable to be able to build against older versions of glib.

fd7a245 changed the configure check to require glib > 2.38 for
G_TEST_DIST. Before that, version 2.16 was required, but in fact,
since aafe395, G_PASTE is being used, which was introduced in 2.19.1.
And since 0ef179e2, hb-glib uses GBytes, which were introduced in
2.31.10.

2.19.1 is rather old, but 2.38 is rather new. For Firefox, building
against 2.22 is still supported, although we could probably get away
with bumping that to 2.28. Either way, GBytes is not available.

Arguably, if you build against a glib that doesn't support GBytes,
you're not going to use the hb_glib_blob_create function, so we hide
the function when building against such a glib.

As for G_TEST_DIST, when building against versions of glib that don't
support it, we can fallback to the previous behavior, which, AIUI, was
just making the test not work when building in a separate directory.
2016-12-18 01:37:07 -06:00
Behdad Esfahbod
42c8142531 [GX] Fix build with older FreeType 2016-12-16 19:06:26 -06:00