From bf141fecbd92021ee7ff8b176407772581fb1574 Mon Sep 17 00:00:00 2001 From: Nicolas Lebrun Date: Mon, 6 May 2024 19:41:38 +0200 Subject: [PATCH] Digg into the deployment bug (test) --- demo/src/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/demo/src/index.ts b/demo/src/index.ts index 6e5e608..1e0b25e 100644 --- a/demo/src/index.ts +++ b/demo/src/index.ts @@ -37,7 +37,7 @@ console.log( ), ); */ - +/* const rotateGlyph = (g: Glyph) => g.map((l: Line) => l.map((p: Vec) => [1 - p[0], 1 - p[1]])); const upscaleGlyph = (g: Glyph) => @@ -52,7 +52,7 @@ const mirrorYGlyph = (g: Glyph) => // font["ɜ"] = mirrorYGlyph(font["ɛ"]) console.log(JSON.stringify(scaleGlyph(font["L"]))); - +*/ for (let l = 0; l < lowercase.length; l++) { if (font[lowercase[l]] === undefined) { console.log(`%c ${lowercase[l]}`, "font-size: 3em"); @@ -76,7 +76,7 @@ const update = () => { let height = window.innerHeight; const userInput = input.value !== textAtLaunch ? input.value : glyphKeys, text = userInput.split("") as string[], - fontScale = 0.2, //parseFloat(inputSize.value), + fontScale = parseFloat(inputSize.value), width = window.innerWidth - 40, baseSize = Math.max( 16,