Garret Rieger
08a4997fde
[subset] Add subset support for Extension lookups (GPOS 9, GSUB 7).
4 years ago
Khaled Hosny
5091ea7e24
Merge pull request #2733 from astiob/buffer-context-doc
...
[docs] Describe buffer context applicability more explicitly
4 years ago
Qunxin Liu
3a0b05faf1
[subset] GPOS 5 MarkToLigature subsetting support
4 years ago
Garret Rieger
3271a7cdaa
[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.
4 years ago
Garret Rieger
7b77ce0507
[subset] Add subsetting integration test using Amiri.
...
Demonstrates a failure in subsetting GPOS 8/GSUB 6.
4 years ago
Qunxin Liu
3c5bdd9bb8
[subset] GDEF AttachList subsetting support
5 years ago
Qunxin Liu
593e58c842
[subset] ChainContext subsetting fix: add lookup index remapping
5 years ago
Qunxin Liu
d7c012a08e
[subset] GDEF Variation Store: step 2
...
do subset based on variation indices collected in step 1
5 years ago
Qunxin Liu
8b5d3ebd96
[subset] GSUB5/GPOS7 Contextual Subst/Pos Subtbale Subsetting support
5 years ago
Garret Rieger
411225426f
Fix glyph closure for alternate substitution.
...
It was not filtering on the glyphs to be retained.
5 years ago
Qunxin Liu
eb7849a806
[subset] GPOS6 MarkToMark subsetting support
5 years ago
Qunxin Liu
82afc75835
[subset] GPOS4 MarkBase subsetting support
5 years ago
ckitagawa-work
774725b43a
[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.
5 years ago
Qunxin Liu
490ef1cc23
[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.
5 years ago
ckitagawa
e128f80278
parent 777ba47b50
...
author ckitagawa <ckitagawa@chromium.org> 1579631743 -0500
committer ckitagawa <ckitagawa@chromium.org> 1580506176 -0500
[subset] Add CBLC support
5 years ago
Qunxin Liu
b6a8f5e63c
[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
5 years ago
ckitagawa
ed857c4680
[subset] Add COLR support
5 years ago
ckitagawa
93376a6436
Add unittests
5 years ago
ckitagawa
43b6c865ae
[subset] Support sbix subsetting
5 years ago
Qunxin Liu
1f0a9d9be9
[subset] GPOS Lookup Type 2: PairPos
5 years ago
Qunxin Liu
b66094ada0
[subset] GSUB Lookup Type 6: ChainContextSubst
5 years ago
Qunxin Liu
b0c3eb06b6
[subset] GPOS Lookup Type 3: CursivePos
5 years ago
Qunxin Liu
bf66d1bf58
[subset] Add integration tests for cmap14
5 years ago
Qunxin Liu
321d5588d4
[subset] Add subsetting for GPOS Lookup Type 1: Single Adjustment Positioning Subtable
5 years ago
Michiharu Ariza
82d4bfb8f3
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
5 years ago
Qunxin Liu
993d81b9c5
[subset] Add one ttf file with fvar/STAT tables to integration test
...
Ignore gvar/MVAR/HVAR table
add support for --nameIDs=* option
6 years ago
Garret Rieger
c740c8636b
[subset] Add integration tests for SingleSubst.
6 years ago
Michiharu Ariza
e44b83aac0
replace test font SourceHanSans with its subet
6 years ago
Michiharu Ariza
fe5aa8b36c
added TT VF full font test & fixed bugs
...
updated CFF2 VF api test results too
6 years ago
Michiharu Ariza
325918172e
added TT VF full font test & fixed bugs
...
updated CFF2 VF api test results too
6 years ago
Michiharu Ariza
1377adc8a8
Added SourceHanSans-Regular for CFF subset test
...
Disabled FDSelect serialization to format 0 for compatibility with fonttools
6 years ago
Michiharu Ariza
bf4eb2e4cf
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
6 years ago
Garret Rieger
b0d7971be0
[subset] Updated expected files for japanese subset integration tests to include cmap4.
7 years ago
Garret Rieger
c7d814eaa8
[subset] Add japanese font file to subset integration tests.
7 years ago
Garret Rieger
d31ace3274
[subset] Add subset integration tests using the full roboto font.
7 years ago
Garret Rieger
4cdae914e2
Add basic directory structure for subsetter integration tests. Plus a utility for generating expected output files.
7 years ago