[PR #7375] fix: disable Inter font contextual alternates to prevent x→× substitution #41549

Open
opened 2026-04-23 14:20:17 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/7375
Author: @rudra496
Created: 4/4/2026
Status: 🔄 Open

Base: masterHead: fix/inter-font-calt-ligature


📝 Commits (7)

  • dbb1049 fix: disable contextual alternates in Inter font to prevent unwanted character substitution
  • f35a194 [autofix.ci] apply automated fixes
  • c229369 Add release notes for PR #7375
  • b7061fb [autofix.ci] apply automated fixes
  • fc70cf9 Fix release notes category casing
  • 263c077 Add authors field to release notes
  • fc5dd7b Merge branch 'master' into fix/inter-font-calt-ligature

📊 Changes

2 files changed (+11 additions, -1 deletions)

View changed files

📝 packages/desktop-client/index.html (+4 -1)
upcoming-release-notes/7375.md (+7 -0)

📄 Description

Summary

Fixes #6351

The Inter font's contextual alternates (calt) OpenType feature automatically replaces the letter x when it appears between digits with a multiplication sign ×. This causes unwanted text transformation in text fields throughout the app, including:

  • Transaction notes
  • Payee names
  • Category names
  • Category notes

Changes

  • Added 'calt' 0 to font-feature-settings in index.html to disable contextual alternates
  • Preserves existing ss01 and ss04 OpenType features

Root Cause

The calt feature 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

  1. Open any transaction and edit the notes field
  2. Type 2x3
  3. Verify the x remains as x and is not changed to ×

Bundle Stats

Bundle Files count Total bundle size % Changed
desktop-client 34 12.93 MB 0%
loot-core 1 4.85 MB 0%
api 1 3.88 MB 0%
cli 1 7.91 MB 0%
crdt 1 41.83 kB 0%
View detailed bundle stats

desktop-client

Total

Files count Total bundle size % Changed
34 12.93 MB 0%
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

Asset File Size % Changed
static/js/index.js 1.85 MB 0%
static/js/BackgroundImage.js 121.09 kB 0%
static/js/FormulaEditor.js 814.39 kB 0%
static/js/PayeeRuleCountLabel.js 52.13 kB 0%
static/js/ReportRouter.js 1.18 MB 0%
static/js/ScheduleEditForm.js 136.13 kB 0%
static/js/TransactionEdit.js 185.13 kB 0%
static/js/TransactionList.js 82.8 kB 0%
static/js/Value.js 4.34 MB 0%
static/js/ca.js 191.72 kB 0%
static/js/chart-theme.js 709.55 kB 0%
static/js/client.js 450.92 kB 0%
static/js/da.js 104.4 kB 0%
static/js/de.js 174.12 kB 0%
static/js/en-GB.js 8.2 kB 0%
static/js/en.js 176.5 kB 0%
static/js/es.js 181.54 kB 0%
static/js/extends.js 484.53 kB 0%
static/js/fr.js 176.79 kB 0%
static/js/indexeddb-main-thread-worker-e59fee74.js 13.46 kB 0%
static/js/it.js 165.68 kB 0%
static/js/narrow.js 363.68 kB 0%
static/js/nb-NO.js 151.58 kB 0%
static/js/nl.js 108.66 kB 0%
static/js/pl.js 88.34 kB 0%
static/js/pt-BR.js 193.49 kB 0%
static/js/resize-observer.js 18.06 kB 0%
static/js/th.js 178.91 kB 0%
static/js/theme.js 30.79 kB 0%
static/js/uk.js 212.28 kB 0%
static/js/useFormatList.js 7.62 kB 0%
static/js/wide.js 292 B 0%
static/js/workbox-window.prod.es5.js 7.33 kB 0%
static/js/zh-Hans.js 110.19 kB 0%

loot-core

Total

Files count Total bundle size % Changed
1 4.85 MB 0%
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

Asset File Size % Changed
kcab.worker.CfHq3vDC.js 4.85 MB 0%

api

Total

Files count Total bundle size % Changed
1 3.88 MB 0%
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

Asset File Size % Changed
index.js 3.88 MB 0%

cli

Total

Files count Total bundle size % Changed
1 7.91 MB 0%
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

Asset File Size % Changed
cli.js 7.91 MB 0%

crdt

Total

Files count Total bundle size % Changed
1 41.83 kB 0%
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

Asset File Size % Changed
index.js 41.83 kB 0%

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/7375 **Author:** [@rudra496](https://github.com/rudra496) **Created:** 4/4/2026 **Status:** 🔄 Open **Base:** `master` ← **Head:** `fix/inter-font-calt-ligature` --- ### 📝 Commits (7) - [`dbb1049`](https://github.com/actualbudget/actual/commit/dbb1049598a9874ccebe0d395ecf64f05bcc4a90) fix: disable contextual alternates in Inter font to prevent unwanted character substitution - [`f35a194`](https://github.com/actualbudget/actual/commit/f35a19444b6d9980adaadeabc022ad71b2bc7d95) [autofix.ci] apply automated fixes - [`c229369`](https://github.com/actualbudget/actual/commit/c2293696d94b0e6e55ce40e92ff113da3d662a6e) Add release notes for PR #7375 - [`b7061fb`](https://github.com/actualbudget/actual/commit/b7061fb39e29a1d6a94fef490928d5dd0f083b71) [autofix.ci] apply automated fixes - [`fc70cf9`](https://github.com/actualbudget/actual/commit/fc70cf97c894af0dcdebbbc251a32d65704e25a9) Fix release notes category casing - [`263c077`](https://github.com/actualbudget/actual/commit/263c07738e10c20ec60698cbe30d8c2a7218c849) Add authors field to release notes - [`fc5dd7b`](https://github.com/actualbudget/actual/commit/fc5dd7b9849fbdff31022b15334f4c3cafe7a94c) Merge branch 'master' into fix/inter-font-calt-ligature ### 📊 Changes **2 files changed** (+11 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/index.html` (+4 -1) ➕ `upcoming-release-notes/7375.md` (+7 -0) </details> ### 📄 Description ## Summary Fixes #6351 The Inter font's contextual alternates (`calt`) OpenType feature automatically replaces the letter `x` when it appears between digits with a multiplication sign `×`. This causes unwanted text transformation in text fields throughout the app, including: - Transaction notes - Payee names - Category names - Category notes ## Changes - Added `'calt' 0` to `font-feature-settings` in `index.html` to disable contextual alternates - Preserves existing `ss01` and `ss04` OpenType features ## Root Cause The `calt` feature is enabled by default in Inter font (see [rsms/inter#850](https://github.com/rsms/inter/issues/850)). While useful in some contexts, it's undesirable for text input fields where users expect literal character entry. ## Testing 1. Open any transaction and edit the notes field 2. Type `2x3` 3. Verify the `x` remains as `x` and is not changed to `×` <!--- actual-bot-sections ---> <hr /> <!--- bundlestats-action-comment key:combined start ---> ### Bundle Stats Bundle | Files count | Total bundle size | % Changed ------ | ----------- | ----------------- | --------- desktop-client | 34 | 12.93 MB | 0% loot-core | 1 | 4.85 MB | 0% api | 1 | 3.88 MB | 0% cli | 1 | 7.91 MB | 0% crdt | 1 | 41.83 kB | 0% <details> <summary>View detailed bundle stats</summary> #### desktop-client **Total** Files count | Total bundle size | % Changed ----------- | ----------------- | --------- 34 | 12.93 MB | 0% <details> <summary>View detailed bundle breakdown</summary> <div> **Added** No assets were added **Removed** No assets were removed **Bigger** No assets were bigger **Smaller** No assets were smaller **Unchanged** Asset | File Size | % Changed ----- | --------- | --------- static/js/index.js | 1.85 MB | 0% static/js/BackgroundImage.js | 121.09 kB | 0% static/js/FormulaEditor.js | 814.39 kB | 0% static/js/PayeeRuleCountLabel.js | 52.13 kB | 0% static/js/ReportRouter.js | 1.18 MB | 0% static/js/ScheduleEditForm.js | 136.13 kB | 0% static/js/TransactionEdit.js | 185.13 kB | 0% static/js/TransactionList.js | 82.8 kB | 0% static/js/Value.js | 4.34 MB | 0% static/js/ca.js | 191.72 kB | 0% static/js/chart-theme.js | 709.55 kB | 0% static/js/client.js | 450.92 kB | 0% static/js/da.js | 104.4 kB | 0% static/js/de.js | 174.12 kB | 0% static/js/en-GB.js | 8.2 kB | 0% static/js/en.js | 176.5 kB | 0% static/js/es.js | 181.54 kB | 0% static/js/extends.js | 484.53 kB | 0% static/js/fr.js | 176.79 kB | 0% static/js/indexeddb-main-thread-worker-e59fee74.js | 13.46 kB | 0% static/js/it.js | 165.68 kB | 0% static/js/narrow.js | 363.68 kB | 0% static/js/nb-NO.js | 151.58 kB | 0% static/js/nl.js | 108.66 kB | 0% static/js/pl.js | 88.34 kB | 0% static/js/pt-BR.js | 193.49 kB | 0% static/js/resize-observer.js | 18.06 kB | 0% static/js/th.js | 178.91 kB | 0% static/js/theme.js | 30.79 kB | 0% static/js/uk.js | 212.28 kB | 0% static/js/useFormatList.js | 7.62 kB | 0% static/js/wide.js | 292 B | 0% static/js/workbox-window.prod.es5.js | 7.33 kB | 0% static/js/zh-Hans.js | 110.19 kB | 0% </div> </details> --- #### loot-core **Total** Files count | Total bundle size | % Changed ----------- | ----------------- | --------- 1 | 4.85 MB | 0% <details> <summary>View detailed bundle breakdown</summary> <div> **Added** No assets were added **Removed** No assets were removed **Bigger** No assets were bigger **Smaller** No assets were smaller **Unchanged** Asset | File Size | % Changed ----- | --------- | --------- kcab.worker.CfHq3vDC.js | 4.85 MB | 0% </div> </details> --- #### api **Total** Files count | Total bundle size | % Changed ----------- | ----------------- | --------- 1 | 3.88 MB | 0% <details> <summary>View detailed bundle breakdown</summary> <div> **Added** No assets were added **Removed** No assets were removed **Bigger** No assets were bigger **Smaller** No assets were smaller **Unchanged** Asset | File Size | % Changed ----- | --------- | --------- index.js | 3.88 MB | 0% </div> </details> --- #### cli **Total** Files count | Total bundle size | % Changed ----------- | ----------------- | --------- 1 | 7.91 MB | 0% <details> <summary>View detailed bundle breakdown</summary> <div> **Added** No assets were added **Removed** No assets were removed **Bigger** No assets were bigger **Smaller** No assets were smaller **Unchanged** Asset | File Size | % Changed ----- | --------- | --------- cli.js | 7.91 MB | 0% </div> </details> --- #### crdt **Total** Files count | Total bundle size | % Changed ----------- | ----------------- | --------- 1 | 41.83 kB | 0% <details> <summary>View detailed bundle breakdown</summary> <div> **Added** No assets were added **Removed** No assets were removed **Bigger** No assets were bigger **Smaller** No assets were smaller **Unchanged** Asset | File Size | % Changed ----- | --------- | --------- index.js | 41.83 kB | 0% </div> </details> </details> <!--- bundlestats-action-comment key:combined end ---> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-23 14:20:17 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#41549