test/subset


Log

Author Commit Date CI Message
Qunxin Liu cb5a6b5a 2021-05-19T17:33:46 [subset] support option --layout-features
Qunxin Liu f739e1dc 2021-05-11T11:44:32 [subset] subset both CPAL and COLRv1
Garret Rieger a08900b7 2021-05-04T16:48:41 [subset] fix failing colrv0 subsetting when font has composite glyphs. Composite glyph collection was happening along side colrv0 glyph collection which meant it was possible to miss grabbing the component glyphs for a glyph added by colrv0.
Garret Rieger b07b97d5 2021-03-29T10:39:38 [subset] Add more Noto Nastaliq test cases.
Garret Rieger 92757f68 2021-04-22T15:18:35 [subset] Don't drop anchor device tables when dropping hints. These may contain variation data. Update subseting expected files to match latest version of fontTools.
Garret Rieger 6fddc2bb 2021-04-01T15:34:17 [subset] subset layout tables (G*) by default.
Garret Rieger 4ec18c85 2021-04-02T15:33:54 [subset] add subsetting tests with drop hints and layout subsetting enabled.
Garret Rieger 596f4258 2021-04-02T12:41:09 [subset] copy Lookup::markFilteringSet when subseting.
Garret Rieger c35d7863 2021-04-01T14:32:38 [subset] never drop the 'pref' feature. Never ever drop feature 'pref', even if it's empty. Harfbuzz uses it to choose the shaper for Khmer.
Garret Rieger 85b07287 2021-03-25T12:17:18 Add full variable font subsetting test.
Garret Rieger b10741ca 2021-03-25T19:14:48 [subset] when closing glyphs in context lookups don't use a current glyph set if a lookup is already applied.
Garret Rieger 2773d057 2020-11-04T11:11:16 [subset] Add a test case using NotoNastaliqUrdu.
Qunxin Liu 95230e29 2021-03-18T17:41:25 [subset] support subsetting GSUB8
Garret Rieger 01044099 2021-02-16T11:38:14 Fix repack_tests for distcheck.
Garret Rieger b8b8c58b 2020-11-10T11:56:09 [subset] add tests that check for successful repacking of a real font file.
Qunxin Liu 56ca4357 2021-01-28T15:21:26 [subset] fix for collect_features and remove_redundant_lamngsys previously remove_redundant_sys () is missing in harfbuzz, after redundant langsys removal, some features are removed as well in prune_features() in fonttools. This change is trying to get the same result between harfbuzz and fonttools.
Garret Rieger 69d772e5 2021-03-17T14:11:16 [subset] Fixed test gsub5 test files.
Qunxin Liu 0e1c0fa4 2021-01-12T10:17:14 [subset] optimize glyph closure method: step 5 add testcase and some fixes
Garret Rieger b1b1486d 2021-03-16T13:32:23 [subset] update expected files to not include cmap12 pruning.
Garret Rieger 190b7a98 2020-10-08T14:44:54 [subset] Update PairPosFormat2 subsetting to match fontTools updated subsetting (https://github.com/fonttools/fonttools/pull/2221) - subset class def 1 against the coverage table. - Don't re-use class 0 in class def 2. - Ignore class 0 glyphs for the purposes of determing format 1 vs format 2 encoding for ClassDef. Add an additional test case which demonstrates these issues.
Garret Rieger 00d92763 2020-10-14T14:48:11 Add gpos9 expected files to Makefile.am
Garret Rieger 08a4997f 2020-10-06T13:02:12 [subset] Add subset support for Extension lookups (GPOS 9, GSUB 7).
Behdad Esfahbod eb069f39 2021-02-10T19:13:51 [tests] Update expected output of recently-merged gpos5 The merged PR was from before landing this: commit 7a72b20aa2b604053696e731185a17286de73b08 Author: Garret Rieger <grieger@google.com> Date: Thu Sep 24 15:58:48 2020 -0700 [subset] Subset GDEF during layout subsetting tests.
Behdad Esfahbod c7d232ce 2021-02-10T18:13:38 Merge pull request #2701 from googlefonts/Mark-To-Ligature_grieger [subset] GPOS 5 MarkToLigature subsetting support
Khaled Hosny 554aaa0c 2021-02-10T22:25:16 [build] Fix make distcheck A regression from 7b77ce0507e18fb981a9b865f3eaac0c2ae06044. It was caught by the CI build in the PR, but apparently we are now used to CI failures that they are effectively ignored. Also, yay for multiple build systems.
Garret Rieger be33704c 2020-10-09T16:46:46 Add gpos 5 tests to meson build file.
Qunxin Liu 3a0b05fa 2020-02-06T15:08:26 [subset] GPOS 5 MarkToLigature subsetting support
Garret Rieger 010accb3 2020-09-28T17:39:09 [subset] Add additional test cases for the Amiri tests.
Garret Rieger 3271a7cd 2020-09-28T16:46:15 [subset] Remove redundant langys from Amiri test font. FontTools removes these when subsetting but harfbuzz does not yet support redundant langsys removal. So this gets the Amiri tests passing for now.
Garret Rieger 9fad5402 2020-09-28T13:24:25 [subset] check that sub rules in ContextFormat 1 and 2 intersect the glyphs set before recursing during closure lookups.
Garret Rieger 7b77ce05 2020-09-24T16:35:59 [subset] Add subsetting integration test using Amiri. Demonstrates a failure in subsetting GPOS 8/GSUB 6.
Garret Rieger 7a72b20a 2020-09-24T15:58:48 [subset] Subset GDEF during layout subsetting tests.
Ebrahim Byagowi 6e32145d 2020-08-13T00:13:06 [meson] Make compatbile with 0.47.0
Ebrahim Byagowi 51933578 2020-08-11T23:51:59 Revert "Remove autotools build support" This reverts commit 01ac32aab2109681abc58bb2f96a4ef4a7f0c6df.
Ebrahim Byagowi 01ac32aa 2020-08-02T11:35:55 Remove autotools build support
Ebrahim Byagowi d38d6331 2020-07-27T09:19:29 [tests] minor
Ebrahim Byagowi 322426f8 2020-07-27T09:03:35 [tests] Use TTFont of fonttools to avoid temp files
Hamidreza Bayat 08fef158 2020-07-26T17:16:07 Use fonttools's python package instead of cli
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 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 6f7048b9 2020-06-04T10:18:35 [meson] Update subset tests list from autotools
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
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
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 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 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 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
Qunxin Liu 8b5d3ebd 2020-04-17T11:58:31 [subset] GSUB5/GPOS7 Contextual Subst/Pos Subtbale Subsetting support
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
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
Qunxin Liu e53c44e3 2020-04-24T14:06:13 [subset] temporarily revert previous cmap commit Required in https://github.com/harfbuzz/harfbuzz/issues/2356
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
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.
Ebrahim Byagowi 29c90322 2020-04-17T22:11:40 Move hb_ot_layout_closure_{features,lookups} behind EXPERIMENTAL flag
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 78622231 2020-03-24T19:39:42 [meson] More comment on tests are causing timeout failure
Ebrahim Byagowi b5526a09 2020-03-18T23:58:20 [tools] Remove in-house 'which' now that we have py3
Ebrahim Byagowi 12df69e5 2020-03-11T21:52:43 Minor, delete not needed cmake testing file
Ebrahim Byagowi 943bfeda 2020-03-11T20:30:41 [meson] Enable more of the subset tests
Ebrahim Byagowi c494d7ab 2020-03-11T19:44:13 Remove cmake testing and add meson build bot CMake tests are broken anyway as py3 changes so let's get rid of them
Ebrahim Byagowi 1c3f80ba 2020-03-11T19:29:47 [meson] Minor updates
Tim-Philipp Müller 8fc66dbf 2018-12-01T21:15:33 meson: tests: subset: no need to check for 'which' command any more Test runner script now handles that.
Mathieu Duponchelle d4a72373 2018-05-17T16:25:22 meson: all tests passing on Windows / MSVC
Mathieu Duponchelle 920efc0e 2018-05-17T01:28:53 Add Meson build definitions Fixes #490 http://mesonbuild.com
Qunxin Liu 5ad761b9 2020-02-11T13:05:40 [subset] GDEF MarkGlyphSets subsetting support
Qunxin Liu fcd7f33b 2020-02-10T10:36:50 [subset] GDEF glyphClassDef subsetting support glyphClassDef uses the same ClassDef format. However, glyphClassDef table uses predefined class values so we do not remap class values.
Garret Rieger 41122542 2020-02-20T13:43:06 Fix glyph closure for alternate substitution. It was not filtering on the glyphs to be retained.
Ebrahim Byagowi 8d199077 2020-02-19T14:56:55 Remove python2 support from tests/utils scripts
Qunxin Liu 493e40ff 2020-02-18T13:09:08 [subset] add one empty byte to glyf table if it's going to end up empty after subsetting This will make OTS happy and match what fontTools is doing now.
Qunxin Liu eb7849a8 2020-02-05T15:29:03 [subset] GPOS6 MarkToMark subsetting support
Qunxin Liu 82afc758 2020-02-04T13:24:37 [subset] GPOS4 MarkBase subsetting support
Ebrahim Byagowi 43253e40 2020-02-05T17:45:19 Merge remote-tracking branch 'upstream/master'
Ebrahim Byagowi a7f694d4 2020-02-05T16:31:21 Merge branch 'subset_cblc' into master
ckitagawa-work 774725b4 2020-02-05T07:43:10 [subset] Avoid incorrectly dropping cmap for NotoColorEmoji.ttf NotoColorEmoji.ttf uses two cmap subtables Format 14 | Platform ID 0 | Platform Encoding ID 5 Format 12 | Platform ID 3 | Platform Encoding ID 10 This combination results in the cmap table being dropped during subsetting despite being valid/required.
Qunxin Liu 490ef1cc 2020-01-28T15:57:33 [subset] Fix namerecord ordering This will fix inconsistency with fontTools. Also according to the spec, namerecords must be sorted first by platform ID, then by platform-specific ID, then by language ID, and then by name ID.
ckitagawa e128f802 2020-01-21T13:35:43 parent 777ba47b50f6379b9f9abf1d72559316b7116b9e author ckitagawa <ckitagawa@chromium.org> 1579631743 -0500 committer ckitagawa <ckitagawa@chromium.org> 1580506176 -0500 [subset] Add CBLC support
Qunxin Liu b6a8f5e6 2020-01-28T09:30:51 [subset] CMAP table subsetting fix Not all codepoints smaller than 0xFFFF go to cmap4 table. Only subset codepoints existing in each table. This will also make harfbuzz consistent with fontTools' behavior
ckitagawa ed857c46 2020-01-24T08:52:23 [subset] Add COLR support
Ebrahim Byagowi d1830437 2020-01-25T00:09:47 [tests] Apply expected results of Mplus1p-Regular subset Related to #2131
Qunxin Liu 36a5c042 2020-01-21T13:37:28 [subset] Add "--name-languages" and "--name-legacy" options Make name table subsetting consistent with fontTools
Ebrahim Byagowi e171beeb 2020-01-24T19:51:21 Revert "[subset] Add "--name-languages" and "--name-legacy" options" Causes tests failures, please reapply when tests are fixed, thanks. This reverts commit fd85818b5b85fb0ad2db71c60e94ca0689d38bca.
Qunxin Liu fd85818b 2020-01-21T13:37:28 [subset] Add "--name-languages" and "--name-legacy" options Make name table subsetting consistent with fontTools
Qunxin Liu c370da45 2020-01-22T11:36:15 [subset] Cmap table: remove encodingRecord entry for empty cmap4 subtable
Qunxin Liu a3cf4ae0 2020-01-17T13:02:47 [subset] Add more tests for GPOS1 subsetting These tests were left out because of issue: https://github.com/fonttools/fonttools/issues/1709 Now re-adding these tests since the issue is resolved.
Qunxin Liu e565d1f9 2019-11-01T10:21:36 [subset] subset lookup/feature/script lists for GSUB/GPOS
ckitagawa 93376a64 2020-01-15T13:11:40 Add unittests
ckitagawa 78b50a67 2020-01-14T11:01:09 Address initial comments
ckitagawa 43b6c865 2020-01-09T10:44:20 [subset] Support sbix subsetting
Qunxin Liu 1db2c1d0 2020-01-07T11:10:40 fix for cmap4 and OS_2 subsetting: maximum character code allowed is 0xFFFF
blueshade7 ea8fdfa0 2019-11-22T15:59:09 Merge branch 'master' into var-subset