Skip to content

Conversation

@carlosgcampos carlosgcampos self-assigned this Sep 16, 2025
@carlosgcampos carlosgcampos added the Platform Portability improvements and other general platform improvements not driven directly by site bugs. label Sep 16, 2025
@carlosgcampos carlosgcampos marked this pull request as draft September 16, 2025 12:38
@webkit-ews-buildbot webkit-ews-buildbot added the merging-blocked Applied to prevent a change from being merged label Sep 16, 2025
Vector<hb_feature_t> featuresWithKerning;
if (!enableKerning) {
featuresWithKerning.reserveInitialCapacity(featuresSize + 1);
static hb_feature_t kernFeature { HB_TAG('k', 'e', 'r', 'n'), 0, 0, static_cast<unsigned>(-1) };
Copy link
Contributor

Choose a reason for hiding this comment

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

This could be const, or even constexpr:

Suggested change
static hb_feature_t kernFeature { HB_TAG('k', 'e', 'r', 'n'), 0, 0, static_cast<unsigned>(-1) };
static constexpr hb_feature_t kernFeature { HB_TAG('k', 'e', 'r', 'n'), 0, 0, static_cast<unsigned>(-1) };

@carlosgcampos carlosgcampos removed the merging-blocked Applied to prevent a change from being merged label Sep 17, 2025
https://bugs.webkit.org/show_bug.cgi?id=297088

Reviewed by NOBODY (OOPS!).

Revert 299354@main and implement Font::applyTransforms instead, trying
to skip the harfbuzz shapping when possible.
@webkit-ews-buildbot webkit-ews-buildbot added the merging-blocked Applied to prevent a change from being merged label Sep 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merging-blocked Applied to prevent a change from being merged Platform Portability improvements and other general platform improvements not driven directly by site bugs.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants