Skip to content

Latest commit

 

History

History
87 lines (64 loc) · 3.75 KB

File metadata and controls

87 lines (64 loc) · 3.75 KB

Inter Fonts — Nextcloud App

Nextcloud Ask DeepWiki License: AGPL v3+ Inter font

Replaces every Nextcloud interface font with Inter, a screen-optimised variable typeface by Rasmus Andersson.

All font files are bundled inside the app — no Google Fonts, no CDN, no external requests of any kind.


Screenshots

Default Dark blue Red & green
Default theme Dark blue theme Red & green theme

Why this app

Nextcloud ships with the system font stack (-apple-system, Segoe UI, Roboto, …), which means every user sees a slightly different interface depending on their OS and which fonts happen to be installed. Inter is a single, consistent, screen-tuned typeface designed for exactly this kind of UI work — and this app makes it the only font Nextcloud uses, everywhere.

Features

  • Inter v4 variable font — one WOFF2 file covers every weight from 100 to 900 (roman + italic), in ~340 KB each
  • Zero external requests — fonts are bundled and served by an internal route
  • Zero FOUT (Flash of Unstyled Text) — both WOFF2 files are preloaded with <link rel="preload" as="font" crossorigin> so they're in cache before first paint
  • Zero CLS (Cumulative Layout Shift) — a metric-compatible synthetic Arial fallback matches Inter's vertical metrics, so the swap-in is invisible
  • Works on every page — login form, public share pages, password recovery, Impersonate sessions, Guests app, and the entire authenticated UI
  • Sub-directory-safe — all URLs are generated through IURLGenerator::linkToRoute(), so the app works whether Nextcloud is at / or /cloud/
  • Cache-safe across upgrades — font filenames embed the upstream Inter version (e.g. InterVariable-4.1.woff2), so a font upgrade automatically becomes a new URL
  • Tabular numerals on file sizes and timestamps so digits stay vertically aligned
  • Inter contextual alternates and standard ligatures enabled by default

Installation

Install the app trough the WebUI or enable the app on the CLI

sudo -u www-data php /var/www/nextcloud/occ app:enable interfonts

That's it. Nextcloud is now in Inter.

Tagged release tarballs are also available on the Releases page.

Uninstalling

Disable and remove the app trough the WebUI or remove the app on the CLI

sudo -u www-data php /var/www/nextcloud/occ app:remove interfonts

Credits

Licenses

Component License
App source code AGPL-3.0-or-later
Bundled Inter font SIL Open Font License 1.1