feat: 100% self-hosted Habbo fonts - 6300 char GIFs + local canvas compositor, no habbofont.net dependency
This commit is contained in:
1 parent
00b1d0a267
commit
ac75f9c80a
6480 files changed
+259
-222
No files matched your search
@@ -263,7 +263,7 @@ export const HABBO_FONT_GROUPS: HabboFontGroup[] = [
|
||||
},
|
||||
];
|
||||
|
||||
export function buildFontUrl(styleName: string, text: string): string {
|
||||
const t = text.toLowerCase().replace(/\s/g, "+");
|
||||
return `/api/font/${styleName}/${t}`;
|
||||
export function charUrl(styleName: string, char: string): string {
|
||||
return `/assets/fonts/chars/${styleName}/${char}.gif`;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user