fix: disable Inter font contextual alternates to prevent x→× substitution#7375
fix: disable Inter font contextual alternates to prevent x→× substitution#7375rudra496 wants to merge 6 commits intoactualbudget:masterfrom
Conversation
…character substitution Fixes actualbudget#6351 The Inter font calt feature replaces x between digits with a multiplication sign. Disable it while preserving ss01 and ss04.
✅ Deploy Preview for actualbudget ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
👋 Hello contributor! We would love to review your PR! Before we can do that, please make sure:
We do this to reduce the TOIL the core contributor team has to go through for each PR and to allow for speedy reviews and merges. For more information, please see our Contributing Guide. |
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
📝 WalkthroughWalkthroughChanged the CSS Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Suggested labels
Poem
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
🤖 Auto-generated Release Notes Hey @rudra496! I've automatically created a release notes file based on CodeRabbit's analysis: Category: Bugfixes If you're happy with this release note, you can add it to your pull request. If not, you'll need to add your own before a maintainer can review your change. |
01f59b0 to
19f7abc
Compare
23e3d1a to
c229369
Compare
|
@actualbudget/actual The release-notes check failed due to a race condition with autofix.ci — the file format is now correct ( |
It doesn't look quite right in the current commit. I'm seeing it as |
5c7c70d to
d262f7d
Compare
| @@ -0,0 +1,7 @@ | |||
| --- | |||
| title: 'Disable Inter font contextual alternates to prevent unwanted x→× character substitutions' | |||
There was a problem hiding this comment.
The title is not required here, the content is below the frontmatter as you already have.
| title: 'Disable Inter font contextual alternates to prevent unwanted x→× character substitutions' |
Summary
Fixes #6351
The Inter font's contextual alternates (
calt) OpenType feature automatically replaces the letterxwhen it appears between digits with a multiplication sign×. This causes unwanted text transformation in text fields throughout the app, including:Changes
'calt' 0tofont-feature-settingsinindex.htmlto disable contextual alternatesss01andss04OpenType featuresRoot Cause
The
caltfeature is enabled by default in Inter font (see rsms/inter#850). While useful in some contexts, it's undesirable for text input fields where users expect literal character entry.Testing
2x3xremains asxand is not changed to×Bundle Stats
View detailed bundle stats
desktop-client
Total
View detailed bundle breakdown
Added
No assets were added
Removed
No assets were removed
Bigger
No assets were bigger
Smaller
No assets were smaller
Unchanged
loot-core
Total
View detailed bundle breakdown
Added
No assets were added
Removed
No assets were removed
Bigger
No assets were bigger
Smaller
No assets were smaller
Unchanged
api
Total
View detailed bundle breakdown
Added
No assets were added
Removed
No assets were removed
Bigger
No assets were bigger
Smaller
No assets were smaller
Unchanged
cli
Total
View detailed bundle breakdown
Added
No assets were added
Removed
No assets were removed
Bigger
No assets were bigger
Smaller
No assets were smaller
Unchanged