Skip to content

Commit 68ef9dd

Browse files
fix mostly web things, but also update font
1 parent 380f1eb commit 68ef9dd

File tree

82 files changed

+122
-84
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+122
-84
lines changed

index.html

Lines changed: 27 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,12 @@
135135
</div>
136136
<p>Light/dark</p>
137137
</div>
138+
<div class="key_group" id="change_weight">
139+
<div class="keys">
140+
<p data-key-code="KeyC" data-key="c" class="key">C</p>
141+
</div>
142+
<p>High contrast</p>
143+
</div>
138144
<div class="key_group" id="show_hide_keys">
139145
<div class="keys">
140146
<p data-key-code="KeyH" data-key="h" class="key">H</p>
@@ -546,7 +552,8 @@ <h2>Choose download alternate characters</h2>
546552
<br />
547553
<p>
548554
Download all 34 cuts with your custom settings + source variable fonts (.tff &
549-
.woff2) for design.
555+
.woff2) for design. Variable fonts don’t contain custom settings. Use OpenType
556+
features to expose, see exact features in docs.
550557
</p>
551558
<br />
552559
<br />
@@ -800,12 +807,24 @@ <h2>Activate Commit Mono in your editor.</h2>
800807
Is there a .woff2 version of the font available?
801808
</summary>
802809
<p>
803-
No, but you can use an online conversion tool like
804-
<a
805-
href="https://www.fontsquirrel.com/tools/webfont-generator"
806-
target="_blank"
807-
>this one from Font Squirrel</a
808-
>.
810+
There is a variable .woff2 version included if you "Download custom for
811+
design" in
812+
<button
813+
class="download_button"
814+
tabindex="0"
815+
onclick="keyDown({code:'Digit7'})"
816+
>
817+
07 Customize</button
818+
>. However, that variable font does not contain custom settings. You
819+
have to manually enable features and alternates that are OFF by default.
820+
To see the OpenType feature codes for each feature and alternate, go to
821+
<button
822+
class="download_button"
823+
tabindex="0"
824+
onclick="keyDown({code:'Digit9'})"
825+
>
826+
09 Docs
827+
</button>
809828
</p>
810829
</details>
811830
<details>
@@ -1042,7 +1061,7 @@ <h2>Programs used</h2>
10421061
<div tabindex="0" id="block_tab_end"></div>
10431062
</div>
10441063
<script>
1045-
const versionOfCommitMono = "V130"
1064+
const versionOfCommitMono = "V132"
10461065
let fontsLoaded = false
10471066
const commitMono = new FontFace("CommitMono", `url(/src/fonts/CommitMono${versionOfCommitMono}-VF.woff2)`, {
10481067
style: "normal",
-136 KB
Binary file not shown.
-131 KB
Binary file not shown.
-137 KB
Binary file not shown.
-132 KB
Binary file not shown.
-137 KB
Binary file not shown.
-131 KB
Binary file not shown.
-137 KB
Binary file not shown.
-132 KB
Binary file not shown.
-137 KB
Binary file not shown.

0 commit comments

Comments
 (0)