From 720b782480f0a0c7444ca6019c223a5928fb34d4 Mon Sep 17 00:00:00 2001 From: Hailey Date: Thu, 2 Jan 2025 16:10:34 -0800 Subject: [PATCH] bump version (#7337) add ss02 to fonts this isn't working on web and i don't know why add ss02 to templates/fallback styles --- bskyweb/templates/base.html | 1 + package.json | 2 +- src/alf/fonts.ts | 4 +++- web/index.html | 1 + 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/bskyweb/templates/base.html b/bskyweb/templates/base.html index 43ab379d57..997579717b 100644 --- a/bskyweb/templates/base.html +++ b/bskyweb/templates/base.html @@ -50,6 +50,7 @@ margin: 0px; padding: 0px; font-family: InterVariable, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Liberation Sans', Helvetica, Arial, sans-serif; + font-feature-settings: 'cv05' on, 'calt' off; text-rendering: optimizeLegibility; /* Platform-specific reset */ -webkit-overflow-scrolling: touch; diff --git a/package.json b/package.json index 89f4b81e9a..4901b35604 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bsky.app", - "version": "1.96.3", + "version": "1.96.4", "private": true, "engines": { "node": ">=20" diff --git a/src/alf/fonts.ts b/src/alf/fonts.ts index 7869167212..536ec7727d 100644 --- a/src/alf/fonts.ts +++ b/src/alf/fonts.ts @@ -80,7 +80,9 @@ export function applyFonts(style: TextStyle, fontFamily: 'system' | 'theme') { * Disable contextual alternates in Inter * {@link https://developer.mozilla.org/en-US/docs/Web/CSS/font-variant} */ - style.fontVariant = (style.fontVariant || []).concat('no-contextual') + style.fontVariant = (style.fontVariant || []) + .concat('no-contextual') + .concat('character-variant-5') } else { // fallback families only supported on web if (isWeb) { diff --git a/web/index.html b/web/index.html index 8bde07d2b3..fdd7aa95d7 100644 --- a/web/index.html +++ b/web/index.html @@ -55,6 +55,7 @@ margin: 0px; padding: 0px; font-family: InterVariable, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Liberation Sans', Helvetica, Arial, sans-serif; + font-feature-settings: 'cv05' on, 'calt' off; text-rendering: optimizeLegibility; /* Platform-specific reset */ -webkit-overflow-scrolling: touch;