test/subset


Log

Author Commit Date CI Message
Michiharu Ariza 82d4bfb8 2019-06-14T10:49:42 enable cff subset tests add Unicode UCS-4 cmap fix Unicode bits in OS/2 add Unicode cmap sub-table in SourceHanSans-Regular_subset.otf regenerate cff subset test expected results
Ebrahim Byagowi 13316ac5 2019-05-28T13:48:39 [test] minor style improve
Qunxin Liu 993d81b9 2019-05-14T13:55:11 [subset] Add one ttf file with fvar/STAT tables to integration test Ignore gvar/MVAR/HVAR table add support for --nameIDs=* option
Garret Rieger b928de91 2019-05-21T11:23:26 [subset] Add test/subset/data/expected/layout to dist list.
Garret Rieger c740c863 2019-05-16T10:57:33 [subset] Add integration tests for SingleSubst.
Garret Rieger 6555f209 2019-05-15T09:42:38 [subset] Truncate empty gids at the end in retain-gids mode.
Behdad Esfahbod 49b1c763 2019-05-02T16:19:34 [test] Run "fonttools ttx" instead of "ttx"
Qunxin Liu 6faac8df 2019-04-10T16:38:35 [subset] Subsetting Name Table Step 4 Add unit test and integration test
Michiharu Ariza e44b83aa 2019-04-05T10:15:08 replace test font SourceHanSans with its subet
Michiharu Ariza a5e933eb 2019-02-08T14:44:13 Updated expected/cff-japanese fonts with retained FDs
Michiharu Ariza 9328354a 2019-02-04T11:28:15 separate CFF from TrueType in full font tests
Michiharu Ariza ec30a8a9 2019-02-01T15:58:03 removed unused test data
Michiharu Ariza c1286265 2019-02-01T14:50:01 added desubroutinize & retain-gids full test cases with CFF fonts and CFF retain-gids fixes
Garret Rieger e6ffcc59 2019-01-28T18:12:19 [subset] Add expected files for retain-gids integration tests.
Garret Rieger a903f9c2 2019-01-28T17:43:11 [subset] Add some subsetting integration tests covering retain gids.
cclauss 26c5b54f 2018-12-31T04:30:43 CircleCI: Test for Python 3 syntax errors and undefined names (#1522) Catch missing imports and errors like #1520 and #1521 __E901,E999,F821,F822,F823__ are the "_showstopper_" [flake8](http://flake8.pycqa.org) issues that can halt the runtime with a SyntaxError, NameError, etc. Most other flake8 issues are merely "style violations" -- useful for readability but they do not effect runtime safety. * F821: undefined name `name` * F822: undefined name `name` in `__all__` * F823: local variable name referenced before assignment * E901: SyntaxError or IndentationError * E999: SyntaxError -- failed to compile a file into an Abstract Syntax Tree
Behdad Esfahbod 686e6f2e 2018-12-30T11:27:42 Fix automake warnings [skip ci]
cclauss b5c12b9f 2018-12-30T13:07:28 print() is a function in Python 3 (#1520)
Michiharu Ariza d8fadec0 2018-11-04T13:12:20 added desubroutinize full font test profiles & expected fonts modified subset_test_suite.py to apply desubroutinize profiles to CFF only (not to TT)
Michiharu Ariza f5f505b5 2018-10-09T10:10:35 Merge branch 'master' into cff-subset
Behdad Esfahbod cc126f28 2018-10-09T01:10:15 Minor
Michiharu Ariza 321e5923 2018-09-20T10:31:06 Added desubroutinize option to generate-expected-outputs.py Currently hb-subset always desubroutinizes CFF fonts. Note that even with this option fonttools won't generate the expected subset CFF fonts. They were manually created & tweaked to match hb-subset output.
Michiharu Ariza 1377adc8 2018-09-19T17:00:10 Added SourceHanSans-Regular for CFF subset test Disabled FDSelect serialization to format 0 for compatibility with fonttools
Michiharu Ariza bf4eb2e4 2018-09-18T15:53:37 Added SourceSansPro-Regular along as CFF full-font test case derived "expected" subset fonts from fonttools then manually tweaked further so they resemble hb-subset output
Ebrahim Byagowi f57804a8 2018-06-25T18:45:49 Resolve ttx absolute path before use (#1075)
Garret Rieger b0d7971b 2018-05-03T11:22:51 [subset] Updated expected files for japanese subset integration tests to include cmap4.
Garret Rieger 79479273 2018-05-03T11:18:02 [subset] Update expected files for subset integration tests to include cmap4.
violet-sippial 93b03119 2018-04-28T20:29:13 [subset] Do not compare ttx progress output in the tests Suppress progress messages of ttx. This avoids comparing this output to the reference file which lets the test fail.
Garret Rieger 535fb23c 2018-04-18T17:37:39 [subset] Add integration tests for cmap breakge.
Ebrahim Byagowi cab2c2c0 2018-03-29T12:48:47 Make more gen-* scripts py3 compatible (#940)
Chun-wei Fan eda6a5ea 2018-03-12T13:38:01 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.
Ebrahim Byagowi 9206762b 2018-03-09T15:43:03 Make subset test runner compatible with py3 Fixes #873
Garret Rieger 8548fa15 2018-03-07T12:37:03 [subset] Drop cmap 12, platform 0 tables from Mplus1p expected files.
Garret Rieger 9b00b9a1 2018-03-06T17:47:40 [subset] Fix deadlock waiting for process output in subset test runner.
Garret Rieger bfec28a7 2018-03-06T15:43:08 [subset] add some extra logging to subset run-tests.py.
Garret Rieger c7d814ea 2018-03-01T18:20:00 [subset] Add japanese font file to subset integration tests.
Garret Rieger b4ba71ea 2018-02-28T15:44:00 [subset] In subset integration test pass output through ots-sanitize if present.
Garret Rieger 904dd7be 2018-02-27T14:33:36 [subset] Add drop hinting profile to full-font.tests
Garret Rieger 70a1049b 2018-02-27T14:28:50 [subset] Add a drop hints profile to basics.tests
Garret Rieger 5241d7f4 2018-02-27T13:15:40 [subset] apply subset profiles (flags) to the subset integration tests.
Garret Rieger a4aca190 2018-02-27T11:36:16 [subset] add expected/full-font to dist files.
Garret Rieger d31ace32 2018-02-26T18:51:56 [subset] Add subset integration tests using the full roboto font.
Garret Rieger 33f43813 2018-02-26T18:39:09 [subset] Add some more variations of the basic test.
Garret Rieger e15e41ef 2018-02-22T18:41:50 [subset] Remove commented code from run-tests.py.
Garret Rieger 2b844803 2018-02-22T18:38:44 [subset] Update expected files for subsetting integration test to not include cmap 4.
Garret Rieger a88504c6 2018-02-22T14:28:18 [subset] Fix checksum clearning in subset test diff. Add an updated expected file (has cmap4 restored).
Garret Rieger 537698b6 2018-02-22T14:07:52 [subset] Don't compare actual to itself in Fix test/subset/run-tests. Print a diff on failure.
Garret Rieger 04c1ec2b 2018-02-14T17:00:18 [subset] Don't fail on different checksum adjustment in subsetting tests.
Garret Rieger b0eefacf 2018-02-12T18:15:58 [subset] Drop GSUB, GDEF, GPOS, and DSIG from subsetter expected test outputs.
Behdad Esfahbod 41906cd5 2018-02-11T19:46:06 [subset] Another fixup I broke this in c31fcf4c58d96eb7d9781a986991b1a79ac7be44
Ebrahim Byagowi ae6d0259 2018-02-11T15:40:55 Install fonttools on two bots and enable cmake hb-subset test (#777)
Garret Rieger 3e818324 2018-02-08T15:55:12 Disable subset tests on cmake for now.
Garret Rieger 2f941053 2018-02-08T15:55:12 Disable subset tests on cmake for now.
Behdad Esfahbod e081c9e8 2018-02-08T17:44:24 Oops!
Behdad Esfahbod 1c49afe1 2018-02-08T17:38:58 Whitespace
Garret Rieger d4d120ad 2018-02-08T14:26:18 Skip subset to fonttools comparison test if TTX is not present.
Garret Rieger 29d91528 2018-02-08T11:31:27 Whitespace
Garret Rieger f9420d9e 2018-02-08T11:30:36 In the hb-subset to fontTools comparison, use ttx to compare the fonts. This allows for some binary differences such as re-ordered tables.
Garret Rieger 7b01761a 2018-02-02T17:54:11 Add CMakeLists.txt to dist files for subset test.
Garret Rieger f83a43b5 2018-02-02T17:50:45 Add CMake configuration for all of the new subsetting code.
Garret Rieger 06fe297f 2018-02-01T18:36:15 Properly include subset test data files.
Garret Rieger 058b1260 2018-02-01T18:22:14 Re-write hb-subset utility to use main-font-text driver.
Garret Rieger 2763a2c5 2018-02-01T17:14:51 Include subset test files in distribution.
Garret Rieger 38af23b8 2018-01-31T11:32:23 Make the expected output for subsetting basics test be equal to the input file for now.
Rod Sheeter e9d154ac 2018-01-30T19:27:11 tweak test failure output. write to a temp file not stdout. test still fails because expected is not just an identical copy of input
Garret Rieger 76351518 2018-01-30T14:03:16 Remove basic subset test from XFAIL
Garret Rieger b029b7c1 2018-01-29T13:31:49 Whitespace
Garret Rieger 0853260e 2018-01-29T13:30:02 Configure automake to run the new subset tests.
Garret Rieger 5c63c37b 2018-01-26T16:57:42 WIP test runner for subset tests.
Garret Rieger cc46cd88 2018-01-26T14:25:39 In generate-expected-outputs read the test definition with utf8 encoding.
Garret Rieger 4cdae914 2018-01-26T13:57:48 Add basic directory structure for subsetter integration tests. Plus a utility for generating expected output files.