src/OT/glyf/SimpleGlyph.hh

Branch


Log

Author Commit Date CI Message
Behdad Esfahbod 82370913 2025-09-15T20:16:52 [vector] Simplify resize()
Behdad Esfahbod 84ffb7e4 2025-02-26T12:51:04 [SimpleGlyph] Minor use an intermediate variable
Behdad Esfahbod 54db2b2e 2025-02-26T12:48:55 [SimpleGlyph] Remove a conditional from hot path 5% speedup in Roboto-Regular draw benchmark
Behdad Esfahbod 76c3beaf 2025-02-24T19:50:51 [VARC] Reduce malloc overhead
Behdad Esfahbod d2a88fbd 2025-02-12T21:48:22 [vector] Add alloc_exact()
Behdad Esfahbod 05c01ad5 2023-06-29T16:49:20 [SimpleGlyph] Minor use a range for loop
Behdad Esfahbod 20b32b04 2023-06-29T12:08:11 [SimpleGlyph] Micro-optimize phantom_only
Behdad Esfahbod e9d74d6b 2023-06-29T10:53:52 [SimpleGlyph] Minor add an unlikely to error condition
Behdad Esfahbod 8795cced 2023-06-28T13:29:29 Revert "[SimpleGlyph] Avoid branches in read_points" This reverts commit ba062c713e469f91f57f3c85990f721789ec7c2a.
Behdad Esfahbod ba062c71 2023-06-28T13:24:37 [SimpleGlyph] Avoid branches in read_points Calculate total bytes in read_flags and bounds-check once. This slows things down apparently, so going to revert.
Behdad Esfahbod fbffd4e6 2023-04-30T10:45:19 [SimpleGlyph] Handle cubic curves when instancing
Behdad Esfahbod 85a0a123 2023-04-30T10:40:50 [SimpleGlyph] Relax types
Behdad Esfahbod 2e5e5665 2023-04-30T10:23:58 [SimpleGlyph] Micro-optimize
Behdad Esfahbod e5dfb6a4 2023-04-28T11:38:12 [SimpleGlyph] Use hb_memset instead of memset
Behdad Esfahbod c800c0cf 2023-04-27T15:12:02 [Glyph] Load composite glyphs in-place
Behdad Esfahbod 977c2f9c 2023-04-27T13:25:30 [glyf] Micro-optimize
Behdad Esfahbod a4b4536a 2023-04-27T13:14:52 Revert "[glyf] Micro-optimize" This reverts commit 2bbb605d08298047164a20a242f4cfcfbe68c309. In case of phantoms_only we were leaving array uninitialized. This is why the fedora-valgrind bot broke.
Behdad Esfahbod 50e758e3 2023-04-27T11:02:07 [glyf] Tweak assertion
Behdad Esfahbod 2bbb605d 2023-04-26T16:40:39 [glyf] Micro-optimize No need to init the whole array.
Behdad Esfahbod c87f2601 2023-04-26T16:32:07 [glyf] Micro-optimize
Garret Rieger 647b0247 2023-04-17T22:47:47 [subset] Fix fuzzer issue https://oss-fuzz.com/testcase-detail/6521393809588224
Behdad Esfahbod 1d9dafbf 2023-02-07T22:19:45 [glyf] Support cubic curves https://github.com/harfbuzz/boring-expansion-spec/issues/41
Behdad Esfahbod 2eacc37e 2022-12-31T12:27:13 [vector] Add internal API for exact-size allocation Use it from a couple of places.
Behdad Esfahbod 1e8f1ac6 2022-11-23T12:28:29 [subset-glyf] Micro-optimize array access
Behdad Esfahbod 40634cee 2022-11-22T15:07:16 [glyf] Adjust data types
Behdad Esfahbod 04c52501 2022-11-22T14:54:55 [glyf] Use a malloc instead of calloc
Behdad Esfahbod 024aa818 2022-11-22T14:51:42 [glyf] Micro-optimize encode_coord
Behdad Esfahbod b6694597 2022-11-22T14:49:01 [glyf] Micro-optimize encode_flag()
Behdad Esfahbod d47cfe79 2022-11-22T14:45:04 [glyf] Minor use operator ++
Behdad Esfahbod 03e6bde7 2022-11-22T14:40:36 [glyf] Minor adjustment to lastflag handling No logic change.
Behdad Esfahbod 0ca9fda8 2022-11-22T14:39:10 [glyf] Remove misplaced comment
Behdad Esfahbod 4afcdf67 2022-11-22T12:56:48 More hb_memcpy
Behdad Esfahbod 1758ee66 2022-11-22T10:45:49 [glyf] Minor write loop more idiomatically
Qunxin Liu e94fe2ad 2022-09-20T13:14:26 [instance] minor optimizations to glyf instancing
Behdad Esfahbod 84d33a1e 2022-08-23T13:13:13 [glyf] Fix compiler warning
Qunxin Liu ac0e22fa 2022-07-22T09:37:09 [instance] update glyf/hmtx/vmtx tables
Behdad Esfahbod 34c6c019 2022-06-27T20:26:19 [glyf] Fix byterange check again
Behdad Esfahbod 20572f91 2022-06-27T20:22:09 [glyf] Move read_flags into a function
Behdad Esfahbod 6e72c2e3 2022-06-27T14:02:15 [glyf] Add an assertion
Behdad Esfahbod d0836dee 2022-06-27T13:05:58 [glyf] Minor typo change
Behdad Esfahbod 5cca25e5 2022-06-27T13:03:06 [glyf] Accumulate points as int Everything is int at this stage. Doesn't seem to matter for performance though.
Behdad Esfahbod d6f60b3c 2022-06-27T13:00:08 [glyf] Minor optimization
Behdad Esfahbod b30a3dcb 2022-06-27T12:56:21 [glyf] Another bounds check Very unlikely that is needed but technically possible.
Behdad Esfahbod 2e9dbdcb 2022-06-27T12:55:13 [glyf] Protect against an unlikely overflow
Behdad Esfahbod a1c45bbb 2022-06-26T17:30:16 [glyf] Minor simplify
Behdad Esfahbod a21a9bb8 2022-06-26T17:24:29 [glyf] Optimize flags decoding byte range checking
Behdad Esfahbod 0f1fdf46 2022-06-26T17:22:45 [glyf] Optimize points decoding byte range checking
Behdad Esfahbod 51cfcf29 2022-06-26T17:04:47 [glyf] Optimize points decoding
Behdad Esfahbod 86b70225 2022-06-26T16:56:24 [glyf] Optimize flag decoding
Behdad Esfahbod fc72a1d2 2022-06-26T16:42:01 [glyf] Add a pre-allocation for phantom points
Behdad Esfahbod 2d4557fe 2022-06-25T19:28:33 [glyf/SimpleGlyph] Use member pointer instead of lambda
Behdad Esfahbod 9ce97730 2022-06-25T19:24:05 [glyf/SimpleGlyph] Minor use constructor for contour_point_t
Behdad Esfahbod f897978f 2022-06-25T19:17:56 [glyf] Adjust a check-range
Behdad Esfahbod f0ec2b72 2022-06-25T17:55:16 [glyf] Split off SimpleGlyph.hh