Linux: Fix emojis not showing in the game log (#992)

* Fix emojis not showing in the game log on Linux

* Download the font file using curl

* Changed the emoji font to be a woff; Clarified font info
This commit is contained in:
rs189
2024-11-26 04:36:38 +00:00
committed by GitHub
parent ea5989ad2a
commit f9738e3797
11 changed files with 36 additions and 11 deletions

12
html/package-lock.json generated
View File

@@ -13,6 +13,7 @@
"@fontsource/noto-sans-kr": "^5.0.19",
"@fontsource/noto-sans-sc": "^5.0.20",
"@fontsource/noto-sans-tc": "^5.0.20",
"@infolektuell/noto-color-emoji": "^0.2.0",
"animate.css": "^4.1.1",
"copy-webpack-plugin": "^12.0.2",
"css-loader": "^7.1.2",
@@ -1923,6 +1924,12 @@
"url": "https://github.com/sponsors/nzakas"
}
},
"node_modules/@infolektuell/noto-color-emoji": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/@infolektuell/noto-color-emoji/-/noto-color-emoji-0.2.0.tgz",
"integrity": "sha512-B6kpvqeD0ukTR7sydGKpktvO3VhZkOwQxAdLLGPdSHxQxREa2+sH6B9ODop6quPGjhmsZkJ/hL01rQ8At5xDew==",
"license": "OFL-1.1"
},
"node_modules/@jridgewell/gen-mapping": {
"version": "0.3.5",
"resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz",
@@ -7832,6 +7839,11 @@
"integrity": "sha512-d2CGZR2o7fS6sWB7DG/3a95bGKQyHMACZ5aW8qGkkqQpUoZV6C0X7Pc7l4ZNMZkfNBf4VWNe9E1jRsf0G146Ew==",
"dev": true
},
"@infolektuell/noto-color-emoji": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/@infolektuell/noto-color-emoji/-/noto-color-emoji-0.2.0.tgz",
"integrity": "sha512-B6kpvqeD0ukTR7sydGKpktvO3VhZkOwQxAdLLGPdSHxQxREa2+sH6B9ODop6quPGjhmsZkJ/hL01rQ8At5xDew=="
},
"@jridgewell/gen-mapping": {
"version": "0.3.5",
"resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz",