src/OT/glyf/Glyph.hh


Log

Author Commit Date CI Message
Behdad Esfahbod ae208963 2022-12-26T12:30:39 Add hb-limits.hh
Behdad Esfahbod 97b8ada8 2022-12-21T19:52:20 [varc] Reset component coordinates to that of the font Fixes https://github.com/harfbuzz/boring-expansion-spec/issues/78
Behdad Esfahbod 9ab2c803 2022-12-11T12:00:54 Revert "[glyf] Use component phantom points after transformation" This reverts commit a756bd1944404da6e53173c4061a2aef262e60f3. Fixes https://github.com/harfbuzz/harfbuzz/issues/3929
Behdad Esfahbod 5cf0b9ae 2022-12-09T18:59:43 [varc] Mark as experimental feature with HB_NO_VAR_COMPOSITES
Behdad Esfahbod 82b4f379 2022-12-09T18:45:37 [coord-setter] Don't modify font coords
Behdad Esfahbod e9e503b8 2022-12-09T18:42:46 [Glyph] Pass down coords to get_points
Behdad Esfahbod 8e468700 2022-12-09T18:35:30 [gvar] Take coords in instead of font in apply_deltas_to_points
Behdad Esfahbod 3caa42a4 2022-12-09T14:48:41 Fix build after rebase
Behdad Esfahbod bbe59e42 2022-12-08T16:04:19 Whitespace
Behdad Esfahbod a975be4c 2022-10-18T11:00:35 [glyf/VarComposite] Minor rename
Behdad Esfahbod 1233be61 2022-10-17T14:06:44 [glyf/VarComposite] Remove unneeded resize
Behdad Esfahbod 7efd68da 2022-10-17T13:05:22 [glyf/VarComposite] Set coordinates Code is untested but complete!
Behdad Esfahbod 4ec77814 2022-10-17T12:53:58 [glyf] Move coord-setter to its own file
Behdad Esfahbod dadb4ed7 2022-10-17T12:48:24 [glyf/VarComposite] More, almost there
Behdad Esfahbod 0a939b48 2022-10-17T12:12:40 [glyf/VarComposite] Implement more
Behdad Esfahbod 21f671bc 2022-10-13T11:25:29 [glyf] Add stub VarCompositeGlyph
Behdad Esfahbod 1024a013 2022-08-22T09:49:30 [glyf] Add CoordSetter
Behdad Esfahbod 6f133ccf 2022-11-24T12:59:55 [glyf] Fix build with HB_NO_VERTICAL
Behdad Esfahbod 356d135e 2022-11-23T12:20:51 [subset-glyf] Reduce roundf calls Saves 7% on MPLUS1-Variable/6000 benchmark.
Behdad Esfahbod f2b5db70 2022-11-16T21:22:43 [vector] Remove .sub_array ()
Behdad Esfahbod 477d7172 2022-10-26T13:11:47 [glyf] Limit points in a glyf to 10000 roughly Only enforced when components are being expanded. Fixes https://github.com/harfbuzz/harfbuzz/issues/3838
Behdad Esfahbod a756bd19 2022-10-13T17:18:19 [glyf] Use component phantom points after transformation
Behdad Esfahbod 82d19c08 2022-10-13T17:17:03 Revert "[glyf/Composite] Remove phantom points when not needed anymore" This reverts commit 527e63a3bd8487d21e423a8a358eee30672eddb6.
Behdad Esfahbod 527e63a3 2022-10-13T17:13:40 [glyf/Composite] Remove phantom points when not needed anymore
Garret Rieger 8f1bf23c 2022-09-27T22:50:54 [subset] optimize glyf subsetting w/ retain gids. When retain gids is enabled the subset plan may require the output of many empty glyphs. This change optimizes the glyf subsetting code when the number of retained glyphs << number of output glyphs. Unnessecary lookups to the glyph map are reduced by iterating through the glyph map instead of the output glyph set.
Qunxin Liu e94fe2ad 2022-09-20T13:14:26 [instance] minor optimizations to glyf instancing
Qunxin Liu b90ce34a 2022-09-14T11:26:32 [instance] fix for non-empty .notdef glyph metrics update we need pass in source glyph's outline data to calculate boundaries, and then drop the outline data if notdef-outline is specified. Also disable shifting points for instancing in get_points () API
Qunxin Liu 8f84c58a 2022-08-26T08:24:19 [instance] don't copy phantom points from component No need to consider USE_MY_METRICS for instancing
Qunxin Liu 8b7e2a13 2022-08-24T14:16:55 [instance] we need to update hmtx/vmtx values even for empty glyphs Update metrics using the 4 phantom points
Qunxin Liu ac0e22fa 2022-07-22T09:37:09 [instance] update glyf/hmtx/vmtx tables
Behdad Esfahbod 09de9478 2022-07-11T15:08:22 [>64k:glyf] Hid composite glyphIndex
Behdad Esfahbod b0cb9a1a 2022-07-03T15:32:32 Make get_leading_bearing return bool Fixes https://github.com/harfbuzz/harfbuzz/issues/3496 Part of supporting >64k glyphs correctly.
Behdad Esfahbod 800760c5 2022-07-03T13:21:06 [glyf] Rename get_extents functions for clarity
Behdad Esfahbod f46ddeba 2022-07-03T13:12:49 [hmtx/glyf] Rename side-bearing functions for clarity
Behdad Esfahbod 35c00c12 2022-07-03T12:54:17 [hmtx] Rename advance functions for clarity
Behdad Esfahbod 3a0e27e7 2022-06-27T13:07:39 [glyf] Move comment
Behdad Esfahbod f1fb8c44 2022-06-27T12:41:46 [glyf] Optimize Glyph layout
Behdad Esfahbod d5cfbaa0 2022-06-27T12:24:20 [glyf] Optimize composite points loading
Behdad Esfahbod 32dc0641 2022-06-27T12:22:06 [glyf] Remove an unnecessary condition
Behdad Esfahbod 3c49a6a6 2022-06-27T10:57:51 [glyf] Fix an allocation error Try fixing assertion failure found by fuzzers: hb-draw-fuzzer: ../../src/harfbuzz/src/OT/glyf/glyf.hh:175: bool OT::glyf_accelerator_t::get_points(hb_font_t *, hb_codepoint_t, T) const [T = OT::glyf_impl::path_builder_t]: Assertion `count >= glyf_impl::PHANTOM_COUNT' failed.
Behdad Esfahbod 2bb0fa87 2022-06-26T16:43:05 [glyf] Remove unneeded point init()
Behdad Esfahbod abb433d0 2022-06-26T16:09:32 [glyf] Avoid a copy of points in shape fetching for simple glyphs Matches performance with freetype now.
Behdad Esfahbod 7eac779a 2022-06-26T16:02:27 Revert "Revert "[glyf] Optimize shape loading"" This reverts commit 164bd288cfe66f1742183ab38fa9bd121b1cd8a0.
Behdad Esfahbod 164bd288 2022-06-26T16:01:15 Revert "[glyf] Optimize shape loading" This reverts commit f0819301b74871c4c0a58e16918d3f8df2c6f74d. Broke tests. To be debugged and redone.
Behdad Esfahbod f0819301 2022-06-26T15:52:54 [glyf] Optimize shape loading Do away with a copy for simple glyph load.
Behdad Esfahbod db039d97 2022-06-25T19:06:27 [glyf/Composite] Make glyphIndex public
Behdad Esfahbod 449bdeed 2022-06-25T18:31:31 [glyf] Rename get_iterator() to iter() That's the standard name.
Behdad Esfahbod 13aadc89 2022-06-25T18:03:15 [glyf] Split off CompositeGlyph.hh
Behdad Esfahbod f0ec2b72 2022-06-25T17:55:16 [glyf] Split off SimpleGlyph.hh
Behdad Esfahbod 8ed78627 2022-06-25T17:53:13 [glyf] Split off GlyphHeader.hh
Behdad Esfahbod 81315a30 2022-06-25T17:50:44 [glyf] Namespace implementation in glyf_impl Part of https://github.com/harfbuzz/harfbuzz/issues/3677
Behdad Esfahbod be1d4bcf 2022-06-25T17:45:21 [glyf] Add fast __end__ to composite iterator
Behdad Esfahbod ef250eea 2022-06-25T17:37:59 [glyf] Move a few structs out of Glyph{}
Behdad Esfahbod 0031069f 2022-06-25T17:05:18 [glyf] Fix includes
Behdad Esfahbod e4f2bc93 2022-06-25T16:38:50 [glyf] Split Glyph.hh