|
ac0e22fa
|
2022-07-22T09:37:09
|
|
[instance] update glyf/hmtx/vmtx tables
|
|
37d61afd
|
2022-08-18T21:05:48
|
|
[subset] add destructor to subset plan.
This ensures that it's members get destructed before the plan itself is destructed, as hb_object_destroy calls the destructor for plan.
|
|
0f800769
|
2022-07-20T14:59:02
|
|
[subset] Do not repeat COLR table closure
|
|
e1b5f2f8
|
2022-07-20T15:03:20
|
|
[object] Call destructor in hb_object_destroy()
|
|
712bfa88
|
2022-07-19T13:57:14
|
|
build fix for HB_NO_VAR
|
|
be8e8e8c
|
2022-06-30T14:24:36
|
|
[instance] prune name tables after axes pinned at fixed locations
Restricting axes to ranges is not supported yet.
|
|
df55f840
|
2022-06-30T09:36:19
|
|
[instance] instantiate STAT table when axes are pinned at fixed locations
restricting ranges is not supported yet.
|
|
2a4773e4
|
2022-06-21T19:29:52
|
|
add option "--instance", store axes_location in subset_plan and drop all
variation tables when all axes are pinned at default
|
|
09de9478
|
2022-07-11T15:08:22
|
|
[>64k:glyf] Hid composite glyphIndex
|
|
04c5cd40
|
2022-07-11T11:39:41
|
|
[subset/layout] Move find_duplicate_features to subset from layout
|
|
29f149c1
|
2022-07-07T20:16:16
|
|
[subset] cache sanitized tables in subset plan to avoid sanitizing tables multiple times.
|
|
386e1bba
|
2022-07-05T12:46:05
|
|
Merge pull request #3699 from googlefonts/filter_scripts
[subset] Add support for --layout-scripts
|
|
30309ec8
|
2022-07-05T18:33:19
|
|
[subset] add null element in _filter_tag_list.
|
|
216cf594
|
2022-07-05T17:49:12
|
|
[subset] Allocate space for null entry in script/feature list.
|
|
dbfd2bf3
|
2022-06-30T23:04:35
|
|
minor.
|
|
5fdae684
|
2022-06-29T23:52:08
|
|
[reorg] Move GSUB.hh up one level and change GSUB namespace to GSUB_impl.
|
|
70e32a66
|
2022-06-30T21:00:48
|
|
[subset] Add layout_scripts to subset input.
|
|
41d2c335
|
2022-06-30T20:24:42
|
|
[subset] Apply script list filter when doing layout collection.
|
|
e5c8a2f4
|
2022-06-30T20:14:29
|
|
[subset] Pass plan through to collect methods.
Allows to more easily access the filtering sets as they are added and enables propagating errors to the plan.
|
|
1bf051ef
|
2022-06-30T20:03:33
|
|
[subset] refactor feature tag filtering so it can be used for scripts as well.
|
|
98e90cc6
|
2022-06-30T08:43:57
|
|
[docs] Reduce warnings
Use markdown syntax for inline code blocks instead of %true, %false, and
%NULL.
|
|
3fbf2dec
|
2022-06-28T23:55:32
|
|
[reorg] Move OT::Layout::GPOS_impl::GPOS to OT::Layout::GPOS.
|
|
88ef3c5a
|
2022-06-28T23:26:49
|
|
[reorg] Change OT::Layout::GPOS to OT::Layout::GPOS_impl.
|
|
74f45f7c
|
2022-06-24T23:14:30
|
|
[reorg] Move remaining GPOS lookup types to new directory.
|
|
db039d97
|
2022-06-25T19:06:27
|
|
[glyf/Composite] Make glyphIndex public
|
|
b4a0c30d
|
2022-06-25T17:01:11
|
|
[glyf] Remove hardcoded HB_MAX_COMPOSITE_OPERATIONS
|
|
36373ee1
|
2022-06-25T16:54:46
|
|
[glyf] Move add_gid_and_children to subset-plan where it belongs
|
|
100576b7
|
2022-06-25T14:38:43
|
|
[glyf] Start splitting file
|
|
f13a7954
|
2022-06-03T01:17:20
|
|
[subset] Convert another use of hashmap to unique_ptr
|
|
adae2f22
|
2022-05-18T21:42:28
|
|
[subset-perf] Cache a glyph map for gsub.
This allows us in some cases to avoid using glyph_set_gsub as a filter.
|
|
ce604621
|
2022-05-18T12:34:27
|
|
[subset-plan] Pre-size maps in _create_old_gid_to_new_gid_map()
|
|
8bfeea48
|
2022-05-05T10:48:24
|
|
[subset] Compute set max using previous()
|
|
00cb8c62
|
2022-05-05T10:33:50
|
|
[subset] Don't go into glyf table if it's empty
|
|
4fe69bc4
|
2022-05-05T10:19:16
|
|
[subset] Use del_range in _remove_invalid_gids
|
|
2a42edcc
|
2022-05-04T17:06:18
|
|
[subset] Cosmetic; use set bulk array population instead of for loop
|
|
43938ecd
|
2022-05-04T16:59:28
|
|
[subset] Remove outdated comment
I tried something like that. It was slower because of the allocations.
|
|
50db78ba
|
2022-05-04T15:48:18
|
|
[subset] In cmap planning, remove a qsort()
|
|
7cb36e42
|
2022-05-04T21:22:26
|
|
[subset] Re-introduce size threshold in choosing unicode collection method.
Threshold is needed since the unicodes set might be an inverted set.
|
|
42c54eba
|
2022-05-04T20:21:43
|
|
[subset] Presize unicode to gid list to unicodes + glyphs size.
|
|
7c7c01d2
|
2022-05-03T22:40:56
|
|
[subset] Remove switch to alternate unicode collection at large subset sizes.
Benchmarks show that the first path is always faster even at large subset sizes:
BM_subset_codepoints/subset_roboto/10_median +0.0324 +0.0325 0 0 0 0
BM_subset_codepoints/subset_roboto/64_median +0.0253 +0.0255 0 1 0 1
BM_subset_codepoints/subset_roboto/512_median +0.0126 +0.0128 1 1 1 1
BM_subset_codepoints/subset_roboto/4000_median +0.0500 +0.0491 6 7 6 7
BM_subset_codepoints/subset_amiri/10_median +0.0338 +0.0332 1 1 1 1
BM_subset_codepoints/subset_amiri/64_median +0.0238 +0.0234 1 1 1 1
BM_subset_codepoints/subset_amiri/512_median +0.0066 +0.0063 8 8 8 8
BM_subset_codepoints/subset_amiri/4000_median -0.0011 -0.0012 13 13 13 13
BM_subset_codepoints/subset_noto_nastaliq_urdu/10_median +0.0226 +0.0226 0 0 0 0
BM_subset_codepoints/subset_noto_nastaliq_urdu/64_median +0.0047 +0.0044 20 20 20 20
BM_subset_codepoints/subset_noto_nastaliq_urdu/512_median +0.0022 +0.0021 165 166 165 166
BM_subset_codepoints/subset_noto_nastaliq_urdu/1000_median -0.0021 -0.0023 166 166 166 165
BM_subset_codepoints/subset_noto_devangari/10_median +0.0054 +0.0054 0 0 0 0
BM_subset_codepoints/subset_noto_devangari/64_median +0.0024 +0.0019 0 0 0 0
BM_subset_codepoints/subset_noto_devangari/512_median +0.0089 +0.0090 5 5 5 5
BM_subset_codepoints/subset_noto_devangari/1000_median -0.0028 -0.0019 5 5 5 5
BM_subset_codepoints/subset_mplus1p/10_median +0.0001 +0.0002 0 0 0 0
BM_subset_codepoints/subset_mplus1p/64_median +0.0073 +0.0075 1 1 1 1
BM_subset_codepoints/subset_mplus1p/512_median +0.0034 +0.0034 1 1 1 1
BM_subset_codepoints/subset_mplus1p/4096_median -0.1248 -0.1248 7 6 7 6
BM_subset_codepoints/subset_mplus1p/10000_median -0.0885 -0.0885 13 12 13 12
BM_subset_codepoints/subset_notocjk/10_median +0.0031 +0.0032 2 2 2 2
BM_subset_codepoints/subset_notocjk/64_median -0.0010 -0.0010 2 2 2 2
BM_subset_codepoints/subset_notocjk/512_median -0.0023 -0.0023 9 9 9 9
BM_subset_codepoints/subset_notocjk/4096_median -0.1725 -0.1726 28 23 28 23
BM_subset_codepoints/subset_notocjk/32768_median -0.0277 -0.0287 140 137 140 136
BM_subset_codepoints/subset_notocjk/100000_median -0.0929 -0.0926 162 147 162 147
|
|
f0c04114
|
2022-05-03T22:02:59
|
|
[subset] Embed unicode to gid list vector in subset plan.
|
|
85ec5cbc
|
2022-05-02T22:29:43
|
|
[subset] In _populate_unicodes_to_retain populate unicodes in order.
Allows the set insert to take advantage of page lookup cache.
|
|
088133d9
|
2022-05-02T21:29:16
|
|
[subset] cache cp to new gid list in subset plan.
This avoids having to recompute the ordered list multiple times during cmap generation.
|
|
b342adeb
|
2022-03-23T16:28:22
|
|
[reorg] Move GSUB into OT::Layout::GSUB namespace.
|
|
8d1b000a
|
2022-03-01T21:27:32
|
|
4.0.0
|
|
6e466256
|
2022-03-01T12:01:18
|
|
[doc] Typo
|
|
f6071c16
|
2022-02-28T14:45:40
|
|
[subset] Rename codepoint -> unicode in subset plan api
|
|
1b5a2e08
|
2022-02-25T04:22:33
|
|
[doc] Various fixes to newly added documentation
|
|
fc1548cf
|
2022-02-17T17:16:31
|
|
[subset] document return values.
|
|
27a6c895
|
2022-02-11T16:19:43
|
|
[subset] Fix memory leak in plan creation.
|
|
670ef070
|
2022-02-11T16:01:33
|
|
[subset] Change subset plan create to be or_fail.
|
|
ae8d373b
|
2022-02-11T14:54:23
|
|
[subset] add subset plan reference, set/get user data functions.
|
|
b65e48a7
|
2022-02-11T12:44:58
|
|
[subset] Add subset plan to public API.
Add the ability to create a subset plan which an be used to gather info on things like glyph mappings in the final subset. The plan can then be passed on to perform the subsetting operation.
|
|
ae9fc7f5
|
2022-01-20T12:37:21
|
|
Clean accelerators a bit more
|
|
ac1bb3e3
|
2022-01-20T11:47:17
|
|
[machinery] Move accelerators to constructor/destructor
|
|
e062376e
|
2022-01-19T17:09:34
|
|
[machinery] Make accelerator lazy-loader call Xinit/Xfini
Instead of init/fini. To isolate those functions. To be turned into
constructor/destructors, ideally one per commit (after some SFINAE
foo.)
|
|
51655a07
|
2021-12-05T19:27:57
|
|
[subset] COLR : only include glyphs after COLR closure
|
|
903a6bae
|
2021-11-15T19:58:33
|
|
[subset] layout_features filtering fix
we should not use get_size (), which returns length * item_size
|
|
394f7729
|
2021-11-19T11:49:23
|
|
[map] Allow storing classes in the hashmap
Fixes https://github.com/harfbuzz/harfbuzz/issues/3293
The trick was to change the type of the invalid key/value to be non-class.
|
|
8c583db9
|
2021-10-02T20:32:30
|
|
[subset] COLRv1: update subset() method for new strutc ClipList and VarIdxMap
Also fix issues in struct PaintTransform definition
|
|
ca7b9dae
|
2021-09-20T14:42:51
|
|
[subset] subset MATH table
|
|
3844e58e
|
2021-08-30T11:16:51
|
|
[subset] remove helper functions for accessing subset input sets.
|
|
05204d75
|
2021-08-25T16:51:26
|
|
[subset] implement hb_subset_input_set (...).
Switch to storing the sets keyed by enum internally.
|
|
1620698b
|
2021-08-25T16:25:08
|
|
[subset-input] Minor format
|
|
cd07070e
|
2021-08-25T14:42:00
|
|
[subset] Move plan unicodes and gids population to end of _populate_unicodes...
|
|
8f4f47df
|
2021-08-25T13:34:05
|
|
[subset] use inverted set for all unicodes.
Modify the code that handles input->unicodes to be safe with possibly inverted sets. Also adds --unicodes-= and --unicodes+= flags.
|
|
e9e6d66c
|
2021-08-24T23:22:49
|
|
[subset] Minor internal parameter rename
|
|
59deb754
|
2021-08-24T17:06:14
|
|
[subset] rename _collect_subset_layout to _collect_layout_indices.
Better describes what the function does.
|
|
f2441a4b
|
2021-08-24T15:53:32
|
|
[subset] Remove retain all layout features flag.
Instead use inverted sets to handle requesting all features. Modifies feature collection in subset plan to intersect the set of requested features against the features in the font. This prevents iterating a fully filled feature tag set.
|
|
46d4a5e6
|
2021-07-29T15:07:13
|
|
[subset] Convert subset plan to use a flags bit set.
|
|
3d534b14
|
2021-07-29T11:52:14
|
|
[subset] convert subset input flags into bit flags.
Store the flags in a bit set. Updates the public api to work with the bit set directly.
|
|
4762fcb4
|
2021-07-26T11:48:55
|
|
Merge pull request #3067 from googlefonts/glyph_names
[subset] support option --glyph-names
|
|
acc7100a
|
2021-07-26T02:13:49
|
|
[docs] Improve subset documentation
|
|
71b5509c
|
2021-07-20T20:05:35
|
|
[subset] support option --glyph-names
|
|
2b9cb299
|
2021-07-22T13:26:03
|
|
[subset] cleanup no_subset_tables on destruction.
|
|
1b6c1aa6
|
2021-06-28T12:57:39
|
|
[subset] add hb-subset api to documentation generator.
Standardize subset_input parameter to be input.
|
|
a6c6cda4
|
2021-06-09T17:46:47
|
|
[subset] Add no subset tables and passthrough unrecognized tables to the subset api.
Matches fontTools options.
|
|
8bf5d4d4
|
2021-06-09T14:05:17
|
|
[subset] Remove hb_subset_input_get/set_drop_hints.
|
|
9fb3a256
|
2021-06-09T13:46:35
|
|
[subset] Use hb_set_copy in subset input.
|
|
edb57a8d
|
2021-06-09T10:42:48
|
|
Make subset input const in the subsetting operation. Don't modify the subset input's sets.
|
|
9aa0ecef
|
2021-07-14T17:27:14
|
|
[subset] de-duplicate the logic that finds unicodes corresponding to requested glyphs.
Move the logic into subset planning and then re-use the results in cmap and OS2 subsetting. Removes depedency on cmap from os2.
|
|
2337f0d0
|
2021-07-08T10:58:50
|
|
Internally use hb_malloc/.../hb_free instead of malloc/.../free
Redefining those stock names as macros was conflicting with gcc 10
headers.
Fixes https://github.com/harfbuzz/harfbuzz/issues/3044
|
|
eee7b459
|
2021-06-24T10:17:46
|
|
[subset] add option --no-prune-unicode-ranges
|
|
26c80adb
|
2021-06-18T14:14:20
|
|
[subset] do colrv1 glyph closure before glyf composite closure.
|
|
d07f789a
|
2021-06-09T15:36:40
|
|
[subset] support option "--notdef-outline"
|
|
bc33b87f
|
2021-06-09T11:51:32
|
|
[set] Use references, not pointers, in internal C++ API
|
|
cb5a6b5a
|
2021-05-19T17:33:46
|
|
[subset] support option --layout-features
|
|
73ff04a3
|
2021-05-18T16:54:01
|
|
[subset] add option to have the subsetter set the mac overlaps flag on each glyph.
|
|
f739e1dc
|
2021-05-11T11:44:32
|
|
[subset] subset both CPAL and COLRv1
|
|
1dffb553
|
2021-05-18T12:31:14
|
|
Chromium build fixes for C++ 17 warning and missing _remap_indexes
Use class instead of typename, move _remap_indexes out of #ifndef.
Fixes #2979
|
|
e59ffe54
|
2021-04-01T12:01:19
|
|
[subset] COLRv1 layer/palette indices closure
|
|
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.
|
|
3c8273ab
|
2021-03-25T11:39:57
|
|
Check for alloc failures on the gsub/gpos_langsys maps in subset plan creation.
|
|
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.
|
|
aace09a3
|
2020-10-06T10:26:17
|
|
[subset] Use glyphset gsub for layout variation indices collection.
|
|
718bf5aa
|
2020-09-29T13:16:01
|
|
[subset] only keep features reachable from script in the final subset.
Matches fontTools behaviour.
|
|
58a5961c
|
2020-07-29T08:44:23
|
|
minor spacing tweak
|
|
07c43b8c
|
2020-07-29T08:42:52
|
|
minor spacing tweak
|
|
5a7cc7fd
|
2020-07-29T08:33:32
|
|
minor spacing tweak
|
|
dae32b4f
|
2020-07-28T18:31:46
|
|
[subset] bail out of subsetting if plan allocation fails.
|