src


Log

Author Commit Date CI Message
Behdad Esfahbod ecb46f70 2023-06-23T12:18:33 [subset/cff1] Comment
Behdad Esfahbod 4332cb33 2023-06-23T12:03:42 [subset] Fix bot failure
Behdad Esfahbod c4b2950d 2023-06-23T11:55:39 [subset/cff1] Use cached subset-accel for seac calculations Before we were creating a new (non-subset) accel each time.
Behdad Esfahbod 5f399139 2023-06-23T11:22:01 [subset/cff] Move lazy cff-accelerator to cff-subset-accelerator Fixes https://github.com/harfbuzz/harfbuzz/issues/4295
Behdad Esfahbod 97d63e8d 2023-06-23T10:43:34 [subset/cff] Move serialize to accelerator
Behdad Esfahbod 7344411c 2023-06-23T10:27:44 [subset] Sprinkle some HB_NO_SUBSET_CFF
Behdad Esfahbod 26f320dc 2023-06-23T10:24:32 [subset/cff] Remove unused method
Behdad Esfahbod 43ec78f9 2023-06-23T10:22:30 [subset/cff] Cache CFF accelerator in hb_subset_plan_t This shows 7% speedup in: BM_subset/subset_glyphs/SourceHanSans-Regular_subset.otf/retaingids/10
Behdad Esfahbod 154aae3a 2023-06-22T20:41:16 [subset] Minor use an auto variable I need this later. :D
Behdad Esfahbod 64e49e0f 2023-06-22T20:27:20 [subset-cff2] Store num_glyphs in plan Like cff1 code does. Also, check for .notdef, like cff1 code does.
Behdad Esfahbod f05561dd 2023-06-22T20:25:04 [subset-cff1] Use plan.num_glyphs instead of passing again
Behdad Esfahbod 7a124a0b 2023-06-22T20:18:20 [cff1] Use constructor for accelerator_templ_t
Behdad Esfahbod ad025ddf 2023-06-22T20:09:36 [subset-cff] Simplify a bit
Behdad Esfahbod e1753782 2023-06-22T19:45:29 [subset-cff] Handle an error condition
Behdad Esfahbod cb5f4d0c 2023-06-22T18:46:33 [subset-plan] Avoid a copy in freeing name-table-overrides
David Corbett d8fba5c6 2023-06-22T19:25:54 [use] Add FM categories to `POST_BASE_FLAGS64`
Behdad Esfahbod 6a17622a 2023-06-22T18:35:10 [array] Speed up iteration These are faster than relying on the random-access methods (forward, rewind, item_it).
Behdad Esfahbod f839bd11 2023-06-22T17:29:57 [multimap] Use one fewer object Also fix error-checking to check for sub-object errors.
Behdad Esfahbod 280edb90 2023-06-22T17:07:31 [map] Use a variable instead of function for is_trivial
Behdad Esfahbod 0aa939e7 2023-06-22T17:05:55 [map] Add a constexpr
Behdad Esfahbod cf386e8c 2023-06-22T17:02:10 [map] Speed up resize()
Behdad Esfahbod abd6c305 2023-06-22T16:44:29 [subset-plan] Micro-optimize
Behdad Esfahbod 7b53d2db 2023-06-22T16:35:11 [subset] Avoid copying gid_to_unicode multimap Construct it in the accelerator directly.
Behdad Esfahbod 272e159c 2023-06-22T16:31:50 [subset] Speed up populating reverse cmap
Behdad Esfahbod 8f80d9d3 2023-06-22T16:22:47 [subset-accelerator] Avoid a multimap copy
Behdad Esfahbod 5c2aa1a8 2023-06-22T11:02:22 [syllabic] Add buffer messages for inserting dotted-circle
Behdad Esfahbod f0f6f6a8 2023-06-22T10:58:44 [layout] More message massaging
Qunxin Liu 7232c01d 2023-06-22T09:37:48 [instancer-solver] add tests for instancer-solver crossing calculation fix
Behdad Esfahbod 37555f84 2023-06-22T10:21:19 [layout] Trace chosen script tag
Behdad Esfahbod c56275c0 2023-06-21T19:01:46 [instancer-solver] Notation
Behdad Esfahbod dbac2335 2023-06-21T18:54:11 [instancer-solver] Simplify, from upstream
Behdad Esfahbod 32a9ac2e 2023-06-21T18:30:31 [instancer/L4] Add a comment from upstream
Behdad Esfahbod 244f3224 2023-06-21T17:54:49 [instancer-solver] Port optimization from upstream Fixes https://github.com/harfbuzz/harfbuzz/issues/4291
Behdad Esfahbod 197bb359 2023-06-21T15:16:53 [instancer-solver] Further simplify From https://github.com/fonttools/fonttools/pull/3179/commits/94e081611c6b40fa6284049a753479d1038bdb1c
Behdad Esfahbod 6788932d 2023-06-21T15:16:19 [instancer-solver] Simplify From https://github.com/fonttools/fonttools/pull/3179/commits/7385cbbc34080d5ed3e9017eb38945cfb03cfe17
Behdad Esfahbod de0c5aed 2023-06-21T15:14:23 [instancer-solver] Backport bugfix from fonttools Fixes https://github.com/harfbuzz/harfbuzz/issues/4289 Test not ported yet.
Garret Rieger db700b56 2023-06-12T23:38:26 [subset] fix fuzzer timeout. Fixes: https://oss-fuzz.com/testcase-detail/6681253479579648. Limits iteration of coverage table during MATH subset to valid glyphs.
Behdad Esfahbod 1159b9d3 2023-06-10T10:54:32 [subset/cff1] Remove always-true check
Behdad Esfahbod fad2c4ae 2023-06-10T10:22:27 [subset/cff] Simplify a few serialize calls
Behdad Esfahbod 2e6919d5 2023-06-10T10:08:56 [subset/cff2] Error handling Fixes https://oss-fuzz.com/testcase-detail/4916785942757376
Behdad Esfahbod 0935b327 2023-06-08T18:47:33 [vector] Speed up shrink_vector for trivial destructors
Behdad Esfahbod da2e2c8c 2023-06-08T17:16:53 [subset/cff] Speed up offset writing
Behdad Esfahbod c85ca75e 2023-06-08T15:57:49 [buffer-verify] Simplify a couple ifs
Behdad Esfahbod e527c17e 2023-06-08T15:56:12 [buffer-verify] Don't consider shaping failure as error
Behdad Esfahbod cb516075 2023-06-08T15:50:53 [buffer-verify] Error handling
Qunxin Liu 3669a627 2023-06-08T13:26:37 fix bot
Qunxin Liu 9fd36766 2023-06-08T12:27:36 [instancer] add testing code for change_tuple_variation_axis_limits() Also fixed a small bug
Qunxin Liu 8057661f 2023-06-08T12:10:27 [instancer] use axis tag as hashmap key instead of axis index This makes remove_axis() and set_tent() faster, which are used by change_axis_limits ()
Qunxin Liu 389446c5 2023-06-08T09:07:47 [instancer] add merge_tuple_variations ()
Behdad Esfahbod fea47dd3 2023-06-08T15:03:27 [vector] Fix vector error handling when allocation used to be 0
Behdad Esfahbod 11308c4d 2023-06-08T14:51:18 [graph] Remove manual destruction Happens automatically by destructor.
Behdad Esfahbod dbdeb264 2023-06-08T12:08:29 [vector] Keep allocated size when in error
Behdad Esfahbod 9df07c3c 2023-06-08T11:46:06 [gsubgpos] Prevent a leak in closure If the push wasn't successful we were constructing an hb_set_t on the Crap data... At least that's my reading of the code.
Behdad Esfahbod 0f0b3bee 2023-06-08T11:13:33 [map] Fix use-after-move issue
Behdad Esfahbod a67a7867 2023-06-07T20:24:02 [cff] Tweak CFFIndex accessors again Faster; avoiding multiply.
Behdad Esfahbod 04c5e46a 2023-06-07T19:18:04 [subset/cff] Fix comment
Behdad Esfahbod 8832da83 2023-06-07T18:58:52 [subset/cff] Comment
Behdad Esfahbod 092373f3 2023-06-07T17:49:13 [subset/cff] Comment
Behdad Esfahbod e0b60bd0 2023-06-07T17:25:47 [subset/cff1] Speed up remap_sids
Behdad Esfahbod 67b16247 2023-06-07T16:15:48 [set] Simplify a few set iterations as range loop
Behdad Esfahbod 988e4f06 2023-06-07T15:57:47 [iter] Comment
Behdad Esfahbod 0364c69e 2023-06-07T15:52:18 [iter] Add has_fast_len Set iterators are not random_access, but have fast len().
Behdad Esfahbod 2d158922 2023-06-07T15:47:08 [subset/hdmx] Remove an unintended vector copy
Behdad Esfahbod 81b2a56d 2023-06-07T15:04:20 [set] Micro-optimize iteration
Behdad Esfahbod ad620af6 2023-06-07T14:59:22 Revert "[iter] Another try at writing some for loops as range loops" This reverts commit 69c6928289cad871b5b096fbdcd2827fdb80c3ad. This had code size increase, and slows down non-random-access iterators since it accesses __end__ which is O(n).
Behdad Esfahbod 80d6e996 2023-06-07T14:21:40 [subset/cff1] Fix wrong comma location!
Behdad Esfahbod 69c69282 2023-06-07T14:11:02 [iter] Another try at writing some for loops as range loops
Behdad Esfahbod 138461be 2023-06-07T14:07:39 [susbet/cff] Minor remove one indirection
Behdad Esfahbod 41369b66 2023-06-07T14:04:42 Revert "[subset/cff1] Optimize writing of consecutive names" This reverts commit 3b25a630403b65eb5608d10c3b8d082a141bd5c8. Not worth it. Shows 0.5% speedup only on SourceSansPro/retaingids/10 Doesn't have code size increase though.
Behdad Esfahbod 3b25a630 2023-06-07T14:04:25 [subset/cff1] Optimize writing of consecutive names
Behdad Esfahbod 78082357 2023-06-07T12:43:05 Revert "[iter] Rewrite some loops as range loops" This reverts commit 7a5242a30f3c41755a095909989221b4d22690ef. This times out test-set. Obviously broke something (in hb_all I think). Not bothering to figure out right now.
Behdad Esfahbod 7a5242a3 2023-06-07T12:36:15 [iter] Rewrite some loops as range loops
Behdad Esfahbod cc9651d5 2023-06-07T12:20:48 [map] Micro-optimize
Behdad Esfahbod 79113ec3 2023-06-07T12:14:43 [subset/cff1] Micro-optimize String writing
Behdad Esfahbod 5fe96213 2023-06-07T12:05:57 [subset/cff] Micro-optimize CFFIndex writing
Behdad Esfahbod 70b13ef0 2023-06-07T11:46:37 Merge pull request #4267 from googlefonts/decompile_tuple_varstore [instancer] decompile tuple varstore
Behdad Esfahbod b80b6a4f 2023-06-06T18:11:55 [cff] Remove unused types
Behdad Esfahbod 26ac1d4b 2023-06-06T18:08:59 [cff] Remove unused method
Behdad Esfahbod c6ce1f81 2023-06-06T17:17:29 [cff] Micro-optimize CFFIndex::operator[]
Behdad Esfahbod a55d0b88 2023-06-06T17:13:09 [subset/cff] Inline type only used once
Behdad Esfahbod 2960d13f 2023-06-06T16:24:28 [subset/cff1] Micro-optimize string writing
Behdad Esfahbod 35e152b9 2023-06-06T16:21:14 [subset/cff] Micro-optimize CFFIndex for empty strings
Behdad Esfahbod acae5ed2 2023-06-06T16:18:44 [subset/cff1] Speed up sid mapping Don't need a full inc_bimap.
Behdad Esfahbod 9e80f6b1 2023-06-06T15:38:14 [subset/cff1] Speed up plan_subset_charset 25% speedup in --benchmark_filter=subset_glyphs/SourceSansPro'.*retaingids/10
Behdad Esfahbod fd13aa9e 2023-06-06T15:33:51 [subset/cff1] Optimize CFF::CFF1StringIndex::serialize
Behdad Esfahbod ada1e9a9 2023-06-06T14:46:06 [graph/serialize] Handle empty blob Fixes https://oss-fuzz.com/testcase-detail/4877513265119232
Behdad Esfahbod a92b288e 2023-06-06T14:32:25 [serializer] Handle snapshotting when current is nullptr Happens with memory failure / fuzzing. Fixes https://oss-fuzz.com/testcase-detail/6292420615340032
Qunxin Liu 01f9b797 2023-06-05T17:26:20 address review comments
Behdad Esfahbod f01ebe97 2023-06-05T21:38:37 [vector] Minor write more idiomatic
Behdad Esfahbod cd8f7c02 2023-06-05T17:17:44 [subset/cff] Optimize fdselect
Qunxin Liu 796a0df9 2023-06-05T15:33:43 try to fix bot
Behdad Esfahbod dcecb4d1 2023-06-05T16:03:36 [subset/ValueFormat] Micro-optimize
Behdad Esfahbod 5676adef 2023-06-05T15:56:19 [subset/cff1] Remove an unneeded copy method Same as serializer embed().
Behdad Esfahbod 7d969812 2023-06-05T15:44:50 [subset/cff1] Micro-optimize Is ugly but shows speedup.
Behdad Esfahbod 469e82a2 2023-06-05T15:23:22 [subset/PairPos] Micro-optimize
Behdad Esfahbod 6593d2aa 2023-06-05T15:11:43 [subset/PairPos] Speed up
Qunxin Liu ed6bee20 2023-06-05T14:03:22 [instancer] add a test for decompile cvar tuple variations data
Qunxin Liu bd9cdecd 2023-06-05T13:52:05 [instancer] add decompile_tuple_variations() for cvar table
Behdad Esfahbod 452990ed 2023-06-04T17:46:36 [cff1] Add TODO
Behdad Esfahbod 072c9c06 2023-06-04T16:04:29 Revert "[subset/cff1] Micro-optimize" This reverts commit 93020621f0651920ff92e19f543fbf2351c8311b. This slowed down the common path actually.