Garret Rieger
584693e0cb
[subset] Test not linking libharfbuzz-subset-fuzzing into hb-subset-fuzzer.
7 years ago
Garret Rieger
3f9361fe7a
[subset] Test hb-shape-fuzzer in run-subset-fuzzer-tests.
7 years ago
Garret Rieger
ce368e0d05
[subset] make libharfbuzz-subset-fuzzing.la depend on lib target.
7 years ago
Garret Rieger
85a57029cd
[subset] %d -> %zu
7 years ago
Garret Rieger
318eea5853
[subset] Add some more logging to hb-subset-fuzzer.
7 years ago
Garret Rieger
64bab8b3d0
[subset] Fix run-shape-fuzzer-tests.py. It was generating incorrect paths for input fonts.
7 years ago
Garret Rieger
6f9a584371
[subset] Add more verbose output for subset fuzzer test.
7 years ago
Garret Rieger
0ce0f87812
[subset] Rename hb-fuzzer -> hb-shape-fuzzer.
7 years ago
Garret Rieger
1e9bd6d5ff
[subset] Add rub-subset-fuzzer-tests.py to dist files.
7 years ago
Garret Rieger
474afaafd9
[subset] Add a test runner for hb-subset-fuzzer and cmake build config.
7 years ago
Garret Rieger
aa9612d35f
[subset] Fix fuzzing build for hb-subset-fuzzer.
7 years ago
Garret Rieger
b674fc1f9f
[subset] Add missing destroy of subsetting result in subset fuzzer.
7 years ago
Garret Rieger
1beb08862e
[subset] First pass at setting up a fuzzing program for hb-subset.
7 years ago
Behdad Esfahbod
127096e474
[util] Remove line buffering
...
Something weird seems to be going on. Just kill it.
Fixes https://github.com/harfbuzz/harfbuzz/issues/888
7 years ago
Behdad Esfahbod
e6e2ee2b92
Remove extra stdbool includes
...
They are handled in our common header.
7 years ago
Behdad Esfahbod
a0dccb6188
Add NameID
7 years ago
Behdad Esfahbod
56946d21c0
[color/COLR] Simplify
7 years ago
Behdad Esfahbod
6418ae4e8a
[color/COLR] Clean up
7 years ago
Behdad Esfahbod
150c53ee96
[color/COLR] Fix bad sanitize
...
Bad bad bad bad code. Don't do that. If compiler's not happy, understand why.
7 years ago
Behdad Esfahbod
399c800b93
[color/COLR] Clean up
7 years ago
Behdad Esfahbod
9e337341d5
[color/cbdt] Clean up
7 years ago
Behdad Esfahbod
86a0ac284f
Revert "hb-private.hh: Add fallback implementation for round()"
...
This reverts commit b9dcbb1f83
.
This is gross. Should be only done if a specific macro is defined. Not the other way
around. This fails my build as autotools companions where not added anyway.
7 years ago
Ebrahim Byagowi
791d80a1d4
Merge pull request #886 from madig/only-export-visible-symbols
...
CMake: hide symbols by default on non-MSVC, define export attribute
7 years ago
Nikolaus Waxweiler
22de9bf56d
Enable implicit symbol hiding for all libraries, static and shared
...
This covers all built libraries now and both static and shared builds.
7 years ago
Ebrahim Byagowi
d4907e83ef
[dwrite] GCC/mingw/msys2 compatibility ( #884 )
7 years ago
Ebrahim Byagowi
93f8f89ded
[ci] Trying to fix gen-def issue on appveyor ( #885 )
7 years ago
Nikolaus Waxweiler
ce975dce7a
CMake: hide symbols by default on non-MSVC, define export attribute
...
This change makes sure that non-MSVC builds using CMake properly hide
non-exported functions.
7 years ago
Ebrahim Byagowi
a12dd6f75d
Merge pull request #877 from fanc999/master.msvc
...
Fix CMake builds on Windows, MSVC in particular
7 years ago
Chun-wei Fan
7c43adab6d
CMake: Fix utility program installation
...
Put in the utility program that was missed in installation by replacing
the one that was duplicated.
7 years ago
Chun-wei Fan
e9b8002a60
CMake: Fix introspection on Windows
...
The list of source files to pass to g-ir-scanner is becoming too
long for Windows, as Windows imposes a 8192-character limit for command
lines, so we need to first transform that list into a listings file, and
then use the --filelist option for g-ir-scanner to build the
introspection files.
7 years ago
Chun-wei Fan
831d4a2dab
test/api: Fix building subset tests
...
Include stdbool.h in hb-setset-test.h instead of in the individual
sources, if it is found; otherwise use a simplistic fallback for it if
it is not found.
Also declare variables at the top of the block, to build on pre-C99
compiliers.
7 years ago
Chun-wei Fan
eda6a5ea80
CMake: Fix running tests on Windows
...
For the API tests, output the test programs at $(TOP_BUILDDIR) so that
the freshly-built DLLs will be available for the test programs. For
those that are run through the Python wrapper scripts, use
${PYTHON_EXECUTABLE} instead of plain 'python' in case the Python
interpreter is not in the PATH.
7 years ago
Chun-wei Fan
b9dcbb1f83
hb-private.hh: Add fallback implementation for round()
...
Add a simplistic round() implementation for our purposes, used when the
compiler does not support round() directly.
7 years ago
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.
7 years ago
Ebrahim Byagowi
28f25f32fc
[ot-color/SVG] Minor ( #878 )
7 years ago
Behdad Esfahbod
fb0f3e3767
[sbix] Clean up
7 years ago
Ebrahim Byagowi
218fa7166e
[ot-color] SVG table implementation ( #874 )
7 years ago
Ebrahim Byagowi
4c63c82383
[ot-color] sbix table implementation ( #870 )
7 years ago
Ebrahim Byagowi
62b3d8fb70
[dev-run] minor
7 years ago
Garret Rieger
743ef31761
Merge pull request #872 from googlefonts/drop-tables
...
[subset] Drop the same tables by default as fontTools does.
7 years ago
Ebrahim Byagowi
9206762bbd
Make subset test runner compatible with py3
...
Fixes #873
7 years ago
Ebrahim Byagowi
dbadb871d1
[ci] Enable subset tests on ArchLinux to test
...
This makes ArchLinux bots fail, a starting point to #873
7 years ago
Garret Rieger
39b2f69fab
[subset] Drop the same tables by default as fontTools does.
7 years ago
Garret Rieger
dbe552770f
Merge pull request #871 from googlefonts/mplus
...
[subset] Add a Japanese font to the subset integration tests.
7 years ago
Garret Rieger
8548fa1522
[subset] Drop cmap 12, platform 0 tables from Mplus1p expected files.
7 years ago
Garret Rieger
9b00b9a10d
[subset] Fix deadlock waiting for process output in subset test runner.
7 years ago
Garret Rieger
bfec28a7db
[subset] add some extra logging to subset run-tests.py.
7 years ago
Garret Rieger
c7d814eaa8
[subset] Add japanese font file to subset integration tests.
7 years ago
Garret Rieger
2ebf4c69b1
Merge pull request #868 from googlefonts/post
...
[subset] Drop glyph names from post when subsetting.
7 years ago
Garret Rieger
869ccac5ab
[subset] use create_sub_blob instead of manually copying the post table.
7 years ago