Log

Author Commit Date CI Message
Behdad Esfahbod 2e6919d5 2023-06-10T10:08:56 [subset/cff2] Error handling Fixes https://oss-fuzz.com/testcase-detail/4916785942757376
Pedro Kaj Kjellerup Nacht 5906f90c 2023-06-07T18:54:57 Hash-pin Actions Signed-off-by: Pedro Kaj Kjellerup Nacht <pnacht@google.com>
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
Behdad Esfahbod 39dd777a 2023-06-08T15:25:20 Merge pull request #4271 from googlefonts/change_axis_limits [instancer] change tuple variations' axis limits
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 d08aee5a 2023-06-08T13:20:28 Add fuzzing test
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 072c9c06 2023-06-04T16:04:29 Revert "[subset/cff1] Micro-optimize" This reverts commit 93020621f0651920ff92e19f543fbf2351c8311b. This slowed down the common path actually.
Behdad Esfahbod f102d57a 2023-06-04T16:03:34 [subset/cff1] Micro-optimize
Behdad Esfahbod cdfbd7b6 2023-06-04T15:58:14 [subset/cff1] Micro-optimize
Behdad Esfahbod 7b97262b 2023-06-04T15:55:18 [subset/cff1] Micro-optimize
Behdad Esfahbod 452990ed 2023-06-04T17:46:36 [cff1] Add TODO
Behdad Esfahbod 59387dbe 2023-06-05T14:47:27 [subset/cff] Speed up sid mapping
Qunxin Liu 2012df07 2023-06-05T13:46:04 [instancer] add struct tuple_variation_t And add function to decompile TupleVariationData into the struct
Qunxin Liu 9f508b73 2023-06-05T13:35:28 [instancer] add unpack_axis_tuples () in TupleVariationHeader
Behdad Esfahbod ffc6899b 2023-06-05T14:16:47 [subset/cff1] Use a vector, instead of map, for glyph_to_sid_map Much faster.
Qunxin Liu 7b0ecbd8 2023-06-05T13:08:12 [instancer] add struct tuple_delta_t to represent 1 tuple variation
Behdad Esfahbod 1636e112 2023-06-05T13:44:00 [cff] Micro-optimize
Behdad Esfahbod 27299e0d 2023-06-05T13:41:04 [subset/cff] Minor use hb_len()
Behdad Esfahbod 377ccb31 2023-06-05T13:38:06 [subset/cff] Speed up set_offset_at
Behdad Esfahbod 90122925 2023-06-05T13:33:10 [subset/cff1] Minor speedup
Behdad Esfahbod 238cb0fb 2023-06-05T13:27:03 [subset/cff1] Speed up for retaingids
Behdad Esfahbod 9de413bf 2023-06-04T17:43:48 [subset/cff1] Micro-optimize
Behdad Esfahbod ca353e64 2023-06-04T17:25:29 [subset/cff1] Style
Behdad Esfahbod e077ca89 2023-06-04T16:23:36 [subset/cff] Micro-optimize
Behdad Esfahbod 126d1441 2023-06-04T16:23:36 [subset/cff] Micro-optimize
Behdad Esfahbod a24025c9 2023-06-04T16:15:43 [subset/cff1] Micro-optimize
Behdad Esfahbod 5a3ac0ab 2023-06-04T15:37:25 [subset/cff1] Another micro-optimization
Behdad Esfahbod 33139828 2023-06-04T15:33:22 [subset/cff1] Micro-optimize
Behdad Esfahbod 595aa583 2023-06-04T15:24:36 [UnsizedArray] Minor simplify operator[]
Behdad Esfahbod 319ea3b9 2023-06-04T15:23:20 [UnsizedArrayOf] Simplify operator[] No need to check for overflow. Caller is responsible for correct access.
Behdad Esfahbod 6188a3f5 2023-06-04T15:12:56 [subset/cff] Minor signedness change
Behdad Esfahbod 887f2993 2023-06-04T15:11:17 [susbet/cff] Reuse iterator
Behdad Esfahbod f5b82846 2023-06-04T15:10:08 [subset/cff1] Minor use hb_len
Behdad Esfahbod 70638170 2023-06-04T15:03:16 [subset/cff1] Speed up writing 1byte charstrings As in the holes of retaingids.
Behdad Esfahbod 21ff023a 2023-06-04T14:08:24 [subset/cff1] Speed up encoding for retaingids
Behdad Esfahbod b1522239 2023-06-04T13:58:10 [cff] Minor type change
Behdad Esfahbod 640774b9 2023-06-04T13:26:14 [subset/cff] Speed up subsr subset for retaingids
Behdad Esfahbod 6b11a3d9 2023-06-04T13:18:43 [subset/cff] Speed up closure_subroutines for retaingids
Behdad Esfahbod 31014832 2023-06-04T12:58:02 [cff1] More hygiene
Behdad Esfahbod bf0a08c9 2023-06-04T12:54:35 [cff1] Hygiene
Behdad Esfahbod ebc5257e 2023-06-04T11:25:16 [cff1] Add a couple of unlikely's
Behdad Esfahbod 9cdc0b64 2023-06-04T11:18:56 [subset/cff] Speed up subset_cff_fdselect
Behdad Esfahbod 858a0223 2023-06-04T10:55:41 Revert "[cff] Optimize writing out Index offsets" This reverts commit 78ba23c58766c16992ddc4e3af403824aa845fe2. Not enough gain, and bloats code size.
Behdad Esfahbod 78ba23c5 2023-06-04T10:52:19 [cff] Optimize writing out Index offsets