diff options
Diffstat (limited to 'Build/source/libs/harfbuzz/harfbuzz-src/ChangeLog')
-rw-r--r-- | Build/source/libs/harfbuzz/harfbuzz-src/ChangeLog | 1524 |
1 files changed, 1524 insertions, 0 deletions
diff --git a/Build/source/libs/harfbuzz/harfbuzz-src/ChangeLog b/Build/source/libs/harfbuzz/harfbuzz-src/ChangeLog index eba3425ff12..f427a88e6c4 100644 --- a/Build/source/libs/harfbuzz/harfbuzz-src/ChangeLog +++ b/Build/source/libs/harfbuzz/harfbuzz-src/ChangeLog @@ -1,3 +1,1527 @@ +commit 4584bcdc326564829d3cee3572386c90e4fd1974 +Author: Khaled Hosny <khaled@aliftype.com> +Date: Wed May 10 00:20:25 2023 +0300 + + 7.3.0 + + NEWS | 21 +++++++++++++++++++++ + configure.ac | 2 +- + docs/harfbuzz-docs.xml | 1 + + meson.build | 2 +- + src/hb-subset-input.cc | 2 +- + src/hb-version.h | 4 ++-- + 6 files changed, 27 insertions(+), 5 deletions(-) + +commit 4bbcff2c5c00d4e2029a176c3388ad4fe77945df +Author: Rod S <rsheeter@google.com> +Date: Mon May 8 20:29:35 2023 -0700 + + Help noobs who don't know their segment properties + + docs/usermanual-getting-started.xml | 4 ++++ + 1 file changed, 4 insertions(+) + +commit b7a8d23bc8594c84c72d54dbbffa1c1acbb92c67 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Mon May 8 14:32:24 2023 -0600 + + [map] Micro-optimize for hb_map_t + + src/hb-map.hh | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit 2f05c32c3632062a593022d24e628aa991f30939 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Mon May 8 14:29:07 2023 -0600 + + [Coverage] Minor access arrayZ directly in a couple places + + src/OT/Layout/Common/CoverageFormat2.hh | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit c0e6a96af365d678037819944daf8176c5649bfd +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Mon May 8 14:02:55 2023 -0600 + + [bit-set] Minor access an array directly + + src/hb-bit-set.hh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit f4d3b49e5d3b6e8c64aa92caa9c3666507e04b0a +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Mon May 8 13:59:48 2023 -0600 + + [set] Micro-optimize iteration + + src/hb-bit-set.hh | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +commit 3416086de3ac9c3f36e3e9d566fa141ccc915573 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Mon May 8 13:39:48 2023 -0600 + + [set] Optimize is_subset() + + src/hb-bit-set.hh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 45afbdff2c6bf35403e635b9be453408e673cbd4 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Mon May 8 11:19:55 2023 -0600 + + [array] Add a const to a cast + + src/hb-array.hh | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 4ad443d5eabeaf0b38b70631cea8de345f00ef7b +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Mon May 8 10:14:43 2023 -0600 + + [Coverage/ClassDef] Don't call qsort if sorted already + + src/OT/Layout/Common/CoverageFormat2.hh | 8 +++++++- + src/hb-ot-layout-common.hh | 9 ++++++++- + 2 files changed, 15 insertions(+), 2 deletions(-) + +commit 3c2a925b7fef104597dd37848f85a963307f16e4 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Mon May 8 09:43:01 2023 -0600 + + [graph] Micro-optimize + + src/graph/serialize.hh | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 62bc2841d939760a43c4118ad92818cb5a923273 +Merge: b6516f3bb 8eb9f3126 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Mon May 8 09:12:34 2023 -0600 + + Merge pull request #4221 from googlefonts/user_glyph_map + + [subset] Add API method to allow a custom glyph map to be specified. + +commit b6516f3bbf6f52aced2a9b34ade44c2f631e149b +Author: Khaled Hosny <khaled@aliftype.com> +Date: Mon May 8 15:31:24 2023 +0300 + + [cff] Fix the case of HB_OT_TAG_cff(1|2) macros + + Should be upper case like other HB_OT_TAG_* macros of upper case tables. + + src/hb-ot-cff1-table.hh | 4 ++-- + src/hb-ot-cff2-table.hh | 4 ++-- + src/hb-subset.cc | 8 ++++---- + 3 files changed, 8 insertions(+), 8 deletions(-) + +commit 8df5cdbcda495a582e72a7e2ce35d6106401edce +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Sun May 7 15:49:50 2023 -0600 + + [Coverage/ClassDef] Handle glyphID overflow in serialize + + src/OT/Layout/Common/Coverage.hh | 7 +++++++ + src/hb-ot-layout-common.hh | 9 ++++++++- + 2 files changed, 15 insertions(+), 1 deletion(-) + +commit 6d7de2f8dd551920367017cf169750b611971d52 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Sun May 7 15:23:05 2023 -0600 + + [array] Implement FNV-1a hash function + + src/hb-array.hh | 34 ++++++++++++++++++++++++++-------- + 1 file changed, 26 insertions(+), 8 deletions(-) + +commit ebdeab8baaa0cd7a6d243bb1b2f2604bef167eea +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Sun May 7 14:18:36 2023 -0600 + + [array] Improve hash function + + Previously all arrays of 0 bytes were getting same hash. + + src/hb-array.hh | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit f772071f3e7241367d56c5a6f82d394bea2b829e +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Sun May 7 13:42:00 2023 -0600 + + [subset-plan] Another error check + + src/hb-subset-accelerator.hh | 2 ++ + src/hb-subset-plan.cc | 2 ++ + 2 files changed, 4 insertions(+) + +commit 5ec0ccad638597fca929a84cfdf70ee3878308af +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Sat May 6 13:36:39 2023 -0600 + + Undef a macro after use + + src/hb-subset-plan-member-list.hh | 2 ++ + 1 file changed, 2 insertions(+) + +commit 4bb78e353031ade00eb4d486a1cf8073f23fee7d +Author: denis rochette <8184192+denis-rochette@users.noreply.github.com> +Date: Sat May 6 16:27:46 2023 +0200 + + Typo in the documentation of hb-ot-math + + src/hb-ot-math.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 86658df5d29308d66ddead03f1112442df04ec27 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Fri May 5 16:10:46 2023 -0600 + + [ClassDef] Fix a fuzzer issue + + Don't qsort an array that failed to allocate! + + Fixes https://oss-fuzz.com/testcase-detail/6512559172485120 + + src/hb-ot-layout-common.hh | 2 ++ + 1 file changed, 2 insertions(+) + +commit cda646a598207642721b753ef5abcebb2525f61b +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Fri May 5 15:57:13 2023 -0600 + + [subset-plan] Check success of all object members + + src/hb-subset-plan-member-list.hh | 8 ++++---- + src/hb-subset-plan.cc | 4 ++++ + 2 files changed, 8 insertions(+), 4 deletions(-) + +commit 5f5660fc5d80a0ce84066206e8e9bad6e20a24d4 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Fri May 5 15:52:17 2023 -0600 + + [subset] In glyf-closure always add current glyph + + Bad things can happen otherwise if one composite glyph depleted + the op count. + + src/hb-subset-plan.cc | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit 5468b08c0238d16f1a0360f759b44af12fefbb99 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Fri May 5 15:49:38 2023 -0600 + + [subset-plan] Move all object members to a new file + + To automatically check for their errors. + + src/Makefile.sources | 1 + + src/hb-subset-plan-member-list.hh | 126 ++++++++++++++++++++++++++++++++++++++ + src/hb-subset-plan.hh | 90 ++------------------------- + src/meson.build | 1 + + 4 files changed, 132 insertions(+), 86 deletions(-) + +commit 71910fdf9128ca3068e9546a262f61cbf6e8c8f3 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Fri May 5 15:37:07 2023 -0600 + + [Coverage] Remove unnecessary check + + src/OT/Layout/Common/Coverage.hh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit ee9b631d19d6e51825a7b2be4579b7394084a162 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Fri May 5 10:26:57 2023 -0600 + + [SingleSubst] Fix condition to upgrade to beyond-64k + + src/OT/Layout/GSUB/SingleSubst.hh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 8eb9f31263746a8942fd5dbab90094930ac104bd +Author: Garret Rieger <grieger@google.com> +Date: Fri May 5 15:56:50 2023 +0000 + + [subset] s/Since/XSince/. + + src/hb-subset-input.cc | 2 +- + src/hb-subset.h | 6 +++--- + 2 files changed, 4 insertions(+), 4 deletions(-) + +commit 5d4f3ff690aa8358b214c90ae7942766d68c12f9 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Fri May 5 07:10:02 2023 -0600 + + [TINY] Fix build + + src/hb-ot-font.cc | 2 ++ + 1 file changed, 2 insertions(+) + +commit 7e676cb4cf66c0a70d6b240ed124394fab14b3b8 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Fri May 5 07:07:00 2023 -0600 + + [config] Add HB_NO_OT_FONT_ADVANCE_CACHE + + Part of https://github.com/harfbuzz/harfbuzz/issues/4220 + + src/hb-config.hh | 1 + + src/hb-ot-font.cc | 8 ++++---- + 2 files changed, 5 insertions(+), 4 deletions(-) + +commit 8831ba7f5516038cf70f5fe34984170931387fdc +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Fri May 5 07:03:25 2023 -0600 + + [config] Add HB_NO_OT_FONT_CMAP_CACHE + + Part of https://github.com/harfbuzz/harfbuzz/issues/4220 + + src/hb-config.hh | 1 + + src/hb-ot-font.cc | 22 +++++++++++++++++++--- + 2 files changed, 20 insertions(+), 3 deletions(-) + +commit 0e9ebf1062af21605d02838f0de4842d1e902794 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Fri May 5 06:57:51 2023 -0600 + + [config] Add HB_OPTIMIZE_SIZE_MORE and enable in HB_TINY + + Part of https://github.com/harfbuzz/harfbuzz/issues/4220 + + src/OT/Layout/GSUB/LigatureSet.hh | 2 ++ + src/hb-config.hh | 9 ++++++--- + 2 files changed, 8 insertions(+), 3 deletions(-) + +commit da175c69356929a04ca1688658b8fc846d7d4366 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Fri May 5 06:51:59 2023 -0600 + + [config] Add HB_MINIMIZE_MEMORY_USAGE + + Part of https://github.com/harfbuzz/harfbuzz/issues/4220 + + src/hb-config.hh | 14 ++++++++++---- + 1 file changed, 10 insertions(+), 4 deletions(-) + +commit bbf4cfa393d26c7cc7e91cc8c859009261847f24 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Fri May 5 06:51:10 2023 -0600 + + [config] Add missing HB_NO_BORING_EXPANSION options + + Those others are only HB_EXPERIMENTAL_API anyway, but still. + + src/hb-config.hh | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +commit d339298f371902e9a09ca7e0708893a15a739f0c +Author: Garret Rieger <grieger@google.com> +Date: Fri May 5 06:00:30 2023 +0000 + + [subset] fix hb_subset_input_old_to_new_gid_mapping method comment. + + src/hb-subset-input.cc | 9 +++++---- + 1 file changed, 5 insertions(+), 4 deletions(-) + +commit 374a9a9f5eefd40822c48707bd2126df3505b595 +Author: Garret Rieger <grieger@google.com> +Date: Fri May 5 05:58:15 2023 +0000 + + [subset] restore accidentally removed function doc. + + docs/harfbuzz-sections.txt | 1 + + 1 file changed, 1 insertion(+) + +commit 3021b2dbe2a18724f345f881eba7299a8bf00499 +Author: Garret Rieger <grieger@google.com> +Date: Fri May 5 05:57:05 2023 +0000 + + [subset] change glyph mapping api to return a mutable map. + + Maintains consistency with our other set based api methods. + + docs/harfbuzz-sections.txt | 2 +- + src/hb-subset-input.cc | 27 +++++++++++---------------- + src/hb-subset-plan.cc | 35 +++++++++++++++++++++++++++-------- + src/hb-subset.h | 6 ++---- + util/hb-subset.cc | 4 +--- + 5 files changed, 42 insertions(+), 32 deletions(-) + +commit d4c13225477df6d137c08bdda247add6e66ec84c +Author: Garret Rieger <grieger@google.com> +Date: Thu May 4 23:04:35 2023 +0000 + + [subset] Add new glyph map method to docs. + + docs/harfbuzz-sections.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 77a815542588a257f44c9310961797717e435f64 +Author: Garret Rieger <grieger@google.com> +Date: Thu May 4 23:01:56 2023 +0000 + + [subset] Add some basic tests for a provided glyph map. + + src/hb-subset-input.cc | 9 +++------ + src/hb-subset-plan.cc | 10 ++++++++-- + .../Roboto-Regular.glyph_map_roboto.41,43,61,66,69.ttf | Bin 0 -> 3996 bytes + ...gular.glyph_map_roboto_retain_gids.41,43,61,66,69.ttf | Bin 0 -> 7936 bytes + test/subset/data/profiles/glyph_map_roboto.txt | 2 ++ + .../data/profiles/glyph_map_roboto_retain_gids.txt | 4 ++++ + test/subset/data/tests/glyph_map.tests | 9 +++++++++ + test/subset/generate-expected-outputs.py | 4 +++- + 8 files changed, 29 insertions(+), 9 deletions(-) + +commit 3194963657a3049961fb64c9be86c1629afcea4b +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Thu May 4 16:29:48 2023 -0600 + + Revert "[layout] Cache subtable coverages in hb_map_t" + + This reverts commit 7a715d74e06720c17d28ba7b4c3da0b583f8d1d3. + + src/OT/Layout/GPOS/CursivePosFormat1.hh | 4 +- + src/OT/Layout/GPOS/MarkBasePosFormat1.hh | 5 +- + src/OT/Layout/GPOS/MarkLigPosFormat1.hh | 5 +- + src/OT/Layout/GPOS/MarkMarkPosFormat1.hh | 5 +- + src/OT/Layout/GPOS/PairPosFormat1.hh | 6 +- + src/OT/Layout/GPOS/PairPosFormat2.hh | 4 +- + src/OT/Layout/GPOS/PosLookup.hh | 4 +- + src/OT/Layout/GPOS/SinglePosFormat1.hh | 4 +- + src/OT/Layout/GPOS/SinglePosFormat2.hh | 8 ++- + src/OT/Layout/GSUB/AlternateSubstFormat1.hh | 8 ++- + src/OT/Layout/GSUB/LigatureSubstFormat1.hh | 8 ++- + src/OT/Layout/GSUB/MultipleSubstFormat1.hh | 8 ++- + .../Layout/GSUB/ReverseChainSingleSubstFormat1.hh | 9 ++- + src/OT/Layout/GSUB/SingleSubstFormat1.hh | 4 +- + src/OT/Layout/GSUB/SingleSubstFormat2.hh | 8 ++- + src/OT/Layout/GSUB/SubstLookup.hh | 4 +- + src/hb-ot-layout-gsubgpos.hh | 70 ++++++++++++---------- + 17 files changed, 99 insertions(+), 65 deletions(-) + +commit 7a715d74e06720c17d28ba7b4c3da0b583f8d1d3 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Thu May 4 16:28:11 2023 -0600 + + [layout] Cache subtable coverages in hb_map_t + + Proof-of-concept. Going to revert. Memory consumption is more + than I like. It does speed up Roboto shaping another 15% though. + Perhaps if we could add logic to choose which subtables to + cache, this might be a useful approach. + + src/OT/Layout/GPOS/CursivePosFormat1.hh | 4 +- + src/OT/Layout/GPOS/MarkBasePosFormat1.hh | 5 +- + src/OT/Layout/GPOS/MarkLigPosFormat1.hh | 5 +- + src/OT/Layout/GPOS/MarkMarkPosFormat1.hh | 5 +- + src/OT/Layout/GPOS/PairPosFormat1.hh | 6 +- + src/OT/Layout/GPOS/PairPosFormat2.hh | 4 +- + src/OT/Layout/GPOS/PosLookup.hh | 4 +- + src/OT/Layout/GPOS/SinglePosFormat1.hh | 4 +- + src/OT/Layout/GPOS/SinglePosFormat2.hh | 8 +-- + src/OT/Layout/GSUB/AlternateSubstFormat1.hh | 8 +-- + src/OT/Layout/GSUB/LigatureSubstFormat1.hh | 8 +-- + src/OT/Layout/GSUB/MultipleSubstFormat1.hh | 8 +-- + .../Layout/GSUB/ReverseChainSingleSubstFormat1.hh | 9 +-- + src/OT/Layout/GSUB/SingleSubstFormat1.hh | 4 +- + src/OT/Layout/GSUB/SingleSubstFormat2.hh | 8 +-- + src/OT/Layout/GSUB/SubstLookup.hh | 4 +- + src/hb-ot-layout-gsubgpos.hh | 70 ++++++++++------------ + 17 files changed, 65 insertions(+), 99 deletions(-) + +commit 98e73192f4aac0419d275857993359676bd94f94 +Author: Garret Rieger <grieger@google.com> +Date: Thu May 4 22:20:06 2023 +0000 + + [subset] Add command line flag to provide a gid mapping. + + src/hb-subset-input.cc | 5 +++++ + util/hb-subset.cc | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++ + 2 files changed, 65 insertions(+) + +commit 975980d36867728da42908a9a3c95373a32b3d30 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Thu May 4 15:56:06 2023 -0600 + + [gsubgpos] Add apply_cached() as separate method + + In prep for some other work. + + src/hb-ot-layout-gsubgpos.hh | 10 +++++++--- + 1 file changed, 7 insertions(+), 3 deletions(-) + +commit 779e8297fa53f95db2efe1d0e9e734951e0e33ab +Author: Garret Rieger <grieger@google.com> +Date: Thu May 4 19:31:23 2023 +0000 + + [subset] fix requested_glyph_map presence check. + + src/hb-subset-plan.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit e14020b27ac71f44a46374ebdce9e0ac46160118 +Author: Garret Rieger <grieger@google.com> +Date: Thu May 4 19:24:01 2023 +0000 + + [subset] remove return value from mapping setting function. + + src/hb-subset-input.cc | 5 ++--- + src/hb-subset.h | 2 +- + 2 files changed, 3 insertions(+), 4 deletions(-) + +commit 6826634714de899f5f000a6897deb43825c8ba78 +Author: Garret Rieger <grieger@google.com> +Date: Thu May 4 19:18:54 2023 +0000 + + [subset] apply the user supplied glyph map. + + src/hb-subset-input.cc | 18 ++++++++++++++++++ + src/hb-subset-plan.cc | 31 ++++++++++++++++++++++++++++++- + 2 files changed, 48 insertions(+), 1 deletion(-) + +commit e711e305c8d59b9e381e9bf7aa7fd7f85d5008b7 +Author: Garret Rieger <grieger@google.com> +Date: Thu May 4 18:47:55 2023 +0000 + + [subset] Add new subsetting API method to receive a user specified glyph mapping. + + src/hb-subset-input.cc | 16 ++++++++++++++++ + src/hb-subset-input.hh | 1 + + src/hb-subset.h | 5 +++++ + 3 files changed, 22 insertions(+) + +commit 1be39729140a6d726de164746e516c1fe5afcb19 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Thu May 4 13:18:34 2023 -0600 + + [subset] Support unordered glyphlist in Coverage/ClassDef serialize + + src/OT/Layout/Common/Coverage.hh | 9 +++++++-- + src/OT/Layout/Common/CoverageFormat2.hh | 1 + + src/OT/Layout/Common/RangeRecord.hh | 12 ++++++++++++ + src/hb-ot-layout-common.hh | 2 ++ + 4 files changed, 22 insertions(+), 2 deletions(-) + +commit a10fad7cc233e70ac647081eaeb9e0c4ecbb1e1d +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Thu May 4 11:32:07 2023 -0600 + + [config] Add HB_NO_GDEF_CACHE + + src/OT/Layout/GDEF/GDEF.hh | 9 +++++++++ + src/hb-config.hh | 1 + + 2 files changed, 10 insertions(+) + +commit e138319fccd9168bbf94d0047e9b33e540f8a25d +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Thu May 4 11:28:50 2023 -0600 + + [config] Allow overriding HB_OPTIMIZE_SIZE + + src/hb-config.hh | 17 ++++++----------- + 1 file changed, 6 insertions(+), 11 deletions(-) + +commit 319a488b3903cf92c3b45d1772717168a10f94d7 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Thu May 4 10:36:48 2023 -0600 + + [GDEF] Fix null check + + Fixes https://oss-fuzz.com/testcase-detail/5920994267889664 + + src/OT/Layout/GDEF/GDEF.hh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 3f2401e2f11e730050632982f286fe534a2881ad +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Wed May 3 16:56:52 2023 -0600 + + [layout] Don't init iters successively multiple times + + src/hb-ot-layout-gsubgpos.hh | 8 ++++---- + src/hb-ot-layout.cc | 9 +++++---- + 2 files changed, 9 insertions(+), 8 deletions(-) + +commit 959f16343b630216c74e2a2de70f783af45e8c5f +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Wed May 3 16:27:41 2023 -0600 + + [gsubgpos] Minor reduce variable scope + + src/hb-ot-layout-gsubgpos.hh | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +commit fb795dc3c519a34222d32fff0a4309c6e20d77a8 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Wed May 3 15:17:20 2023 -0600 + + [GPOS] Optimize iterator reset + + Speeds up Gulzar shaping 5%. + + src/OT/Layout/GPOS/CursivePosFormat1.hh | 2 +- + src/OT/Layout/GPOS/MarkMarkPosFormat1.hh | 2 +- + src/OT/Layout/GPOS/PairPosFormat1.hh | 2 +- + src/OT/Layout/GPOS/PairPosFormat2.hh | 2 +- + src/hb-ot-layout-gsubgpos.hh | 10 ++++++++++ + 5 files changed, 14 insertions(+), 4 deletions(-) + +commit 0c1637b60683bcbd11d2aa55cf0df05c3cefe573 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Wed May 3 15:04:57 2023 -0600 + + [aat] Fix HB_NO_OT_LAYOUT build + + src/hb-aat-layout.cc | 8 +++++++- + 1 file changed, 7 insertions(+), 1 deletion(-) + +commit 8a8fc37c42135b3ed524e4179bcc4add854ae195 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Wed May 3 14:57:00 2023 -0600 + + [GDEF] Use a cache for glyph classes + + Shows 5% speedup for Roboto shaping. + + src/OT/Layout/GDEF/GDEF.hh | 15 +++++++++++++++ + src/hb-null.hh | 2 +- + src/hb-ot-layout-gsubgpos.hh | 10 +++++++++- + src/hb-ot-layout.cc | 2 +- + 4 files changed, 26 insertions(+), 3 deletions(-) + +commit 323a1fe4968029fd036948533ead5c0ba69b9df2 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Wed May 3 13:52:43 2023 -0600 + + [PairPos] Fix what I broke + + src/OT/Layout/GPOS/PairPosFormat1.hh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit a6f5f0dc4aa9b1551ccdb3a18a8b4c6589ee72cc +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Wed May 3 13:45:39 2023 -0600 + + [PairSet] Micro-optimize + + src/OT/Layout/GPOS/PairSet.hh | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 4e495eb0a78cd2b51a09c4fdeaa9f1cd9d13116b +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Wed May 3 13:40:46 2023 -0600 + + [PairPos] Add an unlikely + + src/OT/Layout/GPOS/PairPosFormat1.hh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 5528bdd46fc0a1e6c34de1fbe0f79becc12f00ab +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Wed May 3 13:35:10 2023 -0600 + + [PairPos] Remove a likely + + src/OT/Layout/GPOS/PairPosFormat2.hh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit ae0fe02d13f1ecd1ede03d0523308cba4b88a738 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Wed May 3 13:24:08 2023 -0600 + + [Ligature] Use slow path if 2 or fewer ligatures + + src/OT/Layout/GSUB/LigatureSet.hh | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit ddd6c2e7a2d11b91d49681c1a8609010dafefad8 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Wed May 3 13:16:39 2023 -0600 + + [Ligature] Micro-optimize more + + src/OT/Layout/GSUB/LigatureSet.hh | 12 +++++++++--- + 1 file changed, 9 insertions(+), 3 deletions(-) + +commit 045ae4b0b5358503ddf445d2a5bfd6427a9ee4f2 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Wed May 3 13:08:43 2023 -0600 + + [GPOS] Micro-optimize + + src/OT/Layout/GPOS/CursivePosFormat1.hh | 2 +- + src/OT/Layout/GPOS/MarkMarkPosFormat1.hh | 4 ++-- + src/OT/Layout/GPOS/PairPosFormat2.hh | 2 +- + 3 files changed, 4 insertions(+), 4 deletions(-) + +commit 0fe90ebc00d07a1a636ed0dfdd72f5586b51bcfa +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Wed May 3 12:49:31 2023 -0600 + + [Ligature] Micro-optimize + + src/OT/Layout/GSUB/LigatureSet.hh | 16 ++++++++++++---- + 1 file changed, 12 insertions(+), 4 deletions(-) + +commit 51061d2854cbf55de422f46b31e1746b8657a4e1 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Wed May 3 12:46:04 2023 -0600 + + [Ligature] Minor tweak to recent code + + src/OT/Layout/GSUB/LigatureSet.hh | 11 +++++++---- + 1 file changed, 7 insertions(+), 4 deletions(-) + +commit 7881eadffc6314e0da29b27125550a1c5d46819f +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Tue May 2 14:56:18 2023 -0600 + + [Ligature] Speed up + + Match the first component of the ligature in the LigatureSet loop. + + Speeds up Roboto shaping by 25%. I don't think it breaks anything. + The test suite seems happy. + + src/OT/Layout/GSUB/Ligature.hh | 2 +- + src/OT/Layout/GSUB/LigatureSet.hh | 43 +++++++++++++++++++++++++++++++++++++-- + 2 files changed, 42 insertions(+), 3 deletions(-) + +commit 95f155573c84dd3b74ae83183d23faac7f364f08 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Tue May 2 16:37:31 2023 -0600 + + [PairPosFormat2] Micro-optimize and don't kern if class2=0 + + If class2=0 we expect no kerning to happen. Just bail out. + + src/OT/Layout/GPOS/PairPosFormat2.hh | 14 ++++++++++---- + 1 file changed, 10 insertions(+), 4 deletions(-) + +commit 5996715436cdd303138653c598acfe5974566c16 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Tue May 2 15:52:43 2023 -0600 + + [PairPos2] Micro-optimize + + src/OT/Layout/GPOS/PairPosFormat2.hh | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 49ac5e11ef6000de139f1e823d5fc43ae6f8f412 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Tue May 2 12:12:26 2023 -0600 + + [match_input] Micro-optimize + + src/hb-ot-layout-gsubgpos.hh | 7 +++++-- + 1 file changed, 5 insertions(+), 2 deletions(-) + +commit 7e7f1d0414c9128ce2e09659711f45e6b0f74c39 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Tue May 2 12:06:00 2023 -0600 + + Drop a pair of parantheses from likely/unlikely + + Such that "if likely(...)" wouldn't compile. + + src/hb.hh | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit db730f46d093b69667ad430785ca50fc32f2172c +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Tue May 2 11:55:10 2023 -0600 + + Simplify likely/unlikely + + This surprisingly saves bytes and speeds up. + + src/hb.hh | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 2f9945ca0191c316fa82c1fb5fa553bc4aa50b0c +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Tue May 2 11:33:31 2023 -0600 + + [Glyph] Only treat numContours=-1 as Composite + + Leave the other negative numbers as empty glyph. + + src/OT/glyf/Glyph.hh | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit db23be642ff13706333069ef895f7b6559a9036b +Author: Garret Rieger <grieger@google.com> +Date: Tue May 2 00:06:08 2023 +0000 + + [subset] clamp head *Min/*Max values to fit within 16 bit signed int. + + Fixes fuzzer https://oss-fuzz.com/testcase-detail/4549472192692224. + + src/OT/glyf/Glyph.hh | 11 +++++++---- + ...-testcase-minimized-hb-subset-fuzzer-4549472192692224 | Bin 0 -> 1634 bytes + 2 files changed, 7 insertions(+), 4 deletions(-) + +commit a8b8eb53c3de9830ccd8e1444a24eee430c2dc74 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Mon May 1 16:56:29 2023 -0600 + + [Coverage] Micro-optimize + + src/OT/Layout/Common/Coverage.hh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit af21ea359c1463d4b1b0f78d43fa695788098277 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Mon May 1 16:34:50 2023 -0600 + + [Coverage/serialize] Micro-optimize + + src/OT/Layout/Common/Coverage.hh | 5 ++--- + src/OT/Layout/Common/CoverageFormat2.hh | 6 +++--- + 2 files changed, 5 insertions(+), 6 deletions(-) + +commit 491f2968cd964c14c86642c5c881be5e16f12d62 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Mon May 1 15:58:57 2023 -0600 + + [gvar] Micro-optimize + + We don't need the flag in the case of apply_to_all. + + src/hb-ot-var-gvar-table.hh | 2 -- + 1 file changed, 2 deletions(-) + +commit 19d8328b639a7520f24dea0ada086cbff1ad90eb +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Mon May 1 15:54:06 2023 -0600 + + [VarComposite] Minor use pad instead of StructAfter + + src/OT/glyf/VarCompositeGlyph.hh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 1b74cd7c2df711007b9bc252c891618d5250affd +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Mon May 1 15:41:12 2023 -0600 + + [gvar] Micro-optimize + + src/hb-ot-var-gvar-table.hh | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 267ecd20c8995c146c45bf8e37fb25fa6e7b9b8b +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Mon May 1 14:05:17 2023 -0600 + + [normalize] Micro-optimize + + src/hb-ot-shape-normalize.cc | 15 +++++++++------ + 1 file changed, 9 insertions(+), 6 deletions(-) + +commit 577bc8a2391ad7bd727b0268ed711c1d10065a14 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Mon May 1 14:01:08 2023 -0600 + + [layout] Micro-optimize + + src/hb-ot-layout.cc | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +commit 5b78e9a92443eea0aaf62228f6a93a62c7d39410 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Mon May 1 13:45:42 2023 -0600 + + [layout] Whitespace + + src/hb-ot-layout.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 3f9eb03b40251b7c27a2d9935db31091fc8a1586 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Mon May 1 12:49:40 2023 -0600 + + [graph] Micro-optimize + + src/graph/graph.hh | 64 +++++++++++++++++++++++++++++++----------------------- + 1 file changed, 37 insertions(+), 27 deletions(-) + +commit 1cbb85dc84bf3f581556fcdb1eeca8822c8d3095 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Sun Apr 30 11:31:46 2023 -0600 + + [Glyph] Protect against an underflow + + src/OT/glyf/Glyph.hh | 20 ++++++++++---------- + 1 file changed, 10 insertions(+), 10 deletions(-) + +commit c7721f7df54a95701b1a4f0ce563aa8e3c0ba49d +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Sun Apr 30 11:28:40 2023 -0600 + + [Glyph] Reuse variables + + src/OT/glyf/Glyph.hh | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit e826d94afe1eab70817db7f32e9c5f9597a3da84 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Sun Apr 30 11:11:19 2023 -0600 + + Call roundf() instead of _hb_roundf() + + The former is defined as a macro expanding to the latter. + + src/OT/Color/COLR/COLR.hh | 8 ++++---- + src/OT/Layout/GPOS/GPOS.hh | 2 +- + src/hb-ot-metrics.cc | 2 +- + 3 files changed, 6 insertions(+), 6 deletions(-) + +commit fbffd4e65e65843ab149c43df417882fe08683d9 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Sun Apr 30 10:45:19 2023 -0600 + + [SimpleGlyph] Handle cubic curves when instancing + + src/OT/glyf/SimpleGlyph.hh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 85a0a123389a54ea8925a8f84030eb687f82bf47 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Sun Apr 30 10:40:50 2023 -0600 + + [SimpleGlyph] Relax types + + src/OT/glyf/SimpleGlyph.hh | 12 ++++++------ + 1 file changed, 6 insertions(+), 6 deletions(-) + +commit 2e5e566504b67fa7495bf017aded25f771d5a690 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Sun Apr 30 10:23:58 2023 -0600 + + [SimpleGlyph] Micro-optimize + + src/OT/glyf/SimpleGlyph.hh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 7b9832deab83d406052a8a8fcd6440bd018ca064 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Sat Apr 29 12:56:07 2023 -0600 + + [buffer] Whitespace + + src/hb-buffer.hh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 700975f732be2eb9b31d538e43a4909311851f55 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Sat Apr 29 11:23:56 2023 -0600 + + [gvar/glyf] Minor save a variable + + src/OT/glyf/Glyph.hh | 3 ++- + src/hb-ot-var-gvar-table.hh | 11 ++++++++--- + 2 files changed, 10 insertions(+), 4 deletions(-) + +commit 07be0b6878a2e1948cbd32bbce111b44b53beda3 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Sat Apr 29 11:09:28 2023 -0600 + + [VarComposite] Minor micro-optimize + + src/OT/glyf/VarCompositeGlyph.hh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit ecd0f859bde42d7883746e8ea7f00bd56ef4cd35 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Sat Apr 29 10:51:59 2023 -0600 + + [Composite] Minor micro-optimize + + src/OT/glyf/CompositeGlyph.hh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit e768754b0fa7153442280b393ff1136a6f8574a3 +Author: Han Seung Min - 한승민 <hanseungmin.ar@gmail.com> +Date: Sat Apr 29 17:51:04 2023 +0900 + + [buffer] fix `hb_buffer_t::similar` setting `replacement` to `src.invisible` + + ```cpp + void + hb_buffer_t::similar (const hb_buffer_t &src) + { + hb_unicode_funcs_destroy (unicode); + unicode = hb_unicode_funcs_reference (src.unicode); + flags = src.flags; + cluster_level = src.cluster_level; + replacement = src.invisible; // <- this should be src.replacement + invisible = src.invisible; + not_found = src.not_found; + } + ``` + + src/hb-buffer.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit afd432daf52f2df0897b47681230e45e970a8f06 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Fri Apr 28 14:55:37 2023 -0600 + + [VarComposite] Fix an #ifdef check + + src/OT/glyf/VarCompositeGlyph.hh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit b53f8c25ca49b6401fafbca5ad1f0f95863c323f +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Fri Apr 28 14:49:22 2023 -0600 + + [path-builder] Simplify initialization + + src/OT/glyf/path-builder.hh | 7 ++----- + 1 file changed, 2 insertions(+), 5 deletions(-) + +commit 6a4b87d0034e2523d3e4b9a0bba63bc89edaebd0 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Fri Apr 28 14:48:46 2023 -0600 + + [path-builder] Remove double-initialization + + src/OT/glyf/path-builder.hh | 1 - + 1 file changed, 1 deletion(-) + +commit 4a102effd00fac7a6a6b8c4be2aa7c711c6ba91c +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Fri Apr 28 14:38:34 2023 -0600 + + [gvar] Minor always pass cache + + We now check for access in calculate_scalar(), so no need to + check fof error here. + + src/hb-ot-var-gvar-table.hh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 06504cb0a26ff2bff1842b6049e28e427489ea5b +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Fri Apr 28 13:13:18 2023 -0600 + + [PairPosFormat2] Minor use false instead of 0 + + src/OT/Layout/GPOS/PairPosFormat2.hh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 262f029e20a4e99bc977d767bebf9f03bf1da183 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Fri Apr 28 12:57:24 2023 -0600 + + [algs] Undo touching HACKMEM 169 + + src/hb-algs.hh | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 9ed43dc50059ce1710fbf5104e210703f1f2f65f +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Fri Apr 28 12:38:26 2023 -0600 + + [PairPosFormat2] Reuse a value + + src/OT/Layout/GPOS/PairPosFormat2.hh | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +commit 859f7d41cba08731de9b45e87aa37c877454e801 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Fri Apr 28 12:22:11 2023 -0600 + + [set-digest] Comment + + src/hb-set-digest.hh | 12 +++++++++--- + 1 file changed, 9 insertions(+), 3 deletions(-) + +commit bd62a91d03034f9f1600b6994b7f3cff2f76bc7d +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Fri Apr 28 12:01:21 2023 -0600 + + [algs] 64bit popcount + + src/hb-algs.hh | 10 ++++++---- + 1 file changed, 6 insertions(+), 4 deletions(-) + +commit 5b0d818128163bf915a17e5b696a6805c14738c5 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Fri Apr 28 11:40:42 2023 -0600 + + [Glyph] Add missing break + + src/OT/glyf/Glyph.hh | 1 + + 1 file changed, 1 insertion(+) + +commit e5dfb6a4b6122d1e1cb6c3feea985ee68154c736 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Fri Apr 28 11:38:12 2023 -0600 + + [SimpleGlyph] Use hb_memset instead of memset + + src/OT/glyf/SimpleGlyph.hh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 1b0c5a3e6346dcc4efac7861ad38f64533a05bba +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Fri Apr 28 11:16:11 2023 -0600 + + [VarComposite] Comment + + src/OT/glyf/VarCompositeGlyph.hh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit b0e763f5ebb8ef9cc9134b1aebe96f41b526f1cf +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Fri Apr 28 10:45:23 2023 -0600 + + [VarComposite] Micro-optimize get_num_points + + src/OT/glyf/VarCompositeGlyph.hh | 8 ++++++++ + 1 file changed, 8 insertions(+) + +commit 29d576584d4a56502da8e16c9dcc2222ad94e7bb +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Fri Apr 28 10:33:50 2023 -0600 + + [VarComposite] Micro-optimize + + src/OT/glyf/Glyph.hh | 1 + + src/OT/glyf/VarCompositeGlyph.hh | 9 ++++----- + 2 files changed, 5 insertions(+), 5 deletions(-) + +commit bf97f880558f35cdd54f88c737164ff8efa807c3 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Fri Apr 28 10:28:17 2023 -0600 + + [VarComposite] Minor notation + + src/OT/glyf/VarCompositeGlyph.hh | 18 +++++++++--------- + 1 file changed, 9 insertions(+), 9 deletions(-) + +commit e9738563ffe7d07c6245a19b9a9b94a310f31140 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Fri Apr 28 10:22:40 2023 -0600 + + [VarComposite] Speedup get_size() + + src/OT/glyf/VarCompositeGlyph.hh | 16 +++++++--------- + 1 file changed, 7 insertions(+), 9 deletions(-) + +commit 21ba0b6868790f1586363c02aea90b3c449304f7 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Thu Apr 27 19:15:41 2023 -0600 + + [cvt] Remove unneeded initialization + + src/hb-ot-var-cvar-table.hh | 1 - + 1 file changed, 1 deletion(-) + +commit b3fed4fa6465151e740bdbf5cfffb13298a57803 +Author: Garret Rieger <grieger@google.com> +Date: Thu Apr 27 22:13:30 2023 +0000 + + [repacker] fix fuzzer found memory leak. + + Fixes https://oss-fuzz.com/testcase-detail/5196242811748352 + + src/graph/markbasepos-graph.hh | 5 ++++- + ...tcase-minimized-hb-repacker-fuzzer-5196242811748352 | Bin 0 -> 358356 bytes + 2 files changed, 4 insertions(+), 1 deletion(-) + +commit 247ffe389fb2e80a9d254860b7aa4a9ccd6c6558 +Merge: f90e3fc3f c800c0cfe +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Thu Apr 27 16:28:47 2023 -0600 + + Merge pull request #4211 from harfbuzz/glyf-inplace + + Glyf inplace + +commit c800c0cfe1a09a4c5e11345b4870cab123cbfae8 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Thu Apr 27 15:12:02 2023 -0600 + + [Glyph] Load composite glyphs in-place + + src/OT/glyf/CompositeGlyph.hh | 33 ++++++++++++++++++++++++----- + src/OT/glyf/Glyph.hh | 45 ++++++++++++++++++++-------------------- + src/OT/glyf/SimpleGlyph.hh | 12 ++++++----- + src/OT/glyf/VarCompositeGlyph.hh | 15 +++++++++++--- + src/hb-ot-var-gvar-table.hh | 33 +++++++---------------------- + 5 files changed, 77 insertions(+), 61 deletions(-) + +commit f90e3fc3f4ff9aca66742ee8843e0087ddc83872 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Thu Apr 27 14:39:33 2023 -0600 + + [Composites] Pre-alloc phantom-points space + + src/OT/glyf/CompositeGlyph.hh | 1 + + src/OT/glyf/VarCompositeGlyph.hh | 1 + + 2 files changed, 2 insertions(+) + +commit 0c7cb57539c39a29fa71d89c634f9173908da71f +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Thu Apr 27 14:21:44 2023 -0600 + + [VarComposite] Micro-optimization for advance-only + + src/OT/glyf/Glyph.hh | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit bdce23a0c0faab35a11eef6c97c1ad6432157b31 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Thu Apr 27 14:07:57 2023 -0600 + + [Glyph] Don't load component glyphs is phantom_only + + Drastically speeds up variable advance calculation when HVAR + is missing. Let's see what I broke... + + src/OT/glyf/Glyph.hh | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +commit e2be7865f33640671e5bb342cd648ce944937fe8 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Thu Apr 27 13:54:06 2023 -0600 + + [VarComposite] Minor rewrite + + src/OT/glyf/VarCompositeGlyph.hh | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit b9b85da3c9200f84d978edeb3e404e089ca69454 +Author: Qunxin Liu <qxliu@google.com> +Date: Thu Apr 27 11:17:24 2023 -0700 + + [instancer] no need to create hb_font_t object when fetching delta from varstore + + src/hb-ot-layout-common.hh | 11 ++++++----- + src/hb-subset-plan.cc | 12 ++---------- + 2 files changed, 8 insertions(+), 15 deletions(-) + +commit 58f79063bbe5a9f2bbd438771a5f495d47208a95 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Thu Apr 27 13:35:32 2023 -0600 + + [VarComposite] Set min_size to 5 + + src/OT/glyf/VarCompositeGlyph.hh | 5 ++--- + 1 file changed, 2 insertions(+), 3 deletions(-) + +commit 28b5a47d2b06bb85540c3ef6616b9d92a4fe93d7 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Thu Apr 27 13:31:53 2023 -0600 + + [VarComposite] Reuse a variable + + src/OT/glyf/VarCompositeGlyph.hh | 25 +++++++++++++------------ + 1 file changed, 13 insertions(+), 12 deletions(-) + +commit 977c2f9c66363a369e91521d789ceacf0133621e +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Thu Apr 27 13:25:30 2023 -0600 + + [glyf] Micro-optimize + + src/OT/glyf/SimpleGlyph.hh | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit a4b4536a17cd308fdc59639d67d64049d4964326 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Thu Apr 27 13:14:52 2023 -0600 + + 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. + + src/OT/glyf/SimpleGlyph.hh | 4 +--- + 1 file changed, 1 insertion(+), 3 deletions(-) + +commit 1c4e7e4f7e8fa569885abc608aa52b979f966ea2 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Thu Apr 27 13:05:54 2023 -0600 + + [VarComposite] Rewrite code with ? + + src/OT/glyf/VarCompositeGlyph.hh | 27 +++++++++------------------ + 1 file changed, 9 insertions(+), 18 deletions(-) + +commit 9491a3dd0b6d098073b4d89540fe227b84c07ebb +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Thu Apr 27 13:01:27 2023 -0600 + + [VarComposite] Minor notation + + src/OT/glyf/VarCompositeGlyph.hh | 18 +++++++++--------- + 1 file changed, 9 insertions(+), 9 deletions(-) + +commit 644e0551a2f8736fa77fa19d7ccdfe07160cfab7 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Thu Apr 27 13:00:24 2023 -0600 + + [VarComposite] Minor move code + + src/OT/glyf/VarCompositeGlyph.hh | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +commit 79aa9e93d366c9e016404faf12da68b56bd56c9d +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Thu Apr 27 12:57:25 2023 -0600 + + [VarComposite] Optimize translate, second try + + src/OT/glyf/VarCompositeGlyph.hh | 5 ++--- + 1 file changed, 2 insertions(+), 3 deletions(-) + +commit 83bbeaca20f84b7a5af092209f5989986e6e2f9d +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Thu Apr 27 12:49:56 2023 -0600 + + [VarComposite] Minor move code + + src/OT/glyf/VarCompositeGlyph.hh | 5 ++--- + 1 file changed, 2 insertions(+), 3 deletions(-) + +commit 9b5afad49392cd2b661c6517353e0da950d33029 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Thu Apr 27 12:38:44 2023 -0600 + + [var] Fix assertion + + Fixes https://oss-fuzz.com/testcase-detail/4861707188305920 + + src/hb-ot-var-common.hh | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit 7cb95c8ab7d29d9ccc265d74a98a63ee3b514b63 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Thu Apr 27 12:28:00 2023 -0600 + + Revert "[VarComposite] Optimize translate()" + + This reverts commit 6a55e73d6aa9a378789d4101849f1508ac6fff3d. + + This was wrong. + + src/OT/glyf/VarCompositeGlyph.hh | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +commit b79a49f1a0a5030ccb582ae7aa715ae9da3c2857 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Thu Apr 27 12:21:32 2023 -0600 + + [VarComposite] Optimize get_points() + + src/OT/glyf/VarCompositeGlyph.hh | 43 +++++++++++++++++++--------------------- + 1 file changed, 20 insertions(+), 23 deletions(-) + +commit 51891e8ff42200f0555669c1c8a71e73ddbe189b +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Thu Apr 27 12:16:12 2023 -0600 + + [VarComposite] Micro-optimize + + src/OT/glyf/VarCompositeGlyph.hh | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit 0f05ced13b5d4c80b2b3f5b145613b0acd24df74 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Thu Apr 27 11:59:28 2023 -0600 + + [VarComposite] Optimize transformation functions more + + src/OT/glyf/VarCompositeGlyph.hh | 12 ++++++++++++ + 1 file changed, 12 insertions(+) + +commit 65ea95b9747e4863552a2a671000862c6ef14c6e +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Thu Apr 27 11:52:56 2023 -0600 + + [VarComposite] Optimize skew() + + src/OT/glyf/VarCompositeGlyph.hh | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +commit 070f837be6b3e928a333c388025a82d77dae92dc +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Thu Apr 27 11:51:42 2023 -0600 + + [VarComposite] Optimize rotate() + + configure.ac | 2 +- + meson.build | 1 + + src/OT/glyf/VarCompositeGlyph.hh | 10 ++++++++-- + 3 files changed, 10 insertions(+), 3 deletions(-) + +commit 4e256f5a5754699c79d575dbf3026b11731ab926 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Thu Apr 27 11:47:52 2023 -0600 + + [VarComposite] Optimize scale() + + src/OT/glyf/VarCompositeGlyph.hh | 7 ++++--- + 1 file changed, 4 insertions(+), 3 deletions(-) + +commit 6a55e73d6aa9a378789d4101849f1508ac6fff3d +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Thu Apr 27 11:45:18 2023 -0600 + + [VarComposite] Optimize translate() + + src/OT/glyf/VarCompositeGlyph.hh | 5 ++--- + 1 file changed, 2 insertions(+), 3 deletions(-) + +commit cdc02acd3d0281b4791c129da9145ec184c73df6 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Thu Apr 27 11:40:24 2023 -0600 + + [VarComposite] Minor adjust initialization values + + src/OT/glyf/VarCompositeGlyph.hh | 18 +++++++++--------- + 1 file changed, 9 insertions(+), 9 deletions(-) + +commit a257546de492e3dba05cb08aec936b0489023959 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Thu Apr 27 11:39:40 2023 -0600 + + [VarComposite] Minor micro-optimize / indent + + src/OT/glyf/VarCompositeGlyph.hh | 17 ++++++++--------- + 1 file changed, 8 insertions(+), 9 deletions(-) + +commit 18396b8e27888c2ecb3aec40cb488263f9a26d50 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Thu Apr 27 11:36:24 2023 -0600 + + [VarComposite] Micro-optimize + + src/OT/glyf/VarCompositeGlyph.hh | 10 ++++++---- + 1 file changed, 6 insertions(+), 4 deletions(-) + +commit 1e71a673e925dcce0acfb81c14f74404b92a1568 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Thu Apr 27 11:27:40 2023 -0600 + + [VarComposite] Micro-optimize + + src/OT/glyf/VarCompositeGlyph.hh | 66 +++++++++++++++++++++------------------- + 1 file changed, 35 insertions(+), 31 deletions(-) + +commit dd860fad80b85f8bc03dd53373cff4f092c32447 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Thu Apr 27 11:24:48 2023 -0600 + + [VarComposite] Micro-optimize + + src/OT/glyf/VarCompositeGlyph.hh | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +commit 6457847719a1e22bf1047c2b9e5debf843b5156d +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Thu Apr 27 11:22:18 2023 -0600 + + [VarComposite] Minor change variable types + + src/OT/glyf/VarCompositeGlyph.hh | 18 +++++++++--------- + 1 file changed, 9 insertions(+), 9 deletions(-) + +commit 50e758e34534b963269f859274dff1d2a3812778 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Thu Apr 27 11:02:07 2023 -0600 + + [glyf] Tweak assertion + + src/OT/glyf/SimpleGlyph.hh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 1056590f00db7414a289d122f88f68d305c000a5 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Thu Apr 27 10:41:36 2023 -0600 + + [config] Add HB_OPTIMIZE_SIZE_VAL + + src/hb-config.hh | 5 +++++ + src/hb-ot-var-gvar-table.hh | 9 +-------- + src/hb-vector.hh | 4 +--- + 3 files changed, 7 insertions(+), 11 deletions(-) + +commit 726590ed5f3ac23f8316ed3988bf24f87ff58360 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Thu Apr 27 10:13:39 2023 -0600 + + [gvar] Add optimize-size code path + + src/hb-ot-var-gvar-table.hh | 100 ++++++++++++++++++++++++++++---------------- + 1 file changed, 64 insertions(+), 36 deletions(-) + +commit 7c9ed76d0a272b97af48b75ce0e7ea001164d453 +Author: Khaled Hosny <khaled@aliftype.com> +Date: Thu Apr 27 03:26:57 2023 +0200 + + [doc] Use simpler markdown link syntax + + src/hb-ot-layout.cc | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit a200f0a3fe9ced04ad498fc9a1b480fbf1cce78d +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Wed Apr 26 17:29:49 2023 -0600 + + [gvar] Micro-optimize + + src/hb-ot-var-gvar-table.hh | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit db86e977a091b084897ebbafff7f72a58e0e375a +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Wed Apr 26 17:08:53 2023 -0600 + + [gvar] Micro-optimize + + src/hb-ot-var-gvar-table.hh | 61 +++++++++++++++++++++++++++------------------ + 1 file changed, 37 insertions(+), 24 deletions(-) + +commit 27b8a208ec93d9a2a4efd33682ce23ee3f4841d7 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Wed Apr 26 16:54:58 2023 -0600 + + [gvar] Minor variable reuse + + src/hb-ot-var-gvar-table.hh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 2bbb605d08298047164a20a242f4cfcfbe68c309 +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Wed Apr 26 16:40:39 2023 -0600 + + [glyf] Micro-optimize + + No need to init the whole array. + + src/OT/glyf/SimpleGlyph.hh | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +commit c87f26018d53e5fdb4d6226919cb10a3c43a9c8e +Author: Behdad Esfahbod <behdad@behdad.org> +Date: Wed Apr 26 16:32:07 2023 -0600 + + [glyf] Micro-optimize + + src/OT/glyf/SimpleGlyph.hh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + commit a321c4fee56b15247c10f9aa3db7e7ccb3b8173b Author: Khaled Hosny <khaled@aliftype.com> Date: Thu Apr 27 00:48:00 2023 +0200 |