Ebrahim Byagowi
cab2c2c08c
Make more gen-* scripts py3 compatible ( #940 )
7 years ago
Garret Rieger
1c3372786c
[subset] fix infinite loop bug in looping through tables for subsetting.
7 years ago
Garret Rieger
07851aae9d
[subset] Couple of fixes for fuzzer discovered issues. ( #924 )
...
* [subset] sanitize individual DeviceRecord's as part of hdmx sanitization.
* [subset] Fix out of bounds read with non-two byte align glyphs.
* [subset] Just use size_device_record >= DeviceRecord::min_size.
* [subset] Add TODO.
* [subset] Re-order checks in hdmx sanitize.
7 years ago
Behdad Esfahbod
44b6c77c64
Try fixing linking again
...
Before 1.7.5, we were setting -fno-exceptions etc on CXXFLAGS. In 1.7.6
we set it as CPPFLAGS. Try fixing. Also, I'm fairly sure it's safe to
set these unconditionally.
Fixes https://github.com/harfbuzz/harfbuzz/issues/880 (or so I hope)
7 years ago
Garret Rieger
1396614040
[subset] don't use pointers returned from push after array has resized in hb-subset-glyf.cc
7 years ago
Garret Rieger
3531efdb4c
[subset] Fixed out of bounds read when subsetting hdmx.
7 years ago
Garret Rieger
e597436b99
[subset] Disable glyf accelerator_t methods if it didn't successfully init.
7 years ago
Garret Rieger
7251181b56
[subset] Fix infinite loop in there are more then 32 tables.
7 years ago
Garret Rieger
1a94804d35
[subset] Add a fix for segfault in hmtx/vmtx subsetting code.
7 years ago
Garret Rieger
31281d6a17
[subset] Add a test demonstrating a seg fault while subsetting hmtx.
7 years ago
Garret Rieger
b5c7d6cffc
[subset] Restore subset to hb-subset-fuzzer.
7 years ago
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
e6e2ee2b92
Remove extra stdbool includes
...
They are handled in our common header.
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
Ebrahim Byagowi
9206762bbd
Make subset test runner compatible with py3
...
Fixes #873
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
ec47cd95ba
[subset] Unit test to check that post subsetting drops glyph names.
7 years ago
Garret Rieger
362f282406
[subset] fix author.
7 years ago
Garret Rieger
89465cb1c7
[subset] s/hmetrics/vmetrics.
7 years ago
Garret Rieger
91867cda6a
[subset] cleanup.
7 years ago
Garret Rieger
d9263f0230
[subset] add unit tests for vmtx subsetting.
7 years ago
Behdad Esfahbod
70ad69f244
[test] Fix build with older glib
7 years ago
Garret Rieger
9a6f9b4d42
[set] add a test demonstrating a bug in hb_set_union.
7 years ago
Behdad Esfahbod
bcf578fefe
[test] Add test suite for Brahmi Number Joiners
...
https://github.com/harfbuzz/harfbuzz/pull/660
7 years ago
Garret Rieger
b4ba71ea7c
[subset] In subset integration test pass output through ots-sanitize if present.
7 years ago
Ebrahim Byagowi
0eec33154a
[cmake] cleanup ( #846 )
7 years ago
Ebrahim Byagowi
5b9c234043
[CPAL] Refactor and address the reviews
7 years ago
Rod Sheeter
ffcb5cbf71
[subset] update the test file for composite, fix an offset calculation
7 years ago
Garret Rieger
904dd7beea
[subset] Add drop hinting profile to full-font.tests
7 years ago
Garret Rieger
70a1049b3f
[subset] Add a drop hints profile to basics.tests
7 years ago
Garret Rieger
5241d7f4b9
[subset] apply subset profiles (flags) to the subset integration tests.
7 years ago
Garret Rieger
a4aca190a9
[subset] add expected/full-font to dist files.
7 years ago
Garret Rieger
d31ace3274
[subset] Add subset integration tests using the full roboto font.
7 years ago
Garret Rieger
33f4381314
[subset] Add some more variations of the basic test.
7 years ago