Skip to content

Commit b6b6579

Browse files
authored
change font to mojangles (#11)
* change font to mojangles minecraftia is a fan-recreation, mojangles is the official font * change Mojangles to mojangles
1 parent bccac8b commit b6b6579

File tree

6 files changed

+13
-3
lines changed

6 files changed

+13
-3
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
node_modules/
22
package-lock.json
33
.vscode
4-
public
4+
public
5+
.DS_Store

assets/Mojangles.ttf

70.2 KB
Binary file not shown.

assets/mojangles.ttf

70.2 KB
Binary file not shown.

index.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
font-family: minecraft;
88
src: url(minecraftia.woff);
99
}
10+
@font-face {
11+
font-family: mojangles;
12+
src: url(mojangles.ttf);
13+
}
1014
html {
1115
overflow: hidden;
1216
}
@@ -52,7 +56,7 @@
5256
margin: 0px;
5357
line-height: 100%;
5458
text-shadow: 4px 4px 0px #3f3f3f;
55-
font-family: minecraft, monospace;
59+
font-family: mojangles, minecraft, monospace;
5660
width: 100%;
5761
max-height: calc(90px * 8)
5862
}

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
"client"
2323
],
2424
"author": "Romain Beaumont",
25+
"contributors" : [
26+
{"name":"AwesomestCode"},
27+
{"name":"circuit10"}
28+
],
2529
"license": "MIT",
2630
"bin": {
2731
"prismarine-web-client": "./server.js"

webpack.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ const config = {
6262
{ from: path.join(__dirname, '/node_modules/prismarine-viewer/public/textures/'), to: './textures/' },
6363
{ from: path.join(__dirname, '/node_modules/prismarine-viewer/public/worker.js'), to: './' },
6464
{ from: path.join(__dirname, '/node_modules/prismarine-viewer/public/supportedVersions.json'), to: './' },
65-
{ from: path.join(__dirname, 'assets/minecraftia.woff'), to: './' }
65+
{ from: path.join(__dirname, 'assets/minecraftia.woff'), to: './' },
66+
{ from: path.join(__dirname, 'assets/mojangles.ttf'), to: './' }
6667
]
6768
}),
6869
new webpack.optimize.ModuleConcatenationPlugin(),

0 commit comments

Comments
 (0)