Log

Author Commit Date CI Message
Behdad Esfahbod 55f41e28 2023-07-21T12:10:46 [perf] Add duployan.txt From https://kaltashwawa.ca/2022/01/20/lovecraft-in-chinook-puspus-kopa-ulthar-tawn/
Behdad Esfahbod c91899be 2023-07-21T11:43:47 [gdef] Use set-digest for mark-filterint-sets Speeds up Noto Duployan-Regular.otf by 45% percent!
Behdad Esfahbod e8948a4e 2023-07-20T22:12:53 [gsubgpos] Fix optimization Fixes https://github.com/harfbuzz/harfbuzz/issues/4336
Behdad Esfahbod 36c7ec44 2023-07-20T18:56:46 [sanitize] Simplify a return
Behdad Esfahbod 837885f0 2023-07-20T12:58:16 Revert "[sanitize/Coverage] Keep a map of sane coverages" This reverts commit a689114898cc3e8f1c6ba7cc49cd6c3639d91250.
Behdad Esfahbod 0ab90671 2023-07-20T12:57:16 [sanitize/Coverage] Keep a map of sane coverages Fonts like Gulzar reuse the same coverage over a thousand times sometimes. However, this doesn't speed up sanitize unfortunately. Looks like calling Coverage::sanitize() is already very fast. We're just doing A LOT of it. The map slowed it down in fact. A set was even slower. Going to revert.
Behdad Esfahbod 7de2f515 2023-07-20T12:46:54 [set] Remove dependency on hb-machinery.hh
Behdad Esfahbod e8de5cb0 2023-07-20T11:31:13 [gsubgpos] Use a couple variables
Behdad Esfahbod 0ccd61a3 2023-07-19T16:42:30 [gsubgpos] Micro-optimize
Behdad Esfahbod b01c1650 2023-07-19T16:35:10 [gsubgpos] Minor error handling
Behdad Esfahbod ee5f200b 2023-07-19T12:26:50 [gsubgpos] Remove un unnecessary variable
Behdad Esfahbod 42c6a3a1 2023-07-19T12:07:19 [gsubgpos] Remove unnecessary condition Second is always set in this branch.
Behdad Esfahbod b5de54e1 2023-07-19T11:19:06 [gsubgpos] Also match second component in (Chain)RuleSet::apply() Another 40% speedup in shaping Gulzar-Regular.
Richard Dodd (dodj) 02b00d77 2023-07-19T11:22:07 Update wasm-shaper.md (just a small typo)
Qunxin Liu efbd257a 2023-07-18T14:50:32 [instancer] memory leak fix in cvar
Qunxin Liu 730f579f 2023-07-18T15:09:36 [instancer] store float value rather than F2DOT14 int value in axes_location map
Behdad Esfahbod a9e9279b 2023-07-18T12:24:17 Merge pull request #4329 from googlefonts/instancer_solver_fix port instancer solver normalizeValue fixes from fonttools
Behdad Esfahbod aa381ae9 2023-07-18T10:42:13 [ReverseChain] Remove SIZE_MAX Oops. Can't set it since the struct has offsets.
Behdad Esfahbod e583c9e9 2023-07-18T10:34:26 [ReverseChain] Add max-size
Behdad Esfahbod 7a2f9dcf 2023-07-18T04:36:15 [matcher] Move initializers inline
Qunxin Liu 5ee015ec 2023-07-17T13:54:34 [instancer-solver] remove unused normalizeValue() code
Qunxin Liu 6c25c752 2023-07-17T13:47:38 [instancer] use renormalized values when instantiating Condition table
Qunxin Liu 73ce3015 2023-07-17T13:46:57 [instancer-solver] port optimization and more tests from fonttools
Qunxin Liu 350423df 2023-07-17T11:10:19 [instancer-solver] fix tests
Qunxin Liu 12be4cb1 2023-07-17T11:08:54 [instancer-solver] fix APIs calling rebase_tent() with TripleDistances
Qunxin Liu 165f3e60 2023-07-17T09:46:03 [instancer-solver] add renormalizeValue() and store axis->distances map
Behdad Esfahbod d92a7a58 2023-07-17T11:27:38 [gsubgpos] Inline a couple functions Produces smaller code.
Behdad Esfahbod 4ea3737d 2023-07-17T09:50:28 [gsubgpos] Add fast-path for end-of-string in (Chain)RuleSet::apply()
Behdad Esfahbod e7ce6339 2023-07-17T08:52:12 [algs] Fix -Wcomma errors Fixes https://github.com/harfbuzz/harfbuzz/issues/4328
dependabot[bot] af095d90 2023-07-17T10:22:42 Bump github/codeql-action from 2.20.3 to 2.20.4 Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.20.3 to 2.20.4. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/46ed16ded91731b2df79a2893d3aea8e9f03b5c4...489225d82a57396c6f426a40e66d461b16b3461d) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] b031bbde 2023-07-17T10:22:45 Bump actions/setup-python from 4.6.1 to 4.7.0 Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.6.1 to 4.7.0. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/bd6b4b6205c4dbad673328db7b31b7fab9e241c0...61a6322f88396a6271a6ee3565807d608ecaddd1) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] ae8fea08 2023-07-17T10:28:35 Bump fonttools from 4.40.0 to 4.41.0 in /.ci Bumps [fonttools](https://github.com/fonttools/fonttools) from 4.40.0 to 4.41.0. - [Release notes](https://github.com/fonttools/fonttools/releases) - [Changelog](https://github.com/fonttools/fonttools/blob/main/NEWS.rst) - [Commits](https://github.com/fonttools/fonttools/compare/4.40.0...4.41.0) --- updated-dependencies: - dependency-name: fonttools dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] da84a078 2023-07-17T10:28:55 Bump meson from 1.1.1 to 1.2.0 in /.ci Bumps [meson](https://github.com/mesonbuild/meson) from 1.1.1 to 1.2.0. - [Release notes](https://github.com/mesonbuild/meson/releases) - [Commits](https://github.com/mesonbuild/meson/compare/1.1.1...1.2.0) --- updated-dependencies: - dependency-name: meson dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Behdad Esfahbod 49730531 2023-07-16T13:09:49 Config
Behdad Esfahbod 645fabd1 2023-07-16T11:36:59 [gsubgpos] Vastly speed up ChainRuleSet / RuleSet matching Match the first component in a fast loop. Idea replicated from LigatureSet. Speeds up Gulzar shaping by 22%! 37% in NotoNastaliqUrdu!
Behdad Esfahbod 77080f86 2023-07-16T11:26:32 .
Behdad Esfahbod 5c8f3b7f 2023-07-16T09:39:18 [gsubgpos] Conditionally cache backtrack again
Behdad Esfahbod 52237eb1 2023-07-16T09:07:25 [ChainContext] More caching
Behdad Esfahbod 62e10c9f 2023-07-16T08:43:18 Revert "[gsubgpos] Allocate iterators further up" This reverts commit b9f364b8fcacf8ab32d0272190d8509f214e55f2.
Behdad Esfahbod b9f364b8 2023-07-16T08:42:36 [gsubgpos] Allocate iterators further up To avoid calling set_match_func repeatedly. Doesn't show speedup. Going to revert.
Behdad Esfahbod c2f454c7 2023-07-16T08:23:59 [gsubgpos] Fix residual from 5af80f349c4e040bfa853ee3f561ac16538b5988
Behdad Esfahbod 4e641103 2023-07-16T07:40:20 [buffer] Inline a method
Behdad Esfahbod 5af80f34 2023-07-16T07:27:28 [ChainContext] Cache two class values 7% speedup shaping Gulzar.
Behdad Esfahbod 8cde4fa9 2023-07-16T06:01:06 [gsubgpos] Inline a couple methods
Behdad Esfahbod f94508ed 2023-07-15T15:28:19 [Ligature] Micro-optimize
Behdad Esfahbod 76de3451 2023-07-15T15:00:23 [ot-shape] Short-circuit spaces as well
Behdad Esfahbod 765da4db 2023-07-15T14:55:36 [ot-shape] Minor short-circuit
Behdad Esfahbod 7b8e0bbb 2023-07-15T14:53:15 [ot-shape] Minor short-circuit
Behdad Esfahbod b2d648e4 2023-07-15T14:26:06 [perf/benchmark-subset] Rename subset_codepoints to subset_unicodes
Behdad Esfahbod a5628848 2023-07-15T13:59:10 [subset] Speed up a couple of set iteration loops Need to speed up set::next_range() for the second one to have any effect.
Behdad Esfahbod 326d319f 2023-07-15T13:14:34 [graph] Micro-optimize
Behdad Esfahbod 548230e4 2023-07-15T13:13:16 [graph] Early return from a function
Behdad Esfahbod 09706b04 2023-07-15T13:11:04 [graph] Add a pre-alloc to map
Behdad Esfahbod d1ddfc4d 2023-07-14T14:52:43 [graph] Use move instead of swap
Behdad Esfahbod 07cb6bf8 2023-07-14T13:38:33 [graph] Minor, type
Behdad Esfahbod 867640af 2023-07-14T13:09:16 Revert "[set] Add test_and_add / test_and_del" This reverts commit de1237fbf2660b5952dde4db171a62d9b1a77c92. This seems to be a net loss.
Behdad Esfahbod 10b776b0 2023-07-14T13:08:19 [graph] Micro-optimize
Behdad Esfahbod de1237fb 2023-07-14T12:38:56 [set] Add test_and_add / test_and_del Use in graph.
Behdad Esfahbod 7f1ff9c8 2023-07-14T12:22:24 [graph] Micro-optimize array access
Behdad Esfahbod d9cf9b5f 2023-07-14T12:19:10 [priority-queue] Inline insert()
Behdad Esfahbod d00b8873 2023-07-14T11:26:51 Revert "[subset/closure] Batch recursions in scheduled stages" This reverts commit f2aaeeb3016e10bf91c251296391a381d5fc6385.
Behdad Esfahbod 5e42f7bb 2023-07-14T11:26:38 Revert "Revert "[priority-queue] Inline a couple more"" This reverts commit 915410e5267cba5bfc6154548c8856ae077bfefe. Mistake.
Behdad Esfahbod f2aaeeb3 2023-07-14T11:17:37 [subset/closure] Batch recursions in scheduled stages Going to revert. Doesn't pass tests and savings are minor.
Behdad Esfahbod 915410e5 2023-07-14T11:18:09 Revert "[priority-queue] Inline a couple more" This reverts commit 8704d73213da2294281687ecd7a40d408e9bf26a.
Khaled Hosny 5a65ede5 2023-07-12T10:18:31 Minor
Khaled Hosny d160d938 2023-07-12T08:27:25 8.0.1
Behdad Esfahbod 8704d732 2023-07-10T18:08:13 [priority-queue] Inline a couple more
Behdad Esfahbod 4c9e8b84 2023-07-10T18:04:03 [priority-queue] Always-inline a method
Behdad Esfahbod c41b0d7b 2023-07-10T17:23:58 [sanitize/PairValueRecord] Add a max_size for faster sanitize
Behdad Esfahbod c14f94f7 2023-07-10T16:28:22 Fix compiler error hb-ot-var-common.hh:758:32: error: implicit conversion from 'int' to 'char' changes value from 191 to -65 [-Werror, -Wconstant-conversion] *it++ = (DELTAS_ARE_ZERO | 63);
Behdad Esfahbod fcc5d3df 2023-07-10T16:21:28 Add -Wconstant-conversion to errors
dependabot[bot] d1855e90 2023-07-10T10:26:31 Bump github/codeql-action from 2.20.1 to 2.20.3 Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.20.1 to 2.20.3. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/f6e388ebf0efc915c6c5b165b019ee61a6746a38...46ed16ded91731b2df79a2893d3aea8e9f03b5c4) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Behdad Esfahbod 997986ab 2023-07-09T15:15:33 [subset/hvar] Error handling Fixes https://oss-fuzz.com/testcase-detail/5029952234586112
Behdad Esfahbod 0980e2b7 2023-07-09T15:13:57 Minor casts
Behdad Esfahbod db3aeeb5 2023-07-09T12:32:49 [subset] Fix cast-align issue Fixes https://github.com/harfbuzz/harfbuzz/issues/4316
Behdad Esfahbod fc24ffbf 2023-07-09T11:05:13 [priority-queue] Minor simplify Tail-recursion definitely was being optimized by compiler, but I prefer writing it this way.
Behdad Esfahbod 557653ab 2023-07-09T10:18:04 [cff] Minor; add tableTag
Behdad Esfahbod 6df8ce7b 2023-07-09T09:58:02 [bit-page] Remove disabled assertion
Behdad Esfahbod 9b9a9c6f 2023-07-09T09:55:00 [bit-page] Speed up is_empty()
Behdad Esfahbod 2f4ed5e9 2023-07-09T09:45:46 [bit-page] Short-circuit is_subset()
Behdad Esfahbod 347c1f70 2023-07-09T09:33:04 [set] Keep (lazy) population per bit-page 36% speedup in: BM_subset/subset_glyphs/merged.devalast.ttf/10
Behdad Esfahbod 04ee306b 2023-07-09T07:37:57 [subset/hmtx] Another TODO
Behdad Esfahbod caef35b3 2023-07-09T07:23:16 [subset/hmtx] TODO
Behdad Esfahbod 982554c7 2023-07-09T06:58:02 [subset/cff1] Speed up plan_subset_charset more 16% speed up in retaingid subsetting NotoSansCJKkr-Regular.otf.
Khaled Hosny 15d8f0ca 2023-07-09T10:56:36 [doc] Fix warning: Section has no title and no file Move the private macros to the hb-common section, instead of a file-less one.
Behdad Esfahbod e60ec9dc 2023-07-08T20:47:34 [subset/cff2] Speedup retaingids serialize 10% speedup in subset_glyphs/SourceHanSans-VF.otf/retaingids/10
Behdad Esfahbod b583978b 2023-07-08T20:41:58 [subset/DeltaSetMapIndex] Speedup retaingids serialize()
Behdad Esfahbod 3505486a 2023-07-08T20:28:45 [subset/DeltaSetMapIndex] Micro-optimize
Behdad Esfahbod c8f6ae1d 2023-07-08T20:21:49 [subset/hvar/retaingids] Synthesize a DeltaSetIndexMap if needed Before we were emitting the entire VarStore rows if advMap was Null. Instead, synthesize an advMap. 20% speed up in subset_glyphs/SourceHanSans-VF.otf/retaingids benchmark.
Behdad Esfahbod 1f4645c6 2023-07-08T18:49:47 [subset/hvar] Speed up
Khaled Hosny 8d99db5c 2023-07-09T03:41:48 [wasm] Typo [ci skip]
Behdad Esfahbod 8115033a 2023-07-08T18:33:13 [hvar] Speed up retaingids planning 35% speedup in: BM_subset/subset_glyphs/SourceHanSans-VF.otf/retaingids/10
Behdad Esfahbod 1fe1a497 2023-07-08T18:24:09 [bimap] Minor vector pre-alloc
Behdad Esfahbod 7a7001df 2023-07-08T17:48:00 Typo
Khaled Hosny b4305532 2023-07-09T02:54:30 8.0.0
Khaled Hosny 5b8ba512 2023-07-09T02:50:45 [doc] Fix warning about missing hb-gobject section We don’t build hb-gobject docs anymore, lets not bother gtk-doc with it.
Khaled Hosny 0ed946c3 2023-07-09T03:01:47 [wasm] Fix warning In file included from src/harfbuzz.cc:62: src/hb-wasm-shape.cc:27:9: warning: 'HB_DEBUG_WASM' macro redefined [-Wmacro-redefined] ^ src/hb-debug.hh:393:9: note: previous definition is here ^ 1 warning generated.
Khaled Hosny afe09102 2023-07-09T02:45:52 [font] Actually deprecate get_glyph_shape() We previously marked it as deprecated in the documentation but didn’t actually deprecate it in code. Now the only known users have migrated to draw_glyph(), lets deprecate o=it for good.
Behdad Esfahbod c6a01441 2023-07-08T16:32:15 [sanitize] Always-inline OffsetTo::sanitize() 8% speed up in sanitizing Gulzar.
Behdad Esfahbod f60dbd90 2023-07-08T16:21:24 Fix thinko Fixes https://oss-fuzz.com/testcase-detail/4787105656864768