From 5a0f6696bf55ab5b4d0ba5836ddb9230367be20c Mon Sep 17 00:00:00 2001 From: multipleof4 Date: Sun, 9 Nov 2025 11:42:30 -0800 Subject: [PATCH] Feat: Add all-caps pangram to sample text --- index.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/index.html b/index.html index ffd4262..cfa4bf3 100644 --- a/index.html +++ b/index.html @@ -137,20 +137,20 @@
Sample text: - +
Stain
- Stain: The quick brown fox jumps over the lazy dog ABC abc + Stain: The quick brown fox jumps over the lazy dog. THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG. ABC abc
System (Candara / fallback)
- Stain: The quick brown fox jumps over the lazy dog ABC abc + Stain: The quick brown fox jumps over the lazy dog. THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG. ABC abc
@@ -165,15 +165,15 @@ const sysSample = document.getElementById("sysSample"); const update = () => { - const content = text.value || "Stain: The quick brown fox jumps over the lazy dog ABC abc"; + const content = text.value || "Stain: The quick brown fox jumps over the lazy dog. THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG. ABC abc"; const fs = size.valueAsNumber || 40; const ls = (track.valueAsNumber || 3) / 100; - sizeVal.textContent = fs + "px"; - trackVal.textContent = ls.toFixed(2) + "em"; + sizeVal.textContent = `${fs}px`; + trackVal.textContent = `${ls.toFixed(2)}em`; [stainSample, sysSample].forEach((el) => { el.textContent = content; - el.style.fontSize = fs + "px"; - el.style.letterSpacing = ls + "em"; + el.style.fontSize = `${fs}px`; + el.style.letterSpacing = `${ls}em`; }); };