Skip to content

[skrifa] Don't enable traversal feature by default - #1666

Merged
dfrg merged 1 commit into
googlefonts:mainfrom
nicoburns:non-default-traversal
Sep 19, 2025
Merged

[skrifa] Don't enable traversal feature by default#1666
dfrg merged 1 commit into
googlefonts:mainfrom
nicoburns:non-default-traversal

Conversation

@nicoburns

@nicoburns nicoburns commented Sep 19, 2025

Copy link
Copy Markdown
Contributor

Improves compile times of read-fonts by around 25% (8s -> 6s on my machine) for cases where the traversal feature is not required.

See #1658 (comment)

Signed-off-by: Nico Burns <nico@nicoburns.com>

@dfrg dfrg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe keeping this enabled by default was an oversight. LGTM

@dfrg
dfrg merged commit 8b6497d into googlefonts:main Sep 19, 2025
9 checks passed
@nicoburns
nicoburns deleted the non-default-traversal branch September 30, 2025 20:20
dfrg added a commit that referenced this pull request Nov 9, 2025
     Changes for font-types from font-types-v0.10.0 to 0.10.1
             654503c Negation overflow in Fixed::div (#1662)
     Changes for read-fonts from read-fonts-v0.35.0 to 0.35.1
             b022894 [read-fonts+skrifa] CFF: clear stem hints for seac components (#1688)
             0bd210e [read-fonts] CFF: ignore unknown operators (#1687)
             8b20dfd [read-fonts] CFF: relax stack checks (#1686)
             0a82dd4 Handle NO_VARIATION_INDEX case when computing deltas, fixes #1720
             2edf2f2 [klippa] subset GSUB/GPOS tables
             a747f45 Fix clippy::obfuscated_if_else lint
             244c4ec Fix mismatched lifetimes syntax warning
             1b5175d [read-fonts] add mapping/iter support to CmapSubtable (#1656)
             caab2c5 [read-fonts] extend support for cmap 6 and 10 (#1655)
             707ebc8 Add CPAL interface in skrifa (#1632)
     Changes for skrifa from skrifa-v0.37.0 to 0.37.1
             b022894 [read-fonts+skrifa] CFF: clear stem hints for seac components (#1688)
             8b6497d [skrifa] Make traversal feature non-default (#1666)
             237e696 Add with overflow in CFF hint scale computation (#1665)
             512ae1c Subtract overflow in autohint State::apply_to_segment (#1664)
             a6e7e45 Add with overflow in ColrInstance::var_deltas (#1663)
             707ebc8 Add CPAL interface in skrifa (#1632)
dfrg added a commit that referenced this pull request Nov 9, 2025
Changes for font-types from font-types-v0.10.0 to 0.10.1
             654503c Negation overflow in Fixed::div (#1662)
     Changes for read-fonts from read-fonts-v0.35.0 to 0.35.1
             b022894 [read-fonts+skrifa] CFF: clear stem hints for seac components (#1688)
             0bd210e [read-fonts] CFF: ignore unknown operators (#1687)
             8b20dfd [read-fonts] CFF: relax stack checks (#1686)
             0a82dd4 Handle NO_VARIATION_INDEX case when computing deltas, fixes #1720
             2edf2f2 [klippa] subset GSUB/GPOS tables
             a747f45 Fix clippy::obfuscated_if_else lint
             244c4ec Fix mismatched lifetimes syntax warning
             1b5175d [read-fonts] add mapping/iter support to CmapSubtable (#1656)
             caab2c5 [read-fonts] extend support for cmap 6 and 10 (#1655)
             707ebc8 Add CPAL interface in skrifa (#1632)
     Changes for skrifa from skrifa-v0.37.0 to 0.37.1
             b022894 [read-fonts+skrifa] CFF: clear stem hints for seac components (#1688)
             8b6497d [skrifa] Make traversal feature non-default (#1666)
             237e696 Add with overflow in CFF hint scale computation (#1665)
             512ae1c Subtract overflow in autohint State::apply_to_segment (#1664)
             a6e7e45 Add with overflow in ColrInstance::var_deltas (#1663)
             707ebc8 Add CPAL interface in skrifa (#1632)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants