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
Rod Sheeter
b3790a65a1
[subset] add a (failing for now) test for composite glyf hint dropping
7 years ago
Garret Rieger
f14d1b64c2
[subset] when dropping hints, clear hint related fields in maxp.
7 years ago
Ebrahim Byagowi
cd28eb9f5d
Add -Werror=unused-function check to Travis ( #832 )
7 years ago
Rod Sheeter
5267520e07
[subset] update hdmx test to create input explicitly
7 years ago
Rod Sheeter
0ac8c0c1e6
[subset] zero glyf and loca memory before writing so pads are clean. Test just the part of maxp we care about
7 years ago
Rod Sheeter
9bd6d25254
[subset] clone trim logic from fonttools glyf handling
7 years ago
Garret Rieger
e15e41ef12
[subset] Remove commented code from run-tests.py.
7 years ago
Garret Rieger
2b84480343
[subset] Update expected files for subsetting integration test to not include cmap 4.
7 years ago
Garret Rieger
a88504c601
[subset] Fix checksum clearning in subset test diff. Add an updated expected file (has cmap4 restored).
7 years ago
Garret Rieger
537698b601
[subset] Don't compare actual to itself in Fix test/subset/run-tests. Print a diff on failure.
7 years ago
Garret Rieger
15fc45bfed
[subset] Add a unit test for hdmx subsetting.
7 years ago
Rod Sheeter
4f07437dfe
[subset] sketch out dropping in-glyf instructions. Sometimes yields differnet size glyphs than fonttools, possibly due to padding not being corrected
7 years ago
Behdad Esfahbod
0bff6991de
Ugh. Really fix build.
7 years ago
Ebrahim Byagowi
b095ce59eb
Simplify hb-fuzzer output printing and fix ArchLinux bot
7 years ago
Behdad Esfahbod
e2d2d81984
Limit how much work sanitize() can do
...
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6022
7 years ago
Behdad Esfahbod
246e280d88
[test] Add test for https://github.com/harfbuzz/harfbuzz/issues/740
7 years ago
Ebrahim Byagowi
89b82814b6
Add a continuous builder using fswatch
7 years ago
Behdad Esfahbod
0bd2d76bdd
[test] Fix a couple of coverity_scan issues
7 years ago
Behdad Esfahbod
04dedec96b
[test] Remove unused var
7 years ago
Behdad Esfahbod
6d56db8983
[test/api] Distribute all fonts
7 years ago
Garret Rieger
df9e22656d
[subset] add a glyf subsetting test for a font with composite glyphs.
7 years ago