|
135 | 135 | </div> |
136 | 136 | <p>Light/dark</p> |
137 | 137 | </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> |
138 | 144 | <div class="key_group" id="show_hide_keys"> |
139 | 145 | <div class="keys"> |
140 | 146 | <p data-key-code="KeyH" data-key="h" class="key">H</p> |
@@ -546,7 +552,8 @@ <h2>Choose download alternate characters</h2> |
546 | 552 | <br /> |
547 | 553 | <p> |
548 | 554 | 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. |
550 | 557 | </p> |
551 | 558 | <br /> |
552 | 559 | <br /> |
@@ -800,12 +807,24 @@ <h2>Activate Commit Mono in your editor.</h2> |
800 | 807 | Is there a .woff2 version of the font available? |
801 | 808 | </summary> |
802 | 809 | <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> |
809 | 828 | </p> |
810 | 829 | </details> |
811 | 830 | <details> |
@@ -1042,7 +1061,7 @@ <h2>Programs used</h2> |
1042 | 1061 | <div tabindex="0" id="block_tab_end"></div> |
1043 | 1062 | </div> |
1044 | 1063 | <script> |
1045 | | - const versionOfCommitMono = "V130" |
| 1064 | + const versionOfCommitMono = "V132" |
1046 | 1065 | let fontsLoaded = false |
1047 | 1066 | const commitMono = new FontFace("CommitMono", `url(/src/fonts/CommitMono${versionOfCommitMono}-VF.woff2)`, { |
1048 | 1067 | style: "normal", |
|
0 commit comments