Log

Author Commit Date CI Message
Behdad Esfahbod c769d7e1 2022-11-28T14:03:58 [gpos] Whitespace
Behdad Esfahbod 3ea0f37c 2022-11-28T13:58:44 [subset-cff] Move an init to constructor The init was not called anyway.
Behdad Esfahbod 6c92c3e0 2022-11-28T13:54:24 [subset-cff] Remove unnecessary check
Behdad Esfahbod 7fd300dd 2022-11-28T13:51:16 [subset-cff] Use constructor for parsed_cs_op_t
Garret Rieger bd37900e 2022-11-28T20:35:34 [subset] use a reference to cached global/loca subrs. Previously they were being copied in. Copying is no longer necessary now that hint dropping doesn't mutate the arrays.
Behdad Esfahbod ded9de9c 2022-11-28T13:31:40 [cff] bsearch in fdselect Saves 8% in NotoSansCJK / 10000 subset benchmark.
Behdad Esfahbod 0c33aba3 2022-11-28T12:28:13 [subset-cff] Rename drop flag to hinting flag
Behdad Esfahbod 6f5b5319 2022-11-28T11:39:24 [subset-cff] Make no-hinting use accelerator as well
Behdad Esfahbod fad8322b 2022-11-27T15:09:48 [benchmark-subset] Add no-hinting ops
Behdad Esfahbod f51a624e 2022-11-27T14:54:39 [subset-cff] Micro-optimize drop_hints_in_str
Behdad Esfahbod 38603266 2022-11-27T13:23:13 [subset-cff] Write loop more idiomatic
Behdad Esfahbod 3ff502d3 2022-11-27T12:58:04 [subset-cff] Remove unnecessary initialization
Behdad Esfahbod 6af4985b 2022-11-26T18:20:20 [subset-cff] No need for bitflag here anymore
Behdad Esfahbod 69ce606d 2022-11-26T18:18:35 [subset-cff] Immediately drop subr numbers instead of marking for skip Seems to work and saves ~2% time.
Behdad Esfahbod 1cf4f3e0 2022-11-26T18:15:28 [subset-cff] More comment
Behdad Esfahbod f68221ff 2022-11-26T18:12:14 [subset-cff] Add comment
Behdad Esfahbod 048ab8a0 2022-11-26T18:00:43 [subset-cff] Remove unused bits
Behdad Esfahbod 37cbfc0c 2022-11-26T17:57:44 [subset-cff] Remove unneeded member
Behdad Esfahbod 46ab1513 2022-11-26T17:49:21 [subset-cff] Add has_calls to parsed charstrings Optimize closure based on it.
Behdad Esfahbod 6d53074e 2022-11-26T17:23:09 [subset-cff] Drop another unused parameter
Behdad Esfahbod 42615561 2022-11-26T17:10:58 Optimize a couple array references
Behdad Esfahbod 04d23b7c 2022-11-26T17:08:00 [subset-cff] Micro-optimize collect_subr_refs_in_str
Behdad Esfahbod 9d18180c 2022-11-26T15:38:21 [array] Use hb_hash instead of handrolling
Behdad Esfahbod 1e6f77c2 2022-11-26T15:31:56 [benchmark-subset] Adjust num glyphs more
Behdad Esfahbod 0382defa 2022-11-26T15:27:07 [benchmark-subset] Adjust number of glyphs of fonts
Behdad Esfahbod 4cb441df 2022-11-26T15:23:07 [benchmark-subset] Add AdobeVFPrototype
Behdad Esfahbod e302b9d5 2022-11-26T15:18:16 Fix build
Behdad Esfahbod 70d97d07 2022-11-26T15:16:11 [subset-cff] Remove unused argument
Behdad Esfahbod 4167e93a 2022-11-26T15:14:52 [subset-cff2] Micro-optimize blend operator
Behdad Esfahbod f159bf07 2022-11-26T15:11:32 [cff2] Micro-optimize blend operator
Behdad Esfahbod a331e913 2022-11-26T14:59:37 [bit-page] Hand-code equality Faster than memcmp() because of alignment.
Behdad Esfahbod 9df06a26 2022-11-26T14:56:45 [bit-set] Fix is_subset() short-circut criteria Ouch!
Behdad Esfahbod 915c1a00 2022-11-26T14:48:57 [vector] Add remove_unordered Saves 5% in NotoNastaliq/1000 subset benchmark.
Behdad Esfahbod 4b8d8fbe 2022-11-26T14:31:15 [ot-map] Micro-optimize for size
Behdad Esfahbod 93f3a9db 2022-11-26T14:19:00 [ot-map] Micro-optimize more Another 500 bytes.
Behdad Esfahbod f39f0498 2022-11-26T14:16:15 [ot-map] Micro-optimize Weird that shrinks size by 500 bytes.
Behdad Esfahbod 60bb32c4 2022-11-26T14:12:57 [ot-map] Minor refactor
Behdad Esfahbod e3cc6183 2022-11-26T13:58:04 [PairPos] Adjust kerning buffer messages
Behdad Esfahbod a81dd105 2022-11-26T13:43:15 [layout] Adjust printing feature tags For required-feature, print spaces, not nul bytes.
Behdad Esfahbod 56e3868b 2022-11-26T13:14:23 [layout/buffer-message] Print feature name in lookup buffer messages
Garret Rieger a5d35fd8 2022-11-25T23:17:05 [subset] use charstrings directly from accelerator cache if mutability isn't needed.
Behdad Esfahbod 026b64ef 2022-11-25T14:57:40 [subset-cff] Avoid set mallocation in hb_plan_subset_cff_fdselect
Behdad Esfahbod 74acf52f 2022-11-25T14:43:44 [subset-cff] Micro-optimize copy_str more
Behdad Esfahbod d2f3cde7 2022-11-25T14:38:30 [subset-cff] Micro-optimize copy_str
Behdad Esfahbod e333223f 2022-11-25T14:23:57 [array] Optimize serializing copy()
Behdad Esfahbod 22990fca 2022-11-25T14:12:58 Merge pull request #3894 from googlefonts/cff_accel [subset] Cache parsed char strings in CFF accelerator
Garret Rieger 8d5c899b 2022-11-25T20:33:39 [subset] In cff accelerator hold reference to CFF table instead of the whole font.
Behdad Esfahbod 7b197446 2022-11-25T13:28:53 [vector] Adjust for HB_OPTIMIZE_SIZE
Garret Rieger 75a99f28 2022-11-25T18:38:13 [subset] destruct cff accelerator if present.
Behdad Esfahbod 1d474194 2022-11-25T13:21:35 [subset-cff] Micro-optimize encode_str
Behdad Esfahbod 3c4a610b 2022-11-25T13:16:30 [subset-cff] Micro-optimize copy_str some more
Behdad Esfahbod 535aadb3 2022-11-25T13:07:42 [subset-cff] Micro-optimize collect_subr_refs_in_str more
Behdad Esfahbod 00a9df3a 2022-11-25T13:05:05 [subset-cff] Micro-optimize collect_subr_refs_in_str
Behdad Esfahbod d2a2f5bf 2022-11-25T12:44:02 [vector] Handroll copy
Behdad Esfahbod 1fed366d 2022-11-25T12:37:24 [serialize] Shut compiler warning off
Behdad Esfahbod f2297e69 2022-11-25T11:33:00 [buffer] Documentation Fixes https://github.com/harfbuzz/harfbuzz/issues/3889
Garret Rieger 71c23c1c 2022-11-25T18:04:44 [subset] don't copy the entire global/loca subr lists from the accelerator. Instead run a closure on the retained charstrings and copy only the referenced subrs. This significantly speeds up cases with small character sets.
Garret Rieger 4ff09274 2022-11-24T22:47:29 [subset] In CFF accelerator keep a reference to original face. The charstring objects reference memory from the original face so we need to maintain a reference to prevent it from being destroyed.
Behdad Esfahbod 6aaa1662 2022-11-24T14:58:42 [Coverage] Comment
Behdad Esfahbod 06e2147a 2022-11-24T14:56:04 More call set->next() directly
Behdad Esfahbod 196c9db0 2022-11-24T14:51:52 Call ->next() directly
Behdad Esfahbod 03d64b74 2022-11-24T14:33:18 [bit-set] Remove TODO that would never happen
Behdad Esfahbod 690df8a3 2022-11-24T14:32:51 [bit-set] Micro-optimize prev()
Behdad Esfahbod fe5d9176 2022-11-24T14:30:18 [bit-set] Micro-optimize size It's silly that this saves size at all. :(
Behdad Esfahbod cf9b9929 2022-11-24T14:26:28 [bit-set] Micro-optimize process()
Behdad Esfahbod d77903db 2022-11-24T14:22:32 [bit-set] Micro-optimize
Behdad Esfahbod 13dd4b46 2022-11-24T14:20:42 [bit-set] Micro-optimize access
Garret Rieger a3afa61c 2022-11-23T22:24:39 [subset] use cached parsed char strings if available.
Garret Rieger 47c12584 2022-11-23T21:02:39 [subset] Cache parsed charstrings in the cff accelerator.
Garret Rieger 48b68370 2022-11-23T20:51:51 [subset] add a CFF specific accelerator object. This allows CFF specific accelerator structures to be isolated to the CFF code.
Behdad Esfahbod d77f346d 2022-11-24T14:02:46 [subset-cff] Minor rename
Behdad Esfahbod 29a0fa08 2022-11-24T14:00:59 [subset-cff] Micro-optimize
Behdad Esfahbod d480ae1f 2022-11-24T13:53:43 [cff] Remove unused function
Behdad Esfahbod 73046d53 2022-11-24T13:49:29 [shaper] Disable dumber shaper if no AAT
Behdad Esfahbod e9f964c0 2022-11-24T13:38:53 [ot-face] Declare more tables as core
Behdad Esfahbod 5bc27a12 2022-11-24T13:30:12 [machinery] Comment
Behdad Esfahbod d21bfb08 2022-11-24T13:14:05 [normalize] Remove an unlikely Keep unlikely for truely unlikely scenarios.
Behdad Esfahbod 9e1239f4 2022-11-24T13:00:47 [config] Define HB_NO_VERTICAL in HB_LEAN and as such in HB_TINY
Behdad Esfahbod 6f133ccf 2022-11-24T12:59:55 [glyf] Fix build with HB_NO_VERTICAL
Behdad Esfahbod 76420ef7 2022-11-24T12:52:15 [machine.rl] Remove unlikely from what happens 1/16 of the time
Behdad Esfahbod 12485744 2022-11-24T12:46:04 [config] Disable Zawgyi shaper in HB_MINI/HB_TINY
Behdad Esfahbod 05aa084e 2022-11-24T12:13:31 [PairPos] Another attempt at fixing unsafe-to-break with ValueFormat2 Fixes https://github.com/harfbuzz/harfbuzz/issues/3888#issuecomment-1326781116 Test: $ hb-shape XBRoya34.ttf ' الأ' --show-flags --script=arab
Behdad Esfahbod 54ae3345 2022-11-24T11:59:50 [buffer] Improve documentation of hb_buffer_add_codepoints() Fixes https://github.com/harfbuzz/harfbuzz/issues/3889
Behdad Esfahbod a4a40786 2022-11-24T11:56:58 Merge pull request #3893 from googlefonts/preprocess_test [subset] Fix testing of preprocess
Behdad Esfahbod 0c70bc7f 2022-11-24T11:48:48 [skippy-iter] Fix two logic errors First, a signed underflow. Second, a wrong condition. Both were introduced in 42681bdb55a75520d4ac194302fe936d1ce3cb34
Garret Rieger 64e8707e 2022-11-24T18:24:50 [subset] don't use hb repacker when generating test files from fonttools.
Behdad Esfahbod 3b43096e 2022-11-23T22:04:02 [buffer] Whitespace
Behdad Esfahbod 094f8073 2022-11-23T22:03:26 [buffer] Handle null buffer in set_message_func
Behdad Esfahbod 1fa64c0c 2022-11-23T21:38:51 [gsubgpos] Conditionalize skippy on unsafe-to-concat
Behdad Esfahbod 42681bdb 2022-11-23T21:36:43 [gsubgpos] No logic-change minor rewrite
Behdad Esfahbod c15efdec 2022-11-23T21:14:28 [gsubgpos] Comment
Behdad Esfahbod 7ec1c41a 2022-11-23T21:12:41 [gsubgpos] Skippy-iter: Prefer correctness to performance Prefer unsafe-to-concat correctness, over performance.
Behdad Esfahbod b6df3471 2022-11-23T20:15:16 [perf] Add Hindi test to benchmark-shape
Behdad Esfahbod dce3502e 2022-11-23T18:34:54 [array] Add commented-out static asserts They don't work.
Behdad Esfahbod a7fee43c 2022-11-23T17:46:32 [priority-queue] Minor micro-optimize
Garret Rieger ff3cac0c 2022-11-23T23:50:49 [subset] Fix unecessary trailing 0 bytes left by ContextFormat2 pruning. Uneeded rules where beind removed from the count by the bytes for them was being left in the font.
Behdad Esfahbod f2851e41 2022-11-23T16:50:30 [test-map] Test has() getter with unique-ptr
Behdad Esfahbod 5f3a7806 2022-11-23T16:45:46 [font] Protect against div-by-zero
Behdad Esfahbod 060ecac9 2022-11-23T16:31:37 [font] Respect subfont slant setting in hb-draw Fixes https://github.com/harfbuzz/harfbuzz/issues/3890
Behdad Esfahbod 2e9b270a 2022-11-23T16:17:50 [hb-view] Fix cairo slanting condition hb-draw already does slanting. If NOT hb-draw, we should slant through cairo path. Donno why this was untested before. This was double-slanting with hb-draw, and not slanting without it.