Log

Author Commit Date CI Message
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
Behdad Esfahbod d84c5f29 2023-07-08T15:22:51 Revert "[gsubgpos] Make (Chain)Context funcs templatized" This reverts commit 03ac08d267eb7ad2f1ac039115fc0030ea475fae.
Behdad Esfahbod e73223b9 2023-07-08T15:22:18 [gsubgpos] Make (Chain)Context funcs templatized Unfortunately they still won't be inlined because the matcher_t needs function pointers. So, no speed up. Going to revert.
Behdad Esfahbod 3e3820ba 2023-07-08T14:36:23 Simplify a few bool returns Unnecessary. Cast to bool does the job.
Behdad Esfahbod 1c8d54de 2023-07-08T14:28:07 [shape] Another always-inline
Behdad Esfahbod df45067f 2023-07-08T14:22:59 [shape] More always-inline
Behdad Esfahbod c3a28be5 2023-07-08T14:20:45 [shape] One more always-inline
Behdad Esfahbod 72881234 2023-07-08T14:14:27 Allow overriding HB_ALWAYS_INLINE
Behdad Esfahbod 9fea19eb 2023-07-08T13:56:24 [shape] Another always-inline
Behdad Esfahbod 5b45c56c 2023-07-08T13:47:41 [shape] Always-inline more Another 10% speedup in BM_Shape Gulzar-Regular.
Behdad Esfahbod bb9692e8 2023-07-08T13:45:48 [shape] Always-inline match_input 10% speedup in BM_Shape Gulzar-Regular.
Behdad Esfahbod 6c451054 2023-07-08T12:55:34 [sanitize] Sprinkle a few unlikely's
Behdad Esfahbod 4ecc62c2 2023-07-08T12:53:23 [sanitize] Simplify ChainRule::sanitize again check_struct does the same now.
Behdad Esfahbod 253ec08b 2023-07-08T12:48:05 [sanitize] Speed up check_struct on x64
Behdad Esfahbod fb02f4a8 2023-07-08T12:29:18 [sanitize] Micro-optimize ChainRule::sanitize
Khaled Hosny c650858c 2023-07-08T13:57:05 [graphite] Fix cluster advance width Based on https://github.com/harfbuzz/harfbuzz/issues/4309#issuecomment-1624730406 Fixes https://github.com/harfbuzz/harfbuzz/issues/4309
Behdad Esfahbod 73ee9c34 2023-07-07T22:47:20 Revert "[sanitize] Only check trailing edge of ranges" This reverts commit e4856cf8098b9741a910e7f7979096cf11d8fead. This is wrong on at least 32-bit systems. Might add a condition version later.
Behdad Esfahbod 0b879afb 2023-07-07T22:35:43 [sanitize] Inline Coverage::sanitize
Behdad Esfahbod 92448910 2023-07-07T22:16:24 [sanitize] Minor inline a few more short functions
Behdad Esfahbod d8450420 2023-07-07T21:56:17 [sanitize] Optimize away an overflow check when not needed When the length argument is 16bit...
Behdad Esfahbod e4856cf8 2023-07-07T21:21:33 [sanitize] Only check trailing edge of ranges Assumptions... Speeds up Gulzar load_face_and_shape benchmark by 7%.
Behdad Esfahbod 6a683ea6 2023-07-07T21:02:15 [sanitize] Enlighten check_range() some more No need to check for len=0 arrays. They must still be in range.
Behdad Esfahbod c24ea103 2023-07-07T20:43:20 [sanitize] Minor tweak to len=0 case which is handled otherwise anyway
Behdad Esfahbod 403bc7ca 2023-07-07T20:17:32 [sanitize] Simplify Rule::sanitize()
Behdad Esfahbod 385896ff 2023-07-07T19:56:19 [sanitize] Speed up ChainRule::sanitize() 10% speedup in sanitizing Gulzar-Regular.
Behdad Esfahbod 2006d321 2023-07-07T17:07:11 [sanitize] Add "fastpath" for ArrayOfOffset16To<> objects with max size Unfortunately this doesn't speed up NotoNastaliq or Gulzar as I was hoping for. Their GSUB tables are not large enough for this to kick in...
Behdad Esfahbod 7a85663c 2023-07-07T19:21:18 Revert "[sanitize] Add "fastpath" for ArrayOfOffset16To<> objects with max size" This reverts commit 10f8556c73f3cf231c6b5a900a6a1903f9516f90. This was, unfortunately, wrong :(.
Behdad Esfahbod f2a3680f 2023-07-07T19:21:03 Revert "[gsubgpos] Limit (Chain)ContextFormat3 for consistency" This reverts commit 90b48917dadbef51bc5e90904d0f81e81199b9e2.
Behdad Esfahbod 90b48917 2023-07-07T18:50:01 [gsubgpos] Limit (Chain)ContextFormat3 for consistency
Behdad Esfahbod 3b02f694 2023-07-07T18:39:28 [sanitize/GSUBGPOS] Limit max-size of a few offset arrays This significantly speeds up Gulzar-Regular sanitize, by 40%.
Behdad Esfahbod 10f8556c 2023-07-07T17:07:11 [sanitize] Add "fastpath" for ArrayOfOffset16To<> objects with max size
Behdad Esfahbod 68b78914 2023-07-07T17:07:11 [sanitize] Add "fastpath" for ArrayOfOffset16To<> objects with max size Unfortunately this doesn't speed up NotoNastaliq or Gulzar as I was hoping for. Their GSUB tables are not large enough for this to kick in...
Behdad Esfahbod 90752cd5 2023-07-07T15:47:28 [type] Add HeadlessArray16Of
Behdad Esfahbod 59abcda2 2023-07-07T14:27:18 [sanitize] Add an ALWAYS_INLINE Looks like it was always inlined anyway.
Behdad Esfahbod 45a17212 2023-07-06T16:06:50 [ot-font] Prefer CFF2 over CFF1
أحمد المحمودي 43d0aff6 2023-07-04T09:22:53 [introspection] Pass both libharfbuzz_gobject & libharfbuzz as positional parameters Fixes #4304
Behdad Esfahbod 25297408 2023-07-03T10:34:26 [COLR] Fix PaintComposite sanitize timeout Was timing out after recent sanitize() change. Fixes https://oss-fuzz.com/testcase-detail/5692635449524224
dependabot[bot] a8c655e6 2023-07-03T10:17:36 Bump actions/checkout from 3.5.1 to 3.5.3 Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.1 to 3.5.3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3.5.1...c85c95e3d7251135ab7dc9ce3241c5835cc595a9) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Behdad Esfahbod de2c1073 2023-07-02T16:44:48 [ot-map] Speed up for default shaper Sort late, the reduced number of features.
Behdad Esfahbod 8156c5a6 2023-07-02T16:35:32 [ot-map] Minor micro-optimize
Behdad Esfahbod 5ac9eaa0 2023-07-02T16:18:08 [sanitize] Minor micro-optimize
Behdad Esfahbod e8948d63 2023-07-02T15:35:18 [set-digest] Micro-optimize more
Behdad Esfahbod cb73ba71 2023-07-02T15:27:26 [set-digest] Fixup for previous commit
Behdad Esfahbod 918ad892 2023-07-02T14:54:24 [set-digest] Early terminate add_range() if we're full
Behdad Esfahbod bb33675e 2023-07-02T14:11:40 [sanitize] Micro-optimize check_range()
Behdad Esfahbod d1c82a1c 2023-07-02T13:38:22 [sanitize] Speed up check_struct() Don't account for length here. Should not be a problem. Fingers crossed fuzzers. 18% speed up in load_face_and_shape Gulzar-Regular.
Behdad Esfahbod ec943866 2023-07-02T13:29:53 [OffsetTo] Micro-optimize away a check
Behdad Esfahbod eae82788 2023-07-02T13:07:26 [GPOS] Micro-optimize lazy_some_gpos check Speeds up 11% in: BM_Font/load_face_and_shape/Roboto-Regular.ttf/hb
Behdad Esfahbod 46e54a23 2023-07-02T13:03:16 [GPOS] Remove extra check