src


Log

Author Commit Date CI Message
Behdad Esfahbod db86e977 2023-04-26T17:08:53 [gvar] Micro-optimize
Behdad Esfahbod 27b8a208 2023-04-26T16:54:58 [gvar] Minor variable reuse
Behdad Esfahbod c87f2601 2023-04-26T16:32:07 [glyf] Micro-optimize
Behdad Esfahbod 2bbb605d 2023-04-26T16:40:39 [glyf] Micro-optimize No need to init the whole array.
Khaled Hosny a321c4fe 2023-04-27T00:48:00 7.2.0
Behdad Esfahbod fd52c4cf 2023-04-26T16:27:51 [gvar] Comment
Behdad Esfahbod 0c59c629 2023-04-26T16:20:16 [gvar] Micro-optimize For cases where no deltaset applies.
Behdad Esfahbod 5d1a603a 2023-04-26T16:25:15 [var] Fix compiler warnings
Behdad Esfahbod af393e96 2023-04-26T16:02:06 [gvar] Refactor a variable
Behdad Esfahbod 2a3bf5a5 2023-04-26T15:58:55 [gvar] Minor error-handling
Behdad Esfahbod 57faabb7 2023-04-26T15:56:04 [gvar] Micro-optimize
Behdad Esfahbod 76e269af 2023-04-26T15:47:12 [gvar] Micro-optimize
Behdad Esfahbod 7349cea1 2023-04-26T14:27:24 [gvar] Micro-optimization
Behdad Esfahbod bc535870 2023-04-26T13:57:11 [deprecated] Add HB_UNICODE_COMBINING_CLASS_CCC133 https://github.com/harfbuzz/harfbuzz/pull/4207
Behdad Esfahbod c5afe026 2023-04-26T13:44:03 [gvar] Comment
Behdad Esfahbod 87c6e68e 2023-04-26T13:20:51 [gvar] Assertion
Behdad Esfahbod 09386737 2023-04-26T13:19:27 [gvar] Error handling & micro-optimization
Behdad Esfahbod b6aa2d71 2023-04-26T13:06:24 [gvar] Speed up calculate_scalar more Use a gvar-wide cache of the one active peak index for shared-tuples that have only one active peak. This speeds up the scalar calculation. This shows significant speedup for the CJK VarComposite font for example since that has tens of axes with mostly only one active peak.
Han Seung Min - 한승민 ffbfab12 2023-04-27T00:43:48 oops docs
Han Seung Min - 한승민 e428edc3 2023-04-26T23:57:21 [unicode] Fix typo I believe the `hb-unicode.h` has a typo where `HB_UNICODE_COMBINING_CLASS_CCC133 = 132,` is supposed to be `HB_UNICODE_COMBINING_CLASS_CCC132`
Behdad Esfahbod 63afb4f2 2023-04-26T10:29:25 [syllabic] Better fix for previous issue With previous fix the GPOS application was still reading the syllable() member, which was already freed. This fix is more correct.
Behdad Esfahbod c5f3b3fe 2023-04-26T10:17:37 [syllabic] Actually clear syllables Such that they don't affect GPOS. I broke this in 044d7a06db552e1564b8575f4d23798f009d9dde.
Behdad Esfahbod 9ee7c2ea 2023-04-25T16:13:54 [cmap] Minor remove magic number
Behdad Esfahbod 580b0dc1 2023-04-25T16:11:01 [cmap] Comment
Behdad Esfahbod 1d31da91 2023-04-25T15:34:06 Merge pull request #4205 from harfbuzz/gvar-optimize Gvar optimize
Behdad Esfahbod f6803b06 2023-04-25T14:46:44 [VarRegionAxis] Micro-optimize peak==0 is common.
Behdad Esfahbod f91929d6 2023-04-25T14:42:00 Minor return floats instead of doubles from function Not that any compiler complained...
Behdad Esfahbod 808a21f8 2023-04-25T14:03:52 [gvar] Simplify ref_points logic
Behdad Esfahbod 78a0216a 2023-04-25T13:52:00 [gvar] Write a for loop as range loop
Behdad Esfahbod f654823f 2023-04-25T13:09:40 [gvar] Handle an error case
Behdad Esfahbod 30d08dc6 2023-04-25T12:13:57 [gvar] Populate end_points lazily Tiny micro-optimization...
Behdad Esfahbod fe8c9170 2023-04-25T11:30:36 [gvar] Micro-optimize has_intermediate() access
Garret Rieger 2175f5d0 2023-04-24T21:13:18 [subset] Fix inefficient ItemVariationStore subsetting w/ retain_gids. ItemVariationStore is relying on the assumption that the inner_map is populated for all output glyphs, this is not true for subsetting operations with retain gids enabled. Fixes fuzzer timeout: https://oss-fuzz.com/testcase-detail/4575222591520768.
Behdad Esfahbod 385e2376 2023-04-24T17:51:07 [var] Optimize calculate_scalar more This change alone is showing me 14% scalar in a benchmark. The reason being that the array::operator[] is not being invoked a lot of time, which was, many times, hitting the unlikely() path. Weird!
Behdad Esfahbod 7a3928e2 2023-04-24T17:38:20 [var] Optimize calculate_scalar For varfonts with lots of deltasets, the loop in this function is *really* hot...
Behdad Esfahbod 89296036 2023-04-24T16:16:27 [gvar] Another minor optimization Allocate orig_points lazily only when needed.
Behdad Esfahbod 20454eaa 2023-04-24T15:50:58 [gvar] Optimize by applying deltas in batches Shows up to 7% speedup in one of my benchmarks. One test fails by one rounding issue. To be updated.
Behdad Esfahbod 491aa572 2023-04-24T15:05:18 [gvar] Minor call a function instead of handcoding
Behdad Esfahbod cf95f319 2023-04-24T14:45:52 [VarComposite] Another minor resue of num_points
Behdad Esfahbod 0a520842 2023-04-24T14:23:24 [VarComposite] Minor resue of num_points
Behdad Esfahbod a9a9f278 2023-04-24T14:16:48 [atomic] Remove incomplete comment
Behdad Esfahbod d1c00c04 2023-04-24T13:24:47 [COLR] Respect HB_NO_PAINT Fixes https://github.com/harfbuzz/harfbuzz/issues/4204
Behdad Esfahbod 4129061e 2023-04-24T13:04:05 Revert "Move hb-ot-name-language-static.hh out of hb-static.cc" This reverts commit 7b5f0dd3a8b4a126b7952fea1c4c30b8b456083e. Fixes https://github.com/harfbuzz/harfbuzz/issues/4203
Behdad Esfahbod e76a3649 2023-04-22T10:20:25 [atomic] Comment
Behdad Esfahbod 8e43e3a8 2023-04-22T10:16:43 [priority-heap] Comment
Behdad Esfahbod 48f8ed7e 2023-04-22T10:11:22 Docs
Behdad Esfahbod b31684dc 2023-04-22T09:47:58 [cache] Add some AI-generated comments
Behdad Esfahbod bffdca89 2023-04-22T09:32:57 [pool] Add funny Copilot comment
Behdad Esfahbod a960571f 2023-04-21T16:45:08 [glyf] Comments
Behdad Esfahbod 2b042cc5 2023-04-21T16:43:47 [VarComposite] Implement trim_padding()
Qunxin Liu 591c9460 2023-04-21T14:12:27 [instancer] compile composite glyphs directly with shifted component points instead of deltas
Behdad Esfahbod 3520f528 2023-04-21T15:46:36 [CompositeGlyph] Apply gvar deltas with component transform This was being done wrong for one of the scaled_offsets() cases.
Behdad Esfahbod 33972b3b 2023-04-21T12:37:51 [glyf] Increase CompositeGlyf memory allocation The 50% wasn't justified by logic.
Behdad Esfahbod 290cef39 2023-04-21T12:22:30 [glyf] When instancing, just spew empty VarComposites Before we were dropping the entire glyf table.
Behdad Esfahbod 4353192d 2023-04-21T11:59:15 [aat] Tweak a couple sanitize calls that are never called
Behdad Esfahbod 30501260 2023-04-21T11:42:18 [hdmx] Remove unused unsafe function
Behdad Esfahbod f74abc30 2023-04-21T11:37:37 [face] Comment
Behdad Esfahbod d1f49ba6 2023-04-20T18:17:14 [VarComposites] More ifdef guards
Behdad Esfahbod 1e9a0511 2023-04-20T17:47:04 [subset] Fix HB_TINY build
Behdad Esfahbod 106a237e 2023-04-20T17:44:59 [subset/glyf] Close over VarComposite glyphs Subsetting VarComposite glyphs works now.
Behdad Esfahbod f2d21425 2023-04-20T17:31:58 [VarC/subset] Support subsetting VarComposites By renumbering components.
Behdad Esfahbod 15d0a1dc 2023-04-20T17:28:10 [glyf] TODO
Behdad Esfahbod 85d0c3b5 2023-04-20T17:17:28 [glyf] Comment
Behdad Esfahbod 5d74b42b 2023-04-20T17:15:57 [glyf] Change variable name
Behdad Esfahbod c997e490 2023-04-20T17:02:38 Remove unnecessary return
Behdad Esfahbod 781da13e 2023-04-20T16:59:25 [glyf] Comment
Behdad Esfahbod 0e4bcf90 2023-04-20T16:23:41 [hmtx] Add TODO
Behdad Esfahbod 639f45ef 2023-04-20T16:21:08 [beyond-64k/subset] Implement subsetting of hmtx beyond64k
Behdad Esfahbod b3da715b 2023-04-20T16:05:03 Fix HB_TINY build
Behdad Esfahbod 32f145ff 2023-04-20T15:58:26 Fix build
Behdad Esfahbod 000a3c5d 2023-04-20T15:53:10 [beyond-64k/subset] Fetch lsb from glyph table if not available The beyond-64k hmtx table doesn't encode LSB. If subsetting brings the glyph under 64k (which currently is the only mode we support), then we need to encode the LSB, which wasn't available. We need to fetch xMin from glyf table and set it as LSB.
Behdad Esfahbod 1111c757 2023-04-20T15:17:23 hb_memset
Behdad Esfahbod 219e739c 2023-04-20T15:10:29 [beyond-64k/subset] Lower CompositeGlyph GID24's when possible
Behdad Esfahbod a2e8ecf9 2023-04-20T13:59:49 [Glyph] Minor change type of type to enum type Say that thrice.
Behdad Esfahbod 317e3693 2023-04-20T11:48:43 [beyond-64k] Fail hmtx subsetting if subset too large
Behdad Esfahbod 64ecf872 2023-04-20T11:42:45 [beyond-64k] Fix subsetting of maxp
Garret Rieger 19e1b698 2023-04-18T18:49:26 [subset] Fix ubsan failure.
Garret Rieger 647b0247 2023-04-17T22:47:47 [subset] Fix fuzzer issue https://oss-fuzz.com/testcase-detail/6521393809588224
Garret Rieger 8658c257 2023-04-17T19:46:46 [subset] In LigatureSubst subsetting, check if the ligature glyph is in glyphset. Otherwise coverage will not match the retained ligature sets.
Josef Friedrich ac4c3b3e 2023-04-17T20:13:43 Fix typos in the source code docs
Garret Rieger 90356eb2 2023-04-14T20:52:35 [subset] Note --no-layout-closure is only for GSUB.
Garret Rieger 14b9d8d5 2023-04-14T20:44:15 [subset] add --no-layout-closure flag. Disables layout glyph closure. Fixes #4192.
Qunxin Liu 96ed2072 2023-04-04T10:33:58 [instancer] update bound metrics for CFF2 instancing
Behdad Esfahbod 04a47932 2023-03-31T11:44:08 [paint] Remove enum trailing comma in C header Fixes https://github.com/harfbuzz/harfbuzz/discussions/4188
Garret Rieger 2cd81fdf 2023-03-30T22:11:43 [subset] fix memory leak. Fixes fuzzer issue https://oss-fuzz.com/testcase-detail/6169920089227264
Behdad Esfahbod 453ded05 2023-03-28T13:17:15 [indic] Tighten up base-finding Fixes https://github.com/harfbuzz/harfbuzz/issues/4185
Qunxin Liu c1acfe99 2023-03-22T19:06:58 [instancer] bug fix in TupleVariationData get_size () We need to iterate TupleVariationHeader when calculating the total size
Garret Rieger be872001 2023-03-24T17:30:53 [subset] fix buffer overflow fuzzer reported issue.
Garret Rieger 79ae6b65 2023-03-24T17:14:55 [subset] Fix fuzzer found memory leaks.
Qunxin Liu fe671a5a 2023-03-16T14:10:21 [instancer] support COLRv1 full instancing
Garret Rieger f0f7f225 2023-03-20T18:39:49 [subset] fix fuzzer found null deref. https://oss-fuzz.com/testcase-detail/5844352760152064
Garret Rieger 79233a14 2023-03-17T00:58:58 [subset] fix incorrectly specified lock. Lock variable must have a name or it will immediately destruct.
Garret Rieger 8d8bcde8 2023-03-15T17:29:08 [set] don't allow -1 (HB_SET_VALUE_INVALID) to be inserted into a hb_set_t. Add tests that check all of the addition methods.
Garret Rieger a84cae42 2023-03-15T02:39:57 [subset] Don't add invalid gids (-1) to the glyphset when loading glyph map from the accelerator.
Behdad Esfahbod 09a26623 2023-03-14T12:48:12 Merge pull request #4168 from googlefonts/subset_name_collect [subset] name_id closure
Behdad Esfahbod 75e6498d 2023-03-14T12:41:46 Don't use M_PI Fixes https://github.com/harfbuzz/harfbuzz/issues/4166 Happy Pi Day!
Jason Simmons 32c889f1 2023-03-13T18:24:39 Remove extra blank line in hb-outline.cc
Qunxin Liu 0d657386 2023-03-13T15:51:45 [subset] collect elidedFallbackNameID in STAT table
Qunxin Liu 125450d2 2023-03-13T15:43:29 [subset] collect name_ids for FeratureParams
Garret Rieger 663ecc01 2023-03-13T22:12:59 [subset] don't free glyphs by range. The iterator in this loop is a map iterator so glyphs are not necessarily traveresed in order.