test


Log

Author Commit Date CI Message
Ebrahim Byagowi 2013babc 2020-07-06T11:57:45 [tests] Use HAVE_FREETYPE itself instead NO_FT_FUNCS
jfkthame 1e6027e2 2020-07-05T22:44:10 [aat] Correct array indexing when looking up actions in KerxSubTableFormat4 (#2539) * [aat] Correct array indexing when looking up actions in KerxSubTableFormat4. - For action_type 0 and 1, there are 2 values per action record; for action_type 2, there are 4. So we need to account for these factors when indexing into the ankrData array. Fixes https://github.com/harfbuzz/harfbuzz/issues/2531.
Ebrahim Byagowi aa732e45 2020-07-06T00:10:16 [tests] minor, ligcarets is fetched from gdef not gsub
Ebrahim Byagowi 122a2897 2020-07-05T22:45:11 [aat] Remove lcar support Very low use, only two distinct font files, Apple Chancery.ttf and Hoefler Text.ttc have it so it really doesn't worth the size addition and so, but one may argue that whole ligature caret is low use but guess we better to encourage GDEF one anyway.
Ebrahim Byagowi a3b9b94b 2020-07-06T00:05:21 [style] Remove fdsc support (#2541) It isn't exposed yet and low use between Apple fonts, 32 fdsc table vs 767 OS/2 tables, even Apple doesn't support it anymore per Ned.
Ebrahim Byagowi a470b0b2 2020-07-04T23:56:10 Minor, disable strict-aliasing warning in set fuzzer ../test/fuzzing/hb-set-fuzzer.cc: In function ‘int LLVMFuzzerTestOneInput(const uint8_t*, size_t)’: ../test/fuzzing/hb-set-fuzzer.cc:38:82: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 38 | const instructions_t &instructions = reinterpret_cast<const instructions_t &> (data); | And it is already disabled at project level so let's disable it here also.
Ebrahim Byagowi 4db1b4f1 2020-07-04T15:02:19 [tests] rename no_ft_funcs to NO_FT_FUNCS
Ebrahim Byagowi a07672d3 2020-07-04T14:12:55 [py] minor, replace os.environ.get with os.getenv
Ebrahim Byagowi 43e3ab01 2020-07-02T17:34:24 [tests] make tests work when ft isn't present
Ebrahim Byagowi c4b6bad7 2020-07-02T18:07:01 [tests] revert da95a8c and use the shared hb-shape process
Ebrahim Byagowi 831b0900 2020-06-28T14:31:21 rebase draw test as recent roundf changes
Ebrahim Byagowi cb7fb3cf 2020-06-28T13:41:33 Add test for a783840789c93add42e4d70fdb407eb4ad6e062e
Ebrahim Byagowi 47a0fbec 2020-06-21T02:34:59 [meson] Mark longer tests with slow So one can skip them easily by `meson test -Cbuild --no-suite slow`
Ebrahim Byagowi 08816117 2020-06-20T01:02:50 [fuzzer] Make some use for test_font API calls Making some use for result of some of the test_font calls to make sure compilers in fuzzers aren't just optimizing the calls.
Ebrahim Byagowi b4f34539 2020-06-20T00:47:00 [fuzzer] test more of ot-layout APIs
Ebrahim Byagowi 675854b2 2020-06-19T23:27:39 [test] Add one more test for hb_ot_layout_feature_get_characters
Ebrahim Byagowi 1bac8582 2020-06-18T22:56:07 [layout] Rename _get_alternates to _get_glyph_alternates
Ebrahim Byagowi 1348a2c8 2020-06-16T21:05:16 [layout] hb_ot_layout_lookup_get_alternates, a new API An API to retrieve one-to-one alternates from a given GSUB lookup index.
Khaled Hosny 09dedb1b 2020-06-18T02:29:12 [tests] I’m an idiot
Khaled Hosny 25988554 2020-06-18T02:15:59 [tests] Add test for ReverseChainSingleSubstFormat1 missing substitute https://github.com/harfbuzz/harfbuzz/issues/2467
Ebrahim Byagowi b86bfe52 2020-06-12T01:42:27 minor, fix lists sorting
Ebrahim Byagowi 4e7cb7e2 2020-06-12T01:38:16 minor, fix lists sorting
Qunxin Liu 973c47f6 2020-06-11T11:27:57 [subset] Move 2 experimental public api methods to be private methods in GSUB/GPOS. 2 methods are: hb_ot_layout_closure_lookups and hb_ot_layout_closure_features
Ebrahim Byagowi 2d916622 2020-06-11T19:04:08 [meson] move tests lists to their directories We had to do so for text-rendering-tests list, let's apply the same for the rest also.
Christoph Reiter 03bd6ead 2020-06-03T23:52:10 [meson] Only pass required dependencies to everything Instead of passing dependencies as required we used one giant shared dependency list containing all dependencies for every library/executable. While this kinda works, the specified deps are also used for generating the pkg-config files and this leads to lots of Requires.private and Libs.private entries which aren't really needed. This removes the "deps" array and replaces it with a few smaller ones and makes sure the public libraries only get passed the dependencies actually needed. Fixes #2441
Ebrahim Byagowi 759df465 2020-06-04T15:49:54 [style] Hide behind HB_EXPERIMENTAL_API compile flag
Ebrahim Byagowi d54de568 2020-04-21T16:33:50 [style] Adopt with meson
Ebrahim Byagowi de0ec5f4 2020-02-08T14:09:09 [style] give ptem value when asked for opsz ptem, used for AAT's tracking/`trak` table is equivalent to opsz of variable fonts. For variable AAT fonts, such as SFNS, ideally variable axis of the hb_font_t should be set and equivalent to ptem, https://crbug.com/1005969#c37
Ebrahim Byagowi 22037499 2019-08-04T11:31:31 [style] New experimental API, hb_style_get_value Searches variation axes of a hb_font_t object for a specific axis first, if not set, then tries to get default style values from different tables of the font.
Ebrahim Byagowi 6f7048b9 2020-06-04T10:18:35 [meson] Update subset tests list from autotools
Ebrahim Byagowi bb719915 2020-05-31T12:57:26 [tests/aots] move the update script to update.py
Ebrahim Byagowi b3182299 2020-05-31T12:52:53 [tests/test-rendering-tests] run git pull on correct dir
Ebrahim Byagowi 8a9a8026 2020-05-31T10:51:24 minor, fix extra dist list
Ebrahim Byagowi 419c2d0a 2020-05-31T02:33:36 [test/text-rendering-tests] Adopt the update script with meson
Ebrahim Byagowi 26816560 2020-05-31T02:23:49 [test/text-rendering-tests] Update from upstream
Ebrahim Byagowi ff89ba6e 2020-05-31T02:20:53 [tests] Port text-rendering-tests update script to python
Ebrahim Byagowi a9d13463 2020-05-30T14:17:56 [meson] Categorize tests using `suite: [...]` So one can run a category of interested tests like meson test -Cbuild --suite aots --suite src --print-errorlogs Intead issuing particular tests which also is possible like meson test -Cbuild test-shape --print-errorlogs
Ebrahim Byagowi 0d8442a5 2020-05-29T16:11:32 [meson] minor, find run-tests.py only once
Qunxin Liu 3c5bdd9b 2020-02-18T10:02:19 [subset] GDEF AttachList subsetting support
Ebrahim Byagowi 368ca306 2020-05-29T00:42:32 minor on python scripts * remove not needed imports * remove semicolons
Ebrahim Byagowi ad87155f 2020-05-29T00:11:19 minor, use py3's open(encoding=)
Ebrahim Byagowi cd5580e2 2020-05-28T23:43:55 minor, enable printing to stderr in run-tests.py As was originally intended https://github.com/harfbuzz/harfbuzz/blob/3ce6c7b/test/shaping/run-tests.sh
Ebrahim Byagowi 7554f618 2020-05-28T22:51:29 minor, use sys.exit print shorthand
Qunxin Liu 593e58c8 2020-05-20T18:00:25 [subset] ChainContext subsetting fix: add lookup index remapping
Ebrahim Byagowi b32d169d 2020-05-23T13:03:06 [test] run aat APIs in shape fuzzer
Ebrahim Byagowi 2264a701 2020-05-23T12:14:40 [tests] some more ligature carets tests
Qunxin Liu d7c012a0 2020-02-26T13:11:42 [subset] GDEF Variation Store: step 2 do subset based on variation indices collected in step 1
Ebrahim Byagowi 887aa021 2020-05-21T20:02:47 [meson] Use find_program for locating python script Apparently that is the simplest and supported way of finding python scripts.
Ebrahim Byagowi cc53fd15 2020-05-21T19:33:18 [meson] Normalize options names As https://github.com/harfbuzz/harfbuzz/pull/2412#discussion_r426275027
Ebrahim Byagowi f7562672 2020-05-21T17:01:04 [meson] Use / instead join_paths We need some of the very recent features of meson, let's use the new features also
Ebrahim Byagowi b8d1760b 2020-05-21T14:45:41 [meson/ci] Increase cmap fuzzer timeout even more
Ebrahim Byagowi 4b12b846 2020-05-21T14:23:36 [meson] Increase timeout in hope to resolve Actions' bot timeout
Ebrahim Byagowi 1c4dd79c 2020-05-21T08:49:14 [ci] Increase timeout as gh bot issue isn't resolved by serial test
Ebrahim Byagowi 759ab4fe 2020-05-21T08:24:15 [meson] Use subdir_done to simplify test/api/meson.build
Ebrahim Byagowi 8667df55 2020-05-21T07:19:37 [meson] Unbreak the build, oops
Ebrahim Byagowi 37f9cccc 2020-05-21T07:17:18 [meson] Don't run subset tests in parallel Hopefully resolves https://github.com/harfbuzz/harfbuzz/runs/695051808#step:6:700 for now
Ebrahim Byagowi 791debdc 2020-05-21T07:15:09 [meson][ci] Don't run subset fuzzer test in parallel resolves https://github.com/harfbuzz/harfbuzz/runs/695051808#step:6:595 failure
Ebrahim Byagowi 8a5368e2 2020-05-21T07:00:40 [tests] Enable more gid misc calls on draw fuzzer
Ebrahim Byagowi c68ab4b5 2020-05-21T00:25:17 Fix _get_ligature_caret's oob read issue AAT::Lookup has no other way to detect whether it is returned from a real and sanitized font data or from a null pool, this checks if the table has been recognized valid by sanitizer by checking table's major version which is zero if returned from a null pool and non-zero if is from a sanitized font data, it is expected the other calls of the table (unlikely to have more calls however) also do a similar version check before calling the lookups used on the table.
Ebrahim Byagowi 57886e21 2020-05-21T06:29:33 [test] Enable tests fixed by 461cd5a which was regressed by b986fea
Qunxin Liu 8b5d3ebd 2020-04-17T11:58:31 [subset] GSUB5/GPOS7 Contextual Subst/Pos Subtbale Subsetting support
Ebrahim Byagowi ca2705f1 2020-05-21T00:05:42 [tests] Add more tests for _get_ligature_carets
David Corbett b207eab8 2020-04-30T11:53:21 Round-trip OpenType tags through BCP 47
Ebrahim Byagowi 0722889a 2020-05-15T10:10:27 [meson] increase subset tests timeout https://github.com/harfbuzz/harfbuzz/runs/676665822#step:6:570 fails because meson runs the tests in parallel, correct fix will be making the tests smaller
Behdad Esfahbod c1514644 2020-05-14T19:12:41 Merge pull request #2264 from harfbuzz/unicode-13 Update to Unicode 13.0.0
Qunxin Liu b2a965df 2020-04-22T15:58:41 [subset] Add support for "--gids" option cmap subsetting now retains entries associated with any glyph ids explicitly requested
jfkthame 100d40c8 2020-05-06T01:48:24 [aat] Fix implementation of AAT kerning for Geeza Pro. (#2388) * [aat] Fix implementation of AAT kerning for Geeza Pro. Despite what the comment in the code used to say, it appears that Geeza Pro does rely on accumulating kerning values from successive subtables. With this change, the results now match Core Text rendering (and avoid the clear visual breakage reported in #2358). Testcase: U+0644,U+064E,U+0645,U+064E,U+0651,U+0627 Fixes #2358. * [aat] Update test expectations, add new testcase.
David Corbett fd748fac 2020-03-15T15:59:31 Update to Unicode 13.0.0
Qunxin Liu e53c44e3 2020-04-24T14:06:13 [subset] temporarily revert previous cmap commit Required in https://github.com/harfbuzz/harfbuzz/issues/2356
Evgeniy Reizner 05be05eb 2020-04-22T13:34:51 [kern] Test format 3.
ckitagawa b22f61d8 2020-04-21T11:49:05 Fix bug
Ebrahim Byagowi 750bb73e 2020-04-21T01:13:13 [meson] Add an experimental-api option
Ebrahim Byagowi 0181f030 2020-04-20T17:07:09 [test] Workaround Windows pipe issue by storing ttx in a file
Ebrahim Byagowi ac26f19c 2020-04-19T22:25:14 Refactor test/api/meson.build and always run test-unicode test
Ebrahim Byagowi c6b3f73b 2020-04-19T00:54:24 [meson] Make harfbuzz-icu separate module optout-able
Christoph Reiter 8ae06c94 2020-04-18T20:22:45 meson: build a separate library for harfbuzz-icu This adds a seperate library like with autotools. This also fixes the ico feature option which was just set to required:false when disabled instead of really disabling it. Disabling is still broken with msvc because it then tries to find the library another way, but that's broken for all other deps as well so I left it as is. For tests only test-unicode.c is using icu specific functions so split it out into its own category which depends on harfbuzz-icu. Fixes #2338
Christoph Reiter 2354a900 2020-04-18T20:28:25 tests: fix subset/run-tests.py under Windows It assumed that stdout of a subprocess in binary mode was using utf-8 which isn't the case. Instead open stdout of the subprocess in text mode and let Python handle the decoding.
ariza 22f7c61a 2020-04-17T23:49:51 implement SID to glyph ID mapping with predefined Charset Also fixes oss-fuzz 21769
Ebrahim Byagowi fefaa8c8 2020-04-17T22:28:09 [test] define G_APPROX_VALUE and EPSILON only when used resolves -Weverything bot complain
Ebrahim Byagowi 29c90322 2020-04-17T22:11:40 Move hb_ot_layout_closure_{features,lookups} behind EXPERIMENTAL flag
Ebrahim Byagowi 9b7fb5c2 2020-04-17T20:12:24 Move hb_font_get_var_coords_design behind HB_EXPERIMENTAL_API
Ebrahim Byagowi a5e5a790 2020-04-16T01:38:43 [tests] Enable the just added macOS test for older version The test is added in 7035c9cd but the same font is available in older versions of macOS so let's run it in older versions also. It doesn't matter much, more for consistency reasons.
Jonathan Kew 7035c9cd 2020-04-03T19:00:42 Add test for #2290. This tests that we can set two separate Type=Ligature selectors at the same time, common=off + discretionary=on.
Qunxin Liu 0d569598 2020-04-05T18:44:26 [subset] fixes dangling object_t issue in FeatureVariationRecord Fixes https://crbug.com/oss-fuzz/21560 revert () does not clean up useless object_t. Adjust the order of subsetting substitutions and conditions to avoid dangling object_t.
Ebrahim Byagowi 57b7de03 2020-04-05T17:07:48 [subset] Fail ClassDefFormat1 serialization if no space available Fixes https://crbug.com/oss-fuzz/21580
Qunxin Liu c8cc1e37 2020-04-02T16:57:01 fix issues in ClassDefFormat1 serialize: glyph ids in Iterator may be non-consecutive, so the number in classValue might be larger than length of the Iterator
Ebrahim Byagowi 4a49b36a 2020-04-03T19:36:48 [tests/macos] Adopt added Apple Chancery tests with older macos versions
Jonathan Kew 548a2525 2020-04-03T16:18:20 Add a test for #2307.
Jonathan Kew 120d86fa 2020-04-03T15:10:14 Add tests for #2305.
Ebrahim Byagowi 89fa70f5 2020-04-03T00:05:40 [aat] minor over previous feat related changes
Jonathan Kew 58b4d18b 2020-04-02T17:54:09 Add a couple testcases for issue 2285. A few simple testcases to confirm that setting liga=0 does not break shaping with the Tibetan AAT font Kokonor, but does still disable common ligatures in Times.
Garret Rieger 014e038b 2020-03-31T16:29:29 [subset] Bail out of context lookup expansion once the lookup limit is encountered.
Garret Rieger 5d345d0c 2020-03-31T17:46:19 [subset] Limit the number of lookup indices processed subsetting Feature. > Also, remove two unnessecary full iterations of the lookup index iterator during serialization of the index array. Fixes fuzzer found timeout.
Ebrahim Byagowi 96d792ae 2020-03-24T14:05:47 [avar] Prevent mul overflow Fixes https://crbug.com/oss-fuzz/21350
Garret Rieger 4ad686b9 2020-03-25T23:32:28 [subset] fix fuzzer timeout in layout closure Bail out of chain context lookup expansion once the lookup limit is encountered.
Ebrahim Byagowi 7054b122 2020-03-24T22:35:41 [meson] Mark rest of non-install executables explicitly
Ebrahim Byagowi 68df3f7d 2020-03-24T20:58:38 [meson] test/api, separate subset tests
Ebrahim Byagowi 600bf21f 2020-03-24T20:08:40 [meson] Add draw-fuzzer runner
Ebrahim Byagowi 28deb6b7 2020-03-24T19:41:53 [meson] test/fuzzing simplify
Ebrahim Byagowi 78622231 2020-03-24T19:39:42 [meson] More comment on tests are causing timeout failure