Skip to content

CP requests a missing font: intervariable-italic.woff2 404s (file is named intervariable-Italic.woff2) #15627

Closed

Description

@jure-knezovic

Bug description

Every control panel page requests /vendor/statamic/cp/build/fonts/inter/intervariable-italic.woff2?v=4.1, which answers 404.

resources/css/core/fonts.css references the italic face in lowercase:

src: url("../../fonts/inter/intervariable-italic.woff2?v=4.1") format("woff2");

but the file is resources/fonts/inter/intervariable-Italic.woff2, with a capital I. The upright face (intervariable.woff2) matches and is bundled (build/assets/intervariable-DiVDrmQJ.woff2). The italic one is not: the built CSS keeps the unresolved relative URL ../fonts/inter/intervariable-italic.woff2, and no build/fonts/ folder is shipped. The CP's italic text falls back to a synthesised slant.

The release build shows it: Vite can't find the file on the case-sensitive Ubuntu runner and leaves the URL unresolved. From the v6.35.1 release run (job log, "Build release assets"), once for dist and once for dist-dev:

../fonts/inter/intervariable-italic.woff2?v=4.1 referenced in ../fonts/inter/intervariable-italic.woff2?v=4.1 didn't resolve at build time, it will remain unchanged to be resolved at runtime

The v6.30.0 release run has the same warnings, so this has been broken since at least 6.30.

Fix: rename the font to lowercase, or point the CSS at intervariable-Italic.woff2. Happy to send a PR.

How to reproduce

  1. Install Statamic 6.35.1 and open any CP page.
  2. DevTools → Network: intervariable-italic.woff2?v=4.1 answers 404.
  3. resources/dist/build/assets/app-*.css contains url(../fonts/inter/intervariable-italic.woff2?v=4.1).

Logs

GET https://example.test/vendor/statamic/cp/build/fonts/inter/intervariable-italic.woff2?v=4.1 net::ERR_ABORTED 404 (Not Found)

Environment

Statamic 6.35.1 PRO
Laravel 13.35.0
PHP 8.5.10

Installation

Existing Laravel app

Activity

  1. self-assigned this
    on Oct 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions