From c93f700a76ab6f27526002cf0d1ceca1134c32cc Mon Sep 17 00:00:00 2001 From: Joe Blau Date: Wed, 7 Oct 2026 14:08:20 +0800 Subject: [PATCH] chore(docs): pin @bloxwap/font 0.1.2 (no italic preload) 0.1.1's next/font exports preloaded the italic faces, so every cold docs load downloaded ~600 KB of italic woff2 nothing rendered. 0.1.2 preloads only the normal faces; italics stay in the family and load on demand. The font binaries are byte-identical, so the derived OG faces are unchanged. This matches the monorepo pin (bloxwap/monorepo#4386) for the Bloxwap font migration, bloxwap/monorepo#4367. Co-Authored-By: Claude Opus 5.5 --- apps/docs/README.md | 2 +- apps/docs/fonts/README.md | 4 ++-- apps/docs/package.json | 2 +- package-lock.json | 10 +++++----- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/apps/docs/README.md b/apps/docs/README.md index 6c98b1b..9290edf 100644 --- a/apps/docs/README.md +++ b/apps/docs/README.md @@ -87,7 +87,7 @@ The chart package has not been published to npm yet. The quick-start guide documents building and installing its local tarball; update that note and the homepage's release badge after the first public release. -The exact `@bloxwap/font@0.1.1` dependency supplies self-hosted Sans/Mono Next.js +The exact `@bloxwap/font@0.1.2` dependency supplies self-hosted Sans/Mono Next.js loaders. The embedded playground copies a stylesheet trimmed to the Latin Sans and Mono faces, replaces the playground's Geist faces with them, points the SDK chrome's `--cts-font`/`--cts-mono` at Bloxwap Sans/Mono, and sets the canvas diff --git a/apps/docs/fonts/README.md b/apps/docs/fonts/README.md index 3ecb882..73bbd33 100644 --- a/apps/docs/fonts/README.md +++ b/apps/docs/fonts/README.md @@ -1,12 +1,12 @@ # Documentation fonts Web body text uses Bloxwap Sans and code uses Bloxwap Mono from the exact -`@bloxwap/font@0.1.1` dependency. The Next.js exports self-host variable weights +`@bloxwap/font@0.1.2` dependency. The Next.js exports self-host variable weights 100–900, italics, and script companions without requests to Google Fonts. Space Grotesk Bold remains the heading face, with its adjacent OFL notice. `BloxwapSans-Bold.ttf` (700) and `BloxwapSans-Black.ttf` (900) are static instances of `fonts/BloxwapSans/BloxwapSans-Variable.woff2` from the published -`@bloxwap/font@0.1.1` npm tarball. FontTools 4.66.1 `instantiateVariableFont` +`@bloxwap/font@0.1.2` npm tarball (byte-identical to 0.1.1, so the derived files are unchanged). FontTools 4.66.1 `instantiateVariableFont` sets `wght` to 700/900 and removes WOFF2 compression (`font.flavor = None`) for the Open Graph renderer. Keep `Bloxwap-OFL.txt` with these derived faces. diff --git a/apps/docs/package.json b/apps/docs/package.json index 646d11c..594db6f 100644 --- a/apps/docs/package.json +++ b/apps/docs/package.json @@ -15,7 +15,7 @@ }, "dependencies": { "@bloxwap/chart": "0.3.0", - "@bloxwap/font": "0.1.1", + "@bloxwap/font": "0.1.2", "fumadocs-core": "16.15.14", "fumadocs-mdx": "15.4.5", "fumadocs-ui": "16.15.14", diff --git a/package-lock.json b/package-lock.json index acbe5ec..ef93433 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,7 +19,7 @@ "hasInstallScript": true, "dependencies": { "@bloxwap/chart": "0.3.0", - "@bloxwap/font": "0.1.1", + "@bloxwap/font": "0.1.2", "fumadocs-core": "16.15.14", "fumadocs-mdx": "15.4.5", "fumadocs-ui": "16.15.14", @@ -77,12 +77,12 @@ "link": true }, "node_modules/@bloxwap/font": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/@bloxwap/font/-/font-0.1.1.tgz", - "integrity": "sha512-T3ma3itwbdi9aDgtCOY1ktDr3XW7V/oBwf/ihop5UfXcL8/nmI9teqO3bPe5hb7zQZv2MV1wrZM2waCEGDvbaw==", + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/@bloxwap/font/-/font-0.1.2.tgz", + "integrity": "sha512-3aWepyHUKhbRtpIZxYYN4ixY703YsKXcfgsRQR1BjiH8hkvahm/xfCkzFhb8fKoN6g1y6vTSb9FA5HCxJ9O0uQ==", "license": "OFL-1.1", "peerDependencies": { - "next": ">=13.2.0" + "next": ">=15.0.0" }, "peerDependenciesMeta": { "next": {