From aa6d9e1bc1b0769698155acdd0cf381b047ac220 Mon Sep 17 00:00:00 2001 From: Evan Pelle Date: Sun, 14 Jun 2026 01:11:43 +0000 Subject: [PATCH] Render the classic name font as thin Arial instead of bold Co-Authored-By: Claude Opus 4.8 --- src/client/render/gl/passes/name-pass/ArialAtlas.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/client/render/gl/passes/name-pass/ArialAtlas.ts b/src/client/render/gl/passes/name-pass/ArialAtlas.ts index ae7904803..8a2d1c7d4 100644 --- a/src/client/render/gl/passes/name-pass/ArialAtlas.ts +++ b/src/client/render/gl/passes/name-pass/ArialAtlas.ts @@ -19,8 +19,9 @@ import type { BMChar, ParsedAtlas } from "./Types"; // Match the MSDF atlas em/base so all downstream sizing stays identical. const EM = 48; const BASE = 36; -// Bold to match the weight of the overpass-bold name style. -const FONT = `bold ${EM}px Arial, "Liberation Sans", sans-serif`; +// Thin Arial. Arial ships no dedicated thin face, so browsers without one fall +// back to regular weight (still much lighter than the MSDF bold). +const FONT = `100 ${EM}px Arial, "Liberation Sans", sans-serif`; const ATLAS_W = 1024; const PAD = 2; // transparent gutter between packed glyphs