Commit Graph
17262 Commits
Author SHA1 Message Date
Behdad Esfahbod 3b386c3773 [graph] Minor assert 2023-08-01 14:15:41 -06:00
Behdad Esfahbod 07e7033076 [graph] Error check 2023-08-01 12:25:45 -06:00
Behdad Esfahbod 7a9aac1ae3 [graph] Fixes to parent handling 2023-08-01 12:17:13 -06:00
Behdad Esfahbod 2feac50b40 Revert "[gsubgpos] Keep another digest in the applicable_t"
This reverts commit fd79c7cecd.
2023-07-31 19:53:06 -06:00
Behdad Esfahbod fd79c7cecd [gsubgpos] Keep another digest in the applicable_t
The digest for all the remaining subtables combined.
The idea is to get out of the subtable look as soon as
no more can be applied.

Doesn't seem to speed up anything I tested. Going to revert.
2023-07-31 19:52:15 -06:00
Behdad Esfahbod e3fd69c889 [layout] Inline another function
Code is smaller too.
2023-07-31 19:07:42 -06:00
Behdad Esfahbod 9cdc043c16 [Cursive] Only sanitize what we use 2023-07-31 18:53:29 -06:00
Behdad Esfahbod 25e9defa51 [sanitize] Inline check_struct
Though seems like the compiler was always inlining it anyway.
2023-07-31 17:12:07 -06:00
Behdad Esfahbod 44026aa8a9 [Cursive] Minor, adjust unsafe-to-concat if prev didn't sanitize 2023-07-31 16:47:06 -06:00
Behdad Esfahbod b382e616cc [GPOS] Sanitize Cursive positioning anchors lazily
Speeds up Duployan-Regular.otf load time by 30%.
Doesn't seem to slow down shaping in a measurable way.
2023-07-31 16:31:59 -06:00
Khaled Hosny fcb9e5915f 8.1.0 8.1.0 2023-08-01 01:00:47 +03:00
dependabot[bot] 847e4a7607 Bump github/codeql-action from 2.21.0 to 2.21.2 (#4352)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.21.0 to 2.21.2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/1813ca74c3faaa3a2da2070b9b8a0b3e7373a0d8...0ba4244466797eb048eb91a6cd43d5c03ca8bd05)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-31 15:21:51 -06:00
Behdad Esfahbod db608229d1 [README] Update 2023-07-31 15:16:43 -06:00
Behdad Esfahbod 59f5f26515 [ci/msys] Don't install freetype (#4354)
* [ci/msys] Try deleting system harfbuzz DLL
2023-07-31 15:09:11 -06:00
Behdad Esfahbod bd84458a95 [ci] Try uploading msys artefacts (#4353)
* [ci] Try uploading msys artefacts

* [ci] Always upload DLLs from msys2

* [ci] Rename artifacts

* Another try
2023-07-31 13:27:15 -06:00
Behdad Esfahbod d9c4d3edf0 [uniscribe] Fix warnings 2023-07-31 12:43:12 -06:00
Behdad Esfahbod 29ad9304e2 [layout] Minor add prealloc 2023-07-30 17:06:25 -06:00
Behdad Esfahbod a41368bd7a [buffer] Minor micro-optimize 2023-07-30 17:04:02 -06:00
Behdad Esfahbod dc35a0fbcb [ot-map] Speed up feature finding
New API:
- hb_ot_layout_collect_feature_map()
2023-07-30 16:37:30 -06:00
Behdad Esfahbod ebdfa9838b [perf] Measure freetype face loading as well 2023-07-30 12:22:55 -06:00
Behdad Esfahbod 202888ec3e Fix mac bot
I think the new unsafe-to-concat is correct...
2023-07-30 11:49:08 -06:00
Behdad Esfahbod 35a026c89a [shape] Unsafe-to-concat around fraction slash 2023-07-30 11:28:59 -06:00
Behdad Esfahbod f19ca24a8e Revert "Revert "Require numerator and denominator in auto fraction""
This reverts commit 8fe506e153.
2023-07-30 11:26:11 -06:00
Behdad Esfahbod b2a73166d4 [buffer] Fix unsafe_to_concat()
Ouch!
2023-07-30 11:25:58 -06:00
Behdad Esfahbod 8fe506e153 Revert "Require numerator and denominator in auto fraction"
This reverts commit f3e86937df.
2023-07-30 11:09:37 -06:00
David Corbett f3e86937df Require numerator and denominator in auto fraction 2023-07-30 10:26:00 -06:00
Behdad Esfahbod 23838e5a2e [graph] Error handling 2023-07-29 13:20:14 -06:00
Behdad Esfahbod 04f4909257 [graph] Use a move instead of swap 2023-07-28 14:37:52 -06:00
Behdad Esfahbod 3bedb0eeed [graph] Minor rename 2023-07-27 16:04:01 -06:00
Behdad Esfahbod bb1f53c254 [graph] Try fixing infinite loop found by CIFuzz under malloc fail 2023-07-27 13:29:56 -06:00
Behdad Esfahbod db3314c1f8 [graph] Minor space type change 2023-07-27 13:20:32 -06:00
Behdad Esfahbod 6a218eaeea Merge pull request #4343 from harfbuzz/graph-parents-map
[graph] Use a hb_map_t to keep parents, instead of hb_vector_t
2023-07-27 13:14:52 -06:00
Behdad Esfahbod 6bb61708ed [graph] Try fixing bots 2023-07-27 13:06:30 -06:00
Behdad Esfahbod 1b5abb1781 [graph] Speed-up vertices having only one parent 2023-07-27 12:56:06 -06:00
Behdad Esfahbod f3d0b11d57 [graph] Make parents private 2023-07-27 12:56:06 -06:00
Behdad Esfahbod d3b997ee70 [graph] Use a hb_map_t to keep parents, instead of hb_vector_t
In some fonts, for example Noto Duployan-Regular, nodes can
have over a thousand parents... Speeds up 10% subsetting.
2023-07-27 12:55:57 -06:00
Qunxin Liu 45a0d65c62 [instancer] cosmetic change 2023-07-27 10:43:48 -06:00
Behdad Esfahbod cb320d2222 Revert "[cff] Use float instead of double"
This reverts commit c8f67ac28e.

Tests failing.
2023-07-27 10:43:07 -06:00
Behdad Esfahbod c8f67ac28e [cff] Use float instead of double
Reduces memory usage slightly.
2023-07-27 10:34:45 -06:00
Behdad Esfahbod b36b100ef1 [var] Remove byte_data_t; use hb_bytes_t
Now that we have hopefully fixed the bug preventing hb_bytes_t
use, remove the hack.

Ref.
5690840ceb
https://github.com/harfbuzz/harfbuzz/issues/4138
2023-07-26 14:42:46 -06:00
Behdad Esfahbod c25b8c0612 Merge pull request #4335 from googlefonts/bug_fixes
[instancer] support avar table, fix issues in STAT/fvar tables
2023-07-26 12:47:15 -06:00
Qunxin Liu 5cab0709a4 [instancer] fix for missing to update tuple indices flag in operator += 2023-07-26 10:09:27 -07:00
Qunxin Liu 515f85d545 [instancer] fix incorrect encoded_len 2023-07-26 09:49:14 -07:00
Qunxin Liu bccdcf5b18 [instancer] fix a bug in compiling deltas_y for gvar 2023-07-26 09:48:08 -07:00
Behdad Esfahbod 5690840ceb [map] Another try at fixing archaic clang
Fixes (?) https://github.com/harfbuzz/harfbuzz/issues/4138
2023-07-26 09:54:15 -06:00
Behdad Esfahbod a3b18062b7 [trak] Fix a couple return values 2023-07-25 11:11:07 -06:00
Behdad Esfahbod 62e6f7835c [Cursive] round 2023-07-25 08:32:21 -06:00
Behdad Esfahbod 60db142784 [layout] Remove unused "max-size" cruft 2023-07-24 20:49:32 -06:00
Behdad Esfahbod 8eb7889fd4 Add max-size to static-size objects 2023-07-24 20:31:12 -06:00
Behdad Esfahbod e322949b9b [ArrayOf] Remove fast-path for offset to max-sized objects
Fixes timeout https://oss-fuzz.com/testcase-detail/6153196517851136
2023-07-24 20:29:18 -06:00