Behdad Esfahbod
b119b48079
[bit-set-invertible] Add unlikely() around inverted checks
4 years ago
Behdad Esfahbod
b94f24ec79
[bit-set-invertible] Implement set algebra
4 years ago
Behdad Esfahbod
6afefe1dc3
[algs] Remove unnecessary struct tag names
4 years ago
Behdad Esfahbod
8aa92ff8f0
[bit-set-invertible] Implement get_min/max
4 years ago
Behdad Esfahbod
18f50275ed
[bit-set] Restructure get_min/max() in prep for adding inverted
4 years ago
Behdad Esfahbod
669b97d949
[bit-set-invertible] Implement iterator
4 years ago
Behdad Esfahbod
c66894d7c9
[bit-set-invertible] Write a subset branch as dagger
4 years ago
Behdad Esfahbod
c39d2f7a76
[bit-set-invertible] Implement add_array / add_sorted_array / intersects
4 years ago
Behdad Esfahbod
0efa614c04
[bit-set] Add del_array/del_sorted_array()
4 years ago
Behdad Esfahbod
48ad9eef1e
[bit-set] Merge page_for_insert() into page_for()
4 years ago
Behdad Esfahbod
f0c3804fa2
[set] Add hb_bit_set_invertible_t and resurrect hb_set_invert()
...
Implementation is NOT complete yet.
4 years ago
Behdad Esfahbod
b5cdbdc030
[set] Turn hb_set_t into instance of template taking implementation t
4 years ago
Behdad Esfahbod
fad452bffb
[set] Move main functionality into hb_bit_set_t
...
To add inversion on top in hb_invertible_set_t and use that as hb_set_t.
4 years ago
Behdad Esfahbod
9cc4da962f
[object] Remove hb_object_is_inert()
4 years ago
Behdad Esfahbod
2d5ef05d67
Use !g_object_is_valid() instead of g_object_is_inert()
4 years ago
Behdad Esfahbod
f6d6eff6a2
[object] Remove unused HB_REFERENCE_COUNT_INIT
4 years ago
Behdad Esfahbod
f245dc4db8
[set] Whitespace
4 years ago
Behdad Esfahbod
9b390f8c40
[set] Move page_t into hb-bit-page.hh
4 years ago
Behdad Esfahbod
0c3e02ee2d
[set] Add "inverted" to page_t::is_empty()
4 years ago
Behdad Esfahbod
9bd64fa077
[set] Add "inverted" to page_t::next/prev()
4 years ago
Behdad Esfahbod
c88e7ec935
[set] Add page_t::elt_maybe_invert()
4 years ago
Behdad Esfahbod
9449cfeefd
[set] Simplify page_t::next/prev()
4 years ago
Behdad Esfahbod
4394ee1f1d
[set] Add inverted to page_t::get_min/max()
4 years ago
Behdad Esfahbod
0dcd9b15d9
[set] Add page_t::set_range()
4 years ago
Behdad Esfahbod
cb273fd17c
[set] Add page_t::set()
4 years ago
Behdad Esfahbod
32bbf53d9c
[set] Minor rewrite one cmp() in term of other
4 years ago
Behdad Esfahbod
5b4dbf5af3
Merge pull request #3148 from harfbuzz/win64
...
Build win64 binaries
4 years ago
Khaled Hosny
d203267e53
[ci] Remove effectively ignored filters
...
We want these jobs to always run, and the filter does not seem to do
anything anyway.
4 years ago
Khaled Hosny
f73053edaf
[ci] Don’t install unused dependencies
...
This is a cross build job, native libraries are not used.
4 years ago
Khaled Hosny
ddb4f9b967
[ci] Build win64 binaries as well
4 years ago
Garret Rieger
cb05c363d7
[subset] add some basic tests for the legacy subset methods.
4 years ago
Garret Rieger
d18aad7ec5
[subset] restore old subsetting api methods.
...
These will be left in place until the 3.0.0 release.
4 years ago
Garret Rieger
44802c8ec4
[subset] use layout-features=* for layout subsetting tests w/ synthetic test fonts.
4 years ago
Behdad Esfahbod
7620da0f2b
Merge pull request #3142 from harfbuzz/subset-preload-face
...
[util/hb-subset] preload face
4 years ago
Garret Rieger
c0f3af91b8
[subset] speed up add_gid_and_children and adjust op limit.
...
Fix for fuzzer timeout: https://oss-fuzz.com/testcase-detail/5001604901240832 .
- Operation limit is per glyph, so 100,000 should still be far more than needed.
- Switches from for(...) to while(...) loop for iteration. for(...) calls it.end() which in this case triggers a complete iteration.
- Cache CompositeGlyph size in the iterator to avoid needing to recalculate it.
4 years ago
Behdad Esfahbod
ccc2a1921a
[util/hb-subset] Whitespace
4 years ago
Behdad Esfahbod
4dfc668e0a
[util/hb-subset] Move glyph name parsing inline instead of post_parse
...
Now that we have face around we can just do it as it happens.
4 years ago
Behdad Esfahbod
08d43d1ba1
[util/hb-subset] Move add_all_unicodes inline, instead of post_parse
...
Now that we have the font loaded, we can do it as it happens.
4 years ago
Behdad Esfahbod
11b0b68853
[util/hb-subset] Pre-parse font-face so we can use it during main parsing
4 years ago
Behdad Esfahbod
c45d2a9c9d
[util] Allow setting cli summary / description
4 years ago
Behdad Esfahbod
4f3b7b7035
[util] Remove unused usage
4 years ago
Behdad Esfahbod
1cb621d35d
[util/hb-subset] Minor move parsing
4 years ago
Behdad Esfahbod
3f94177ee8
[util] Use g_set_error() in one more place
4 years ago
Behdad Esfahbod
4d73b3d9b1
[util] Add --batch to hb-view / hb-ot-shape-closure
4 years ago
Behdad Esfahbod
302bde0bfb
Merge pull request #3135 from harfbuzz/post-parse
...
[util] Clean up option parsing some more and implement missing featuress
4 years ago
Behdad Esfahbod
23282c9c9d
[util/hb-subset] Support ranges in --unicodes / --unicodes-file
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/3109
4 years ago
Behdad Esfahbod
f60f005b1f
[util/hb-subset] Remove wrong hb_set_destroy() in error paths
4 years ago
Behdad Esfahbod
49cf36027c
[util/hb-subset] Parse --gids-file, --glyphs-file, --text-file, --unicodes-file
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/2455
Fixes https://github.com/harfbuzz/harfbuzz/issues/3002
4 years ago
Behdad Esfahbod
bf80b7ea45
[util/hb-subset] Add --glyphs for passing glyph names
...
Part of https://github.com/harfbuzz/harfbuzz/issues/2455
4 years ago
Behdad Esfahbod
5b07c3c7d0
[util/hb-subset] Parse --text & --unicodes
4 years ago