test/api


Log

Author Commit Date CI Message
Garret Rieger fc246ec9 2018-06-07T15:54:19 [subset] Move variable declaration out of loop.
Garret Rieger 197cb18b 2018-06-07T15:32:52 [subset] Add test cases for gsub closure in subsetting.
Behdad Esfahbod 11f1f413 2018-06-06T16:46:50 [set] Add is_subset New API: +hb_set_is_subset()
Behdad Esfahbod 0644d92e 2018-05-08T15:21:09 Merge pull request #1018 from googlefonts/cmap4 [subset] Add cmap format 4 subsetting.
Behdad Esfahbod f673cfbd 2018-05-07T13:58:32 Support scripts that are written both LTR and RTL Right now only Old Italic is marked as such. Fixes https://github.com/harfbuzz/harfbuzz/issues/1000
Garret Rieger a8e7f9b9 2018-05-03T10:59:00 [subset] Get cmap tests passing again.
Garret Rieger c817992f 2018-05-03T10:53:20 [subset] Write out a format 4, plat 0 encoding record to match fontTools.
Ebrahim Byagowi ce17340b 2018-04-20T10:29:06 Add hb_blob_create_from_file, a new API (#926)
Garret Rieger 4fa1c670 2018-04-19T15:30:35 [subset] Check instruction offsets in glyph to ensure they are in bounds.
Garret Rieger e29c8e33 2018-04-18T17:32:43 [subset] Add a test for previous cmap breakage.
Garret Rieger 5dadbb0f 2018-04-17T07:00:23 [subset] Add implementation of cmap format 12 codepoint listing. (#988)
Garret Rieger 21a181af 2018-04-10T15:40:24 [subset] sketch out support for a call that lists all codepoints present in a font. Implement support for it in format 4 cmap sub table.
Ebrahim Byagowi f24b0b97 2018-04-12T13:40:45 Update the links and revive the dead ones
Garret Rieger 1c337278 2018-03-27T10:42:19 [subset] fix infinite loop bug in looping through tables for subsetting.
Garret Rieger 07851aae 2018-03-26T20:56:56 [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.
Behdad Esfahbod 44b6c77c 2018-03-26T14:26:45 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)
Garret Rieger 13966140 2018-03-20T16:55:42 [subset] don't use pointers returned from push after array has resized in hb-subset-glyf.cc
Garret Rieger 3531efdb 2018-03-20T16:31:21 [subset] Fixed out of bounds read when subsetting hdmx.
Garret Rieger e597436b 2018-03-20T13:00:49 [subset] Disable glyf accelerator_t methods if it didn't successfully init.
Garret Rieger 7251181b 2018-03-20T11:21:06 [subset] Fix infinite loop in there are more then 32 tables.
Garret Rieger 1a94804d 2018-03-19T18:39:22 [subset] Add a fix for segfault in hmtx/vmtx subsetting code.
Garret Rieger 31281d6a 2018-03-19T17:47:57 [subset] Add a test demonstrating a seg fault while subsetting hmtx.
Behdad Esfahbod e6e2ee2b 2018-03-15T09:05:22 Remove extra stdbool includes They are handled in our common header.
Chun-wei Fan 831d4a2d 2018-03-12T13:48:55 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.
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.
Garret Rieger ec47cd95 2018-03-07T10:33:02 [subset] Unit test to check that post subsetting drops glyph names.
Garret Rieger 362f2824 2018-03-07T11:08:55 [subset] fix author.
Garret Rieger 89465cb1 2018-03-07T10:29:15 [subset] s/hmetrics/vmetrics.
Garret Rieger 91867cda 2018-03-07T10:17:06 [subset] cleanup.
Garret Rieger d9263f02 2018-03-06T15:40:35 [subset] add unit tests for vmtx subsetting.
Behdad Esfahbod 70ad69f2 2018-03-07T16:11:44 [test] Fix build with older glib
Garret Rieger 9a6f9b4d 2018-03-06T13:46:51 [set] add a test demonstrating a bug in hb_set_union.
rsheeter 588a4e0f 2018-02-28T13:52:29 Merge pull request #845 from googlefonts/drophints [subset] drop hints from composites
Ebrahim Byagowi 77227462 2018-02-28T12:05:49 Merge pull request #841 from ebraminio/color Support CPAL table
Ebrahim Byagowi 0eec3315 2018-02-28T11:53:39 [cmake] cleanup (#846)
Ebrahim Byagowi 5b9c2340 2018-02-27T22:56:17 [CPAL] Refactor and address the reviews
Rod Sheeter ffcb5cbf 2018-02-27T20:17:04 [subset] update the test file for composite, fix an offset calculation
Rod Sheeter c8b230e4 2018-02-27T17:25:32 Merge branch 'expand-tests' of github.com:googlefonts/harfbuzz into drophints
Rod Sheeter b3790a65 2018-02-27T17:23:30 [subset] add a (failing for now) test for composite glyf hint dropping
Garret Rieger f14d1b64 2018-02-27T13:49:00 [subset] when dropping hints, clear hint related fields in maxp.
Ebrahim Byagowi 101850f9 2018-02-27T20:15:54 Merge with master
rsheeter 4a1d51ef 2018-02-26T20:23:41 Merge pull request #818 from googlefonts/drophints [subset] Drop hints
Ebrahim Byagowi cd28eb9f 2018-02-24T14:17:54 Add -Werror=unused-function check to Travis (#832)
Rod Sheeter 5267520e 2018-02-23T18:36:22 [subset] update hdmx test to create input explicitly
Rod Sheeter d78393b5 2018-02-23T17:53:26 Merge branch 'master' of https://github.com/harfbuzz/harfbuzz into drophints
Rod Sheeter 0ac8c0c1 2018-02-23T17:43:00 [subset] zero glyf and loca memory before writing so pads are clean. Test just the part of maxp we care about
Rod Sheeter 9bd6d252 2018-02-23T13:05:58 [subset] clone trim logic from fonttools glyf handling
Garret Rieger 15fc45bf 2018-02-21T17:59:57 [subset] Add a unit test for hdmx subsetting.
Rod Sheeter 4f07437d 2018-02-21T22:23:05 [subset] sketch out dropping in-glyf instructions. Sometimes yields differnet size glyphs than fonttools, possibly due to padding not being corrected
Behdad Esfahbod 0bff6991 2018-02-19T11:51:25 Ugh. Really fix build.
Behdad Esfahbod 279c70a5 2018-02-18T14:04:33 Merge pull request #796 from ebraminio/dev-run Add a continuous builder using fswatch
Ebrahim Byagowi 89b82814 2018-02-16T12:53:33 Add a continuous builder using fswatch
Behdad Esfahbod 0bd2d76b 2018-02-18T11:55:26 [test] Fix a couple of coverity_scan issues
Behdad Esfahbod fe8f40a4 2018-02-18T10:45:33 Merge branch 'master' into bitops
Behdad Esfahbod 04dedec9 2018-02-16T18:32:57 [test] Remove unused var
Behdad Esfahbod 6d56db89 2018-02-16T17:02:57 [test/api] Distribute all fonts
Garret Rieger df9e2265 2018-02-16T17:02:51 [subset] add a glyf subsetting test for a font with composite glyphs.
Garret Rieger c36d015b 2018-02-16T17:02:15 [subset] missing return.
Behdad Esfahbod 7b5ce740 2018-02-16T15:37:22 Fix warnings
Rod Sheeter c7a633f9 2018-02-16T11:11:20 [subset] try to get more info from bot where g_assert_cmpmem fails
Rod Sheeter 0bb2d7ac 2018-02-16T06:26:02 [subset] fix int type for blob length in hb-subset-test.h
Rod Sheeter 6122ad24 2018-02-15T11:40:28 [subset] add files to EXTRA_DIST
Rod Sheeter 27012526 2018-02-14T19:01:00 [subset] whitespace
Garret Rieger e0ffebea 2018-02-14T16:01:08 [subset] In hb-subset-test use hb_set_union instead of manually copying set.
Rod Sheeter fa877703 2018-02-14T14:16:25 [subset] First pass at hmtx
Garret Rieger e5edcc81 2018-02-14T11:17:53 [subset] Fix codepoint iteration in hb-subset-test.
Garret Rieger 8b1dbbef 2018-02-14T11:04:12 Fix compile error in hb-subset-test.
Behdad Esfahbod f53627e1 2018-02-14T10:59:22 [test] Fix warning
Garret Rieger d008b628 2018-02-14T10:38:52 Merge remote-tracking branch 'upstream/master' into fixed
Garret Rieger df6d7803 2018-02-12T17:56:17 [subset] Extract maxp subsetting into hb-ot-maxp-table.
Garret Rieger 865b6971 2018-02-12T17:42:20 [subset] Add a test for OS/2 fixes during subsetting.
Behdad Esfahbod 694eaf63 2018-02-14T01:00:10 [set] Add backwards iterator New API: - hb_set_previous() - hb_set_previous_range()
Behdad Esfahbod 9046e924 2018-02-13T22:07:12 [subset] Rename constructor to hb_subset_input_create_or_fail() To signify that unlike rest of library, returns nullptr on failure.
Behdad Esfahbod d5b33f2f 2018-02-13T13:50:50 [subset] hb_subset_input_t changes
Garret Rieger 8cf8b78f 2018-02-12T16:30:21 [subset] whitespace
Rod Sheeter 89ee20f1 2018-02-12T16:01:15 basic wiring for a (failing) cmap test
Garret Rieger 1639bdd3 2018-02-12T13:40:42 [subset] Remove test-subset, testing is planned to be done at the table level here with test/subset covering the complete subsetting operation.
Garret Rieger 4cdd1b16 2018-02-12T13:36:28 [subset] added todo in test-subset-glyf.
Garret Rieger 1714feef 2018-02-12T13:35:17 [subset] re-enable test-subset-glyf. Refactor to use common functions in hb-subset-test.h
Garret Rieger d8d8bd84 2018-02-12T13:33:55 [subset] Add some helper functions for writing tests around subsetting.
Behdad Esfahbod d33ba163 2018-02-11T18:26:41 Fix more warnings
Behdad Esfahbod 6c1848b1 2018-02-10T15:52:35 Misc warning fixes
Behdad Esfahbod 4c5bdb4b 2018-02-10T15:40:54 [test] Disable test-subset-glyf for now
Behdad Esfahbod 43314ff4 2018-02-10T15:40:03 More fixes test-subset-glyf still failing. No idea why :(
Behdad Esfahbod 9682ef13 2018-02-08T17:35:57 Minor fixups
Garret Rieger 0f3c756c 2018-02-08T14:59:32 Add CMake config for building a separate harfbuzz-subset.
Garret Rieger f2ceb5ee 2018-02-07T16:47:31 Comment out failing assert in test-subset-glyf for now. Should be re-enabled once hb_subset is writing out a new face.
Garret Rieger 89dbebd4 2018-02-07T16:32:56 Add a basic test for glyf subsetting.
Behdad Esfahbod c479a599 2018-02-07T21:13:10 [subset] Assemble font
Behdad Esfahbod f7010041 2018-02-07T13:58:23 [test] Minor
Behdad Esfahbod af02812f 2018-02-07T13:07:46 [subset] Change hb_subset API to remove hb_subset_face_t
Garret Rieger 7481f0ce 2018-02-05T16:05:12 Add codepoints to subset input.
Ebrahim Byagowi 8cb8bfd5 2018-02-06T20:40:42 [test] Fix test-subset on old distros (#758) https://developer.gnome.org/glib/stable/glib-Testing.html#g-assert-cmpmem
Behdad Esfahbod b7b7f0ac 2018-02-05T19:40:31 [test] Minor
Garret Rieger 5f6eb125 2018-02-05T10:23:38 Add libharfbuzz-subset.la to linking when building api tests.
Garret Rieger 76b84c36 2018-01-31T14:53:28 Whitespace
Garret Rieger a2965f2e 2018-01-31T14:53:09 Add a basic implementation of hb-subset to enable compilation of test-subset.
Garret Rieger b59c08eb 2018-01-31T11:14:53 Add the beginning of a unit test for hb-subset
Ebrahim Byagowi e849b8a8 2018-01-19T16:12:24 [cmake] Always put test/api/CMakeLists.txt on distributions
Ebrahim Byagowi 2dbdeb14 2017-12-29T23:13:29 [cmake] Run fuzzing and shaping tests (#666)