File tree Expand file tree Collapse file tree 1 file changed +20
-21
lines changed Expand file tree Collapse file tree 1 file changed +20
-21
lines changed Original file line number Diff line number Diff line change @@ -41,27 +41,26 @@ function buildCode() {
41
41
let commitMonoFont
42
42
async function updateCodeFont ( ) {
43
43
// console.log("updateCodeFont")
44
- opentype
45
- . load (
46
- `/src/fonts/CommitMono${ versionOfCommitMono } -${ websiteData . weight } ${
47
- websiteData . italic ? "Italic" : "Regular"
48
- } .otf`
49
- )
50
- . then ( ( font ) => {
51
- // // console.log(font)
52
- commitMonoFont = font
53
- updateCode ( null , codeForm )
54
- } )
55
- . catch ( ( err ) => console . log ( err ) )
56
-
57
- opentype
58
- . load ( "src/fonts/CommitMonoV134-500Regular.otf" )
59
- . then ( ( font ) => {
60
- console . log ( font )
61
- console . log ( font . toTables ( ) )
62
- // font.download()
63
- } )
64
- . catch ( ( err ) => console . log ( err ) )
44
+ // opentype
45
+ // .load(
46
+ // `/src/fonts/CommitMono${versionOfCommitMono}-${websiteData.weight}${
47
+ // websiteData.italic ? "Italic" : "Regular"
48
+ // }.otf`
49
+ // )
50
+ // .then((font) => {
51
+ // // // console.log(font)
52
+ // commitMonoFont = font
53
+ // updateCode(null, codeForm)
54
+ // })
55
+ // .catch((err) => console.log(err))
56
+ // opentype
57
+ // .load("src/fonts/CommitMonoV134-500Regular.otf")
58
+ // .then((font) => {
59
+ // console.log(font)
60
+ // console.log(font.toTables())
61
+ // // font.download()
62
+ // })
63
+ // .catch((err) => console.log(err))
65
64
}
66
65
67
66
function updateCode ( event , form ) {
You can’t perform that action at this time.
0 commit comments