Skip to content

Add Auto strategy to text::Shaping#3048

Merged
hecrj merged 4 commits intomasterfrom
auto-shaping-strategy
Aug 30, 2025
Merged

Add Auto strategy to text::Shaping#3048
hecrj merged 4 commits intomasterfrom
auto-shaping-strategy

Conversation

@hecrj
Copy link
Member

@hecrj hecrj commented Aug 30, 2025

This PR adds a new Auto variant to text::Shaping that will choose Basic when the text is all in the ASCII range, or Advanced otherwise.

Additionally, the old behavior (default Basic shaping) can be toggled with the new basic-shaping feature flag. And there is also a new advanced-shaping equivalent.

@hecrj hecrj added this to the 0.14 milestone Aug 30, 2025
@hecrj hecrj added feature New feature or request text addition labels Aug 30, 2025
@hecrj hecrj force-pushed the auto-shaping-strategy branch from 5c569f8 to bc7d649 Compare August 30, 2025 16:27
@hecrj hecrj force-pushed the auto-shaping-strategy branch from 0f0a8b9 to e324b18 Compare August 30, 2025 16:55
@hecrj hecrj enabled auto-merge August 30, 2025 17:01
@hecrj hecrj merged commit 9a59b8a into master Aug 30, 2025
30 checks passed
@hecrj hecrj deleted the auto-shaping-strategy branch August 30, 2025 17:03
@hecrj hecrj added the layout label Aug 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments