Up-in-the-Air – commitdiff

You can use Git to clone the repository via the web URL. Download snapshot (zip)
Replace pixel art font
authorJulian Fietkau <git@fietkau.software>
Wed, 25 Sep 2024 18:35:54 +0000 (20:35 +0200)
committerJulian Fietkau <git@fietkau.software>
Wed, 25 Sep 2024 18:35:54 +0000 (20:35 +0200)
fonts/jersey10.txt [deleted file]
fonts/jersey10.woff2 [deleted file]
fonts/nihonium113.woff2 [new file with mode: 0644]
index.html

diff --git a/fonts/jersey10.txt b/fonts/jersey10.txt
deleted file mode 100644 (file)
index befc2e5..0000000
+++ /dev/null
@@ -1,93 +0,0 @@
-Copyright 2023 The Soft Type Project Authors (https://github.com/scfried/soft-type-jersey)\r
-\r
-This Font Software is licensed under the SIL Open Font License, Version 1.1.\r
-This license is copied below, and is also available with a FAQ at:\r
-https://openfontlicense.org\r
-\r
-\r
------------------------------------------------------------\r
-SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007\r
------------------------------------------------------------\r
-\r
-PREAMBLE\r
-The goals of the Open Font License (OFL) are to stimulate worldwide\r
-development of collaborative font projects, to support the font creation\r
-efforts of academic and linguistic communities, and to provide a free and\r
-open framework in which fonts may be shared and improved in partnership\r
-with others.\r
-\r
-The OFL allows the licensed fonts to be used, studied, modified and\r
-redistributed freely as long as they are not sold by themselves. The\r
-fonts, including any derivative works, can be bundled, embedded, \r
-redistributed and/or sold with any software provided that any reserved\r
-names are not used by derivative works. The fonts and derivatives,\r
-however, cannot be released under any other type of license. The\r
-requirement for fonts to remain under this license does not apply\r
-to any document created using the fonts or their derivatives.\r
-\r
-DEFINITIONS\r
-"Font Software" refers to the set of files released by the Copyright\r
-Holder(s) under this license and clearly marked as such. This may\r
-include source files, build scripts and documentation.\r
-\r
-"Reserved Font Name" refers to any names specified as such after the\r
-copyright statement(s).\r
-\r
-"Original Version" refers to the collection of Font Software components as\r
-distributed by the Copyright Holder(s).\r
-\r
-"Modified Version" refers to any derivative made by adding to, deleting,\r
-or substituting -- in part or in whole -- any of the components of the\r
-Original Version, by changing formats or by porting the Font Software to a\r
-new environment.\r
-\r
-"Author" refers to any designer, engineer, programmer, technical\r
-writer or other person who contributed to the Font Software.\r
-\r
-PERMISSION & CONDITIONS\r
-Permission is hereby granted, free of charge, to any person obtaining\r
-a copy of the Font Software, to use, study, copy, merge, embed, modify,\r
-redistribute, and sell modified and unmodified copies of the Font\r
-Software, subject to the following conditions:\r
-\r
-1) Neither the Font Software nor any of its individual components,\r
-in Original or Modified Versions, may be sold by itself.\r
-\r
-2) Original or Modified Versions of the Font Software may be bundled,\r
-redistributed and/or sold with any software, provided that each copy\r
-contains the above copyright notice and this license. These can be\r
-included either as stand-alone text files, human-readable headers or\r
-in the appropriate machine-readable metadata fields within text or\r
-binary files as long as those fields can be easily viewed by the user.\r
-\r
-3) No Modified Version of the Font Software may use the Reserved Font\r
-Name(s) unless explicit written permission is granted by the corresponding\r
-Copyright Holder. This restriction only applies to the primary font name as\r
-presented to the users.\r
-\r
-4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font\r
-Software shall not be used to promote, endorse or advertise any\r
-Modified Version, except to acknowledge the contribution(s) of the\r
-Copyright Holder(s) and the Author(s) or with their explicit written\r
-permission.\r
-\r
-5) The Font Software, modified or unmodified, in part or in whole,\r
-must be distributed entirely under this license, and must not be\r
-distributed under any other license. The requirement for fonts to\r
-remain under this license does not apply to any document created\r
-using the Font Software.\r
-\r
-TERMINATION\r
-This license becomes null and void if any of the above conditions are\r
-not met.\r
-\r
-DISCLAIMER\r
-THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,\r
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF\r
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT\r
-OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE\r
-COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\r
-INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL\r
-DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\r
-FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM\r
-OTHER DEALINGS IN THE FONT SOFTWARE.\r
diff --git a/fonts/jersey10.woff2 b/fonts/jersey10.woff2
deleted file mode 100644 (file)
index d28ad63..0000000
Binary files a/fonts/jersey10.woff2 and /dev/null differ
diff --git a/fonts/nihonium113.woff2 b/fonts/nihonium113.woff2
new file mode 100644 (file)
index 0000000..5d35b31
Binary files /dev/null and b/fonts/nihonium113.woff2 differ
index 04653e158f898dc16ef80d1fceefb7bb64ff0d81..38c73707c00361737d765268d97edd465469184a 100644 (file)
@@ -8,11 +8,13 @@
   @font-face {
     font-family: 'Cookie';
     src: url('fonts/cookie.woff2') format('woff2');
+    font-weight: normal;
     font-display: block;
   }
   @font-face {
-    font-family: 'Jersey 10';
-    src: url('fonts/jersey10.woff2') format('woff2');
+    font-family: 'Nihonium113';
+    src: url('fonts/nihonium113.woff2') format('woff2');
+    font-weight: normal;
     font-display: block;
   }
   @font-face {
@@ -54,6 +56,7 @@
     position: relative;
     width: min(calc(100vh - 4rem), calc(100vw));
     height: min(calc(100vh - 4rem), calc(100vw));
+    font-size-adjust: 0.4;
   }
   .game-upintheair.font-atkinson * {
     font-family: 'Atkinson Hyperlegible' !important;
@@ -91,6 +94,7 @@
     padding: 0;
     font-family: Cookie;
     font-size: 3em;
+    font-size-adjust: 0.12;
     text-shadow: -.05em -.05em 0 #fff, .05em -.05em 0 #fff, .05em .05em 0 #fff, -.05em .05em 0 #fff, 0 -.07em 0 #fff, .07em 0 0 #fff, 0 .07em 0 #fff, -.07em 0 0 #fff;
   }
   .ui-page .area {
     border-radius: 1em;
     padding: .7em 1.2em;
     color: #fff;
-    font-family: 'Jersey 10';
+    font-family: 'Nihonium113';
     font-size: 1.2em;
   }
   .ui-page .area h3 {
     display: flex;
     flex-direction: column;
     align-items: end;
-    font-family: 'Jersey 10';
+    font-family: 'Nihonium113';
     font-size: 1.4em;
     text-shadow: -.07em -.07em 0 #fff, .07em -.07em 0 #fff, .07em .07em 0 #fff, -.07em .07em 0 #fff, 0 -.1em 0 #fff, .1em 0 0 #fff, 0 .1em 0 #fff, -.1em 0 0 #fff;
   }
     font-size: 1.6em;
     background: #000b;
     color: #fff;
-    font-family: 'Jersey 10';
+    font-family: 'Nihonium113';
     border: none;
     border-radius: 1em 1em 0 0;
     cursor: pointer;
     padding: .3em;
     width: max-content;
     font-size: 1em;
-    font-family: 'Jersey 10';
+    font-family: 'Nihonium113';
   }
   .ui-page.options .controls p:last-child {
     margin-top: 1em;
     margin-left: 1.6em;
   }
   .ui-page.options label.standardfont {
-    font-family: 'Jersey 10' !important;
+    font-family: 'Nihonium113' !important;
     font-size-adjust: 0.45;
   }
   .ui-page.options label.atkinson {
     grid-template-columns: auto auto;
     color: #fff;
     font-size: 1.2em;
-    font-family: 'Jersey 10';
+    font-family: 'Nihonium113';
   }
   .ui-page .audio label, .ui-page .audio span {
     display: flex;
     text-align: right;
   }
   .ui-page.options select {
-    font-family: 'Jersey 10';
+    font-family: 'Nihonium113';
     font-size: 1em;
   }
   .ui-page.outro {
 <p><label><input type="radio" name="upInTheAirGame-controls" value="keyboard"> Keyboard</label></p>
 <p><label><input type="radio" name="upInTheAirGame-controls" value="gamepad"> Gamepad</label></p>
 <p>
-<span class="mouse">The game is controlled by moving the mouse cursor around directly in the play area.</span>
+<span class="mouse">The game is controlled by moving the mouse cursor around inside the play area.</span>
 <span class="touchpad">The game is controlled through touch movements on an on-screen touchpad. Movements correspond directly to the play area.</span>
 <span class="thumbstick">The game is controlled through touch movements on an on-screen thumbstick. Directional movements steer the cursor.</span>
 <span class="keyboard">The game is controlled through arrow or WASD key presses. Key rebinding and additional accessibility options are available.</span>
-<span class="gamepad">The game is controlled with the thumbstick or d-pad of an attached gamepad accessory.</span>
+<span class="gamepad">The game is controlled using the thumbstick or d-pad of an attached gamepad accessory.</span>
 </p>
 </div>
 <div class="graphics">
 <p>All via <a href="https://freesound.org/" target="_blank">Freesound.org</a></p>
 <h4>Fonts</h4>
 <p>“<a href="https://fonts.google.com/specimen/Cookie" target="_blank">Cookie</a>” by Ania Kruk</p>
-<p>“<a href="https://github.com/scfried/soft-type-jersey" target="_blank">Jersey 10</a>” by <a href="https://camd.northeastern.edu/people/sarah-cadigan-fried/" target="_blank">Sarah Cadigan-Fried</a></p>
+<p>“<a href="https://www.1001fonts.com/nihonium113-font.html" target="_blank">Nihonium113</a>” by <a href="https://www.behance.net/japanyoshi" target="_blank">Haley Wakamatsu (UkiyoMoji Fonts)</a></p>
 <p>“<a href="https://www.brailleinstitute.org/freefont/" target="_blank">Atkinson Hyperlegible</a>” by <a href="https://www.brailleinstitute.org/" target="_blank">Braille Institute of America, Inc.</a></p>
 <p>“<a href="https://opendyslexic.org/" target="_blank">OpenDyslexic</a>” by <a href="https://abbiegonzalez.com/" target="_blank">Abbie Gonzalez</a> (<a href="https://hackers.town/@antijingoist" target="_blank">@antijingoist@hackers.town</a>)</p>
 <p>Logo: “<a href="https://www.fontspace.com/precious-font-f7252" target="_blank">Precious</a>” by Bolt Cutter Design</p>