Default to Arial for names; give the Arial atlas full glyph coverage

Regenerate arial-atlas.{png,json} from a full Arimo TTF (latin + latin-ext) covering the same 32-383 range as overpass (319 glyphs, no Latin-Extended gaps), and make Arial the default name font (name.classicFont defaults true). Overpass stays for WorldTextPass, the structure-level MSDF option, and as the alternate name font.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Evan Pelle
2026-06-15 16:33:00 +00:00
parent c2e866f2c3
commit fa5692da36
6 changed files with 2325 additions and 450 deletions
File diff suppressed because it is too large Load Diff
Binary file not shown.

Before

Width:  |  Height:  |  Size: 423 KiB

After

Width:  |  Height:  |  Size: 711 KiB

@@ -536,7 +536,7 @@ export class GraphicsSettingsModal extends LitElement implements Controller {
}
private currentClassicNames(): boolean {
return this.userSettings.graphicsOverrides().name?.classicFont ?? false;
return this.userSettings.graphicsOverrides().name?.classicFont ?? true;
}
private onToggleClassicNames() {
+2 -2
View File
@@ -28,8 +28,8 @@ export function applyGraphicsOverrides(
if (overrides.structure?.iconSize !== undefined) {
settings.structure.iconSize = overrides.structure.iconSize;
}
// Classic names: Arial bitmap font for names/troops (default false = MSDF).
settings.name.classicFont = overrides.name?.classicFont ?? false;
// Name font: Arial (Arimo) MSDF atlas by default; false = overpass.
settings.name.classicFont = overrides.name?.classicFont ?? true;
if (overrides.structure?.classicIcons ?? true) {
// Classic look (default): lighter player-colored shape behind a darkened
// player-colored icon glyph (matching the old canvas renderer's
+1 -1
View File
@@ -265,7 +265,7 @@ export interface RenderSettings {
hoverGlowWidth: number;
/** Peak opacity of the hover glow (0 disables it). */
hoverGlowAlpha: number;
/** true = Arial bitmap font for names/troops, false = overpass MSDF. */
/** Names/troops font: true = Arial (Arimo) MSDF, false = overpass MSDF. */
classicFont: boolean;
};
fx: {
+1 -1
View File
@@ -218,7 +218,7 @@
"hoverFadeAlpha": 0.5,
"hoverGlowWidth": 5,
"hoverGlowAlpha": 0.75,
"classicFont": false
"classicFont": true
},
"fx": {
"shockwaveRingWidth": 0.04,