fix: restore word-level proxy for Habbo fonts, pre-cache all 175 fonts for 'Atom'

This commit is contained in:
openhands committed 2026-07-03 17:58:56 +02:00
1 parent ac75f9c80a
commit 8a58bcb252
6481 files changed
+145 -731

No files matched your search

+4 -2
View File
@@ -263,7 +263,9 @@ export const HABBO_FONT_GROUPS: HabboFontGroup[] = [
},
];
export function charUrl(styleName: string, char: string): string {
return `/assets/fonts/chars/${styleName}/${char}.gif`;
export function buildFontUrl(styleName: string, text: string): string {
const t = text.toLowerCase().replace(/\s/g, "+");
return `/api/font/${styleName}/${t}`;
}