Joel Auterson
756b500018
Add ARM CI workflow
2 years ago
Joel Auterson
c813f84235
Make build work for arm-none-eabi
2 years ago
Behdad Esfahbod
b0b7a65388
[subset] Fix check-symbols failure
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/3850
2 years ago
Khaled Hosny
970321db7b
5.3.1
2 years ago
Khaled Hosny
7c8be866c9
[doc] Hide another experimental symbol
2 years ago
Garret Rieger
d1bf6c0c26
[subset] only preprocess in benchmark when experimental api is enabled.
2 years ago
Garret Rieger
db22bfb3cc
[subset] Remove Franklin from the tests which is not an open source font.
2 years ago
Behdad Esfahbod
a73137d101
[face] Fix annotation
2 years ago
Behdad Esfahbod
d65af60213
[shape] Adjust Grapheme clusters for Katakana voiced sound marks
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/3844
2 years ago
Behdad Esfahbod
bda42fc34a
Merge pull request #3842 from harfbuzz/patch_mode
...
[subset] Begin implementing a subset accelerator
2 years ago
Garret Rieger
f53ebf5584
[subset] Add hb_subset_preprocess to experimental symbol list for check-symbols.
2 years ago
Garret Rieger
fdb98ed88e
[subset] add missing HB_EXTERN.
2 years ago
Garret Rieger
515863e57c
[subset] Remove add accelerator flag, replace with new api method.
...
Adds hb_subset_preprocess() which preprocesses the face and attaches accelerator data.
2 years ago
Garret Rieger
573640c99f
[subset] Add hb-subset-accelerator.hh to Make soure list.
2 years ago
Behdad Esfahbod
a756bd1944
[glyf] Use component phantom points after transformation
2 years ago
Behdad Esfahbod
82d19c08fc
Revert "[glyf/Composite] Remove phantom points when not needed anymore"
...
This reverts commit 527e63a3bd
.
2 years ago
Behdad Esfahbod
527e63a3bd
[glyf/Composite] Remove phantom points when not needed anymore
2 years ago
Garret Rieger
3394ec7048
[subset] use subset accelerator in tests.
...
This ensures it produces equivalent subsets as without the accelerator.
2 years ago
Garret Rieger
f4903defc4
[subset] use the accelerator in the subsetting benchmark.
2 years ago
Garret Rieger
01481db582
[subset] use accelerator unicode to gid map if available.
2 years ago
Garret Rieger
4ec5eb955f
[subset] add a subset accelerator.
...
Can be optionally attached to the face during subsetting. Contains data which can accelerate future subsets.
2 years ago
Garret Rieger
f105c28749
[subset] Suggested flags to enable more performant subset production for use in incxfer.
2 years ago
Behdad Esfahbod
5769d422c5
[type] Add HBFixed template
2 years ago
Behdad Esfahbod
8c29dcaee4
s/HBFixed/F16DOT16/g
2 years ago
Behdad Esfahbod
294b1c9f6e
Use snprintf instead of sprintf
2 years ago
Garret Rieger
9559d3c1c1
[repacker] fix incorrect coverage table size estimation.
...
During splitting of PairPosFormat2 the code was assuming the maximum size of the generated coverage table would be equal too the current size. This is incorrect size the new coverage table may not preserve the ranges found in the original coverage table (since we are splitting based on class, not coverage) and in the worst case may convert from format2 to format1. So use the size of a format1 table as the max size.
2 years ago
Khaled Hosny
dcd8fe2c3b
Revert "[ci] Mark automatic releases as draft"
...
This reverts commit 9a28df411e
.
It creates a new draft release for each upload, which is not what we are
after.
2 years ago
Khaled Hosny
3ce4b8f5c9
5.3.0
2 years ago
Khaled Hosny
90eee512a0
[doc] Add symbols to harfbuzz-sections.txt
2 years ago
Khaled Hosny
9a28df411e
[ci] Mark automatic releases as draft
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/2780
2 years ago
Garret Rieger
99f4668e19
[repacker] use mutable copies of Coverage/ClassDef in MarkBasePos shrink operation.
...
Also make mutable copies (when needed) of the top level subtables during a split operation.
2 years ago
Garret Rieger
8f1bf23cc9
[subset] optimize glyf subsetting w/ retain gids.
...
When retain gids is enabled the subset plan may require the output of many empty glyphs. This change optimizes the glyf subsetting code when the number of retained glyphs << number of output glyphs. Unnessecary lookups to the glyph map are reduced by iterating through the glyph map instead of the output glyph set.
2 years ago
Qunxin Liu
e94fe2adf3
[instance] minor optimizations to glyf instancing
2 years ago
Qunxin Liu
d5fc4a73c0
[instance] add tests for featureVariations
...
Also updated the script that is used to generate tests.With fonttools,
we now do instancing first and then subsetting.
With different order of subsetting and instancing operations on the same
VF file, fonttools seems to generate 2 different font files with different
glyph set.
1. do subsetting and then instancing: this seems result in a larger glyph
set in the font file. Lookups are collected from both retained features
and all possible alternate featurevariations, this leads to a larger
glyph set after glyph closurei. And instancer doesn't redo glyph
closure, it does lookups pruning only.
2. do instancing and then subsetting: lookups are collected from
features that are replaced already and possible alternate feature
variations
2 years ago
Qunxin Liu
b90ce34a25
[instance] fix for non-empty .notdef glyph metrics update
...
we need pass in source glyph's outline data to calculate boundaries, and
then drop the outline data if notdef-outline is specified.
Also disable shifting points for instancing in get_points () API
2 years ago
Qunxin Liu
b706c6f77e
[instance] update FeatureList with variations
2 years ago
Qunxin Liu
8f3a7017c3
[instance] support FeatureVariations table
2 years ago
Qunxin Liu
f4813e3b7f
[instance] update collect_lookups/prune_features()/closure_features() with variations
...
Some features will be substituted with variations, so we do not collect
lookups from the original feature tables.
2 years ago
Qunxin Liu
64e2f2fc58
[instance] store active featurevariation record/condition idxes in the plan
2 years ago
Qunxin Liu
0a6c16a313
[instance] instantiate fvar table
...
Added an old->new axes_indices mapping in the subset plan
2 years ago
Behdad Esfahbod
486fc2271a
[cplusplus] Add missing const
2 years ago
Qunxin Liu
c335bf469f
support dereferencing shared_ptrs and unique_ptrs
2 years ago
Garret Rieger
d5829b3ce2
[repacker] update the repacker doc to reflect the current state.
2 years ago
Garret Rieger
8cd7d1c3fe
[subset] Allow table ordering on the face builder to be overriden.
2 years ago
Behdad Esfahbod
b70032edda
[layout] Fix typo in docs
2 years ago
Khaled Hosny
d2966d3919
[ot-font] Try CBDT extents before outline tables
...
Like we do for sbix table.
Fixes https://github.com/harfbuzz/harfbuzz/issues/3827
2 years ago
Behdad Esfahbod
1fdf046427
Merge pull request #3799 from harfbuzz/optical-bounds
...
Optical bounds
2 years ago
David Corbett
3ca5fbda76
[USE] Update the data files
...
This uses the data files from
<3254c94606/USE
>
and closes #3817 .
2 years ago
Behdad Esfahbod
b78d4b1e58
[color] Fix documentation re UPEM vs PPEM
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/3826
2 years ago
Behdad Esfahbod
56c4670935
[subset] Fix compiler warning
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/3823
2 years ago