remove redundant font loading

see fd70d89061/README.md (custom)
This commit is contained in:
Lukas Hass 2022-02-01 01:29:38 +01:00
parent 4ad91f41a3
commit f87704b2ef
No known key found for this signature in database
GPG Key ID: 7C8CEF72C4039178
2 changed files with 0 additions and 6 deletions

View File

@ -1,5 +0,0 @@
/*This file is a workaround to allow phaser to load directly this font */
@font-face {
font-family: "Press Start 2P";
src: url("/fonts/press-start-2p-latin-400-normal.woff2") format('woff2');
}

View File

@ -336,7 +336,6 @@ export class GameScene extends DirtyScene {
(this.load as any).rexWebFont({
custom: {
families: ["Press Start 2P"],
urls: ["/resources/fonts/fonts.css"],
testString: "abcdefg",
},
});