[PR #444] [MERGED] Switch to Inter’s variable font version #3141

Closed
opened 2026-02-28 20:37:04 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/444
Author: @j-f1
Created: 1/11/2023
Status: Merged
Merged: 1/13/2023
Merged by: @MatissJanis

Base: masterHead: font


📝 Commits (1)

  • ecd84a2 Switch to Inter’s variable font version

📊 Changes

24 files changed (+14 additions, -182 deletions)

View changed files

📝 packages/desktop-client/package.json (+1 -0)
packages/desktop-client/public/Inter/Inter-Black.woff2 (+0 -0)
packages/desktop-client/public/Inter/Inter-BlackItalic.woff2 (+0 -0)
packages/desktop-client/public/Inter/Inter-Bold.woff2 (+0 -0)
packages/desktop-client/public/Inter/Inter-BoldItalic.woff2 (+0 -0)
packages/desktop-client/public/Inter/Inter-ExtraBold.woff2 (+0 -0)
packages/desktop-client/public/Inter/Inter-ExtraBoldItalic.woff2 (+0 -0)
packages/desktop-client/public/Inter/Inter-ExtraLight.woff2 (+0 -0)
packages/desktop-client/public/Inter/Inter-ExtraLightItalic.woff2 (+0 -0)
packages/desktop-client/public/Inter/Inter-Italic.woff2 (+0 -0)
packages/desktop-client/public/Inter/Inter-Light.woff2 (+0 -0)
packages/desktop-client/public/Inter/Inter-LightItalic.woff2 (+0 -0)
packages/desktop-client/public/Inter/Inter-Medium.woff2 (+0 -0)
packages/desktop-client/public/Inter/Inter-MediumItalic.woff2 (+0 -0)
packages/desktop-client/public/Inter/Inter-Regular.woff2 (+0 -0)
packages/desktop-client/public/Inter/Inter-SemiBold.woff2 (+0 -0)
packages/desktop-client/public/Inter/Inter-SemiBoldItalic.woff2 (+0 -0)
packages/desktop-client/public/Inter/Inter-Thin.woff2 (+0 -0)
packages/desktop-client/public/Inter/Inter-ThinItalic.woff2 (+0 -0)
packages/desktop-client/public/Inter/inter.css (+0 -178)

...and 4 more files

📄 Description

This PR removes the vendored Inter font and instead includes it via npm. Additionally, the variable font version is used instead of separate fonts for every weight. Previously, the total weight of fonts (after scrolling around the UI for a bit) was 639.2 KB. Now, it’s 472.2 KB, loaded up front.

It might be possible to further reduce that to 324.9 KB by switching to the bundled variable font that includes an additional “slant” axis so that only one font file is needed. However, that would require more code changes since font-style: italic would no longer work.


🔄 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/444 **Author:** [@j-f1](https://github.com/j-f1) **Created:** 1/11/2023 **Status:** ✅ Merged **Merged:** 1/13/2023 **Merged by:** [@MatissJanis](https://github.com/MatissJanis) **Base:** `master` ← **Head:** `font` --- ### 📝 Commits (1) - [`ecd84a2`](https://github.com/actualbudget/actual/commit/ecd84a2c94301cb799cce79a08e2cae013c86c7f) Switch to Inter’s variable font version ### 📊 Changes **24 files changed** (+14 additions, -182 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/package.json` (+1 -0) ➖ `packages/desktop-client/public/Inter/Inter-Black.woff2` (+0 -0) ➖ `packages/desktop-client/public/Inter/Inter-BlackItalic.woff2` (+0 -0) ➖ `packages/desktop-client/public/Inter/Inter-Bold.woff2` (+0 -0) ➖ `packages/desktop-client/public/Inter/Inter-BoldItalic.woff2` (+0 -0) ➖ `packages/desktop-client/public/Inter/Inter-ExtraBold.woff2` (+0 -0) ➖ `packages/desktop-client/public/Inter/Inter-ExtraBoldItalic.woff2` (+0 -0) ➖ `packages/desktop-client/public/Inter/Inter-ExtraLight.woff2` (+0 -0) ➖ `packages/desktop-client/public/Inter/Inter-ExtraLightItalic.woff2` (+0 -0) ➖ `packages/desktop-client/public/Inter/Inter-Italic.woff2` (+0 -0) ➖ `packages/desktop-client/public/Inter/Inter-Light.woff2` (+0 -0) ➖ `packages/desktop-client/public/Inter/Inter-LightItalic.woff2` (+0 -0) ➖ `packages/desktop-client/public/Inter/Inter-Medium.woff2` (+0 -0) ➖ `packages/desktop-client/public/Inter/Inter-MediumItalic.woff2` (+0 -0) ➖ `packages/desktop-client/public/Inter/Inter-Regular.woff2` (+0 -0) ➖ `packages/desktop-client/public/Inter/Inter-SemiBold.woff2` (+0 -0) ➖ `packages/desktop-client/public/Inter/Inter-SemiBoldItalic.woff2` (+0 -0) ➖ `packages/desktop-client/public/Inter/Inter-Thin.woff2` (+0 -0) ➖ `packages/desktop-client/public/Inter/Inter-ThinItalic.woff2` (+0 -0) ➖ `packages/desktop-client/public/Inter/inter.css` (+0 -178) _...and 4 more files_ </details> ### 📄 Description This PR removes the vendored Inter font and instead includes it via npm. Additionally, the variable font version is used instead of separate fonts for every weight. Previously, the total weight of fonts (after scrolling around the UI for a bit) was 639.2 KB. Now, it’s 472.2 KB, loaded up front. It might be possible to further reduce that to 324.9 KB by switching to the bundled variable font that includes an additional “slant” axis so that only one font file is needed. However, that would require more code changes since `font-style: italic` would no longer work. --- <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-02-28 20:37:04 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#3141