|
| 1 | +<!doctype html> |
| 2 | +<html lang="en-US"> |
| 3 | + <head> |
| 4 | + <title>Pokemon Fonts Generator</title> |
| 5 | + <meta name="viewport" content="width=device-width,initial-scale=1" /> |
| 6 | + <meta charset="utf-8" /> |
| 7 | + <base href="." /> |
| 8 | + <link rel="stylesheet" href="./src/style.css" /> |
| 9 | + <link href="assets/favicon.ico" rel="icon" type="image/x-icon" /> |
| 10 | + <script src="./src/script.js" type="module" defer></script> |
| 11 | + <link rel="preconnect" href="https://fonts.googleapis.com" /> |
| 12 | + <link rel="preconnect" href="https://fonts.gstatic.com" /> |
| 13 | + <link |
| 14 | + href="https://fonts.googleapis.com/css2?family=PT+Serif&display=swap" |
| 15 | + rel="stylesheet" |
| 16 | + crossorigin="anonymous" |
| 17 | + /> |
| 18 | + </head> |
| 19 | + <body> |
| 20 | + <main> |
| 21 | + <h1>Pokemon Fonts Generator</h1> |
| 22 | + <article> |
| 23 | + <details> |
| 24 | + <summary>Why make yet another fonts generator?</summary> |
| 25 | + <hr /> |
| 26 | + <p> |
| 27 | + There already are a bunch of these |
| 28 | + <em>PoKéMoN fonts generators</em>. So why need another one? |
| 29 | + </p> |
| 30 | + <p> |
| 31 | + They are just not good enough. Compare the |
| 32 | + <strong>original</strong> fonts: |
| 33 | + </p> |
| 34 | + <img src="assets/original-fonts.png" alt="Orignal pokemon fonts" /> |
| 35 | + <p> |
| 36 | + Rest of the website just apply borders to the ttf font file. They |
| 37 | + don't apply the overlapping effect. |
| 38 | + </p> |
| 39 | + <p>That tiny detail is bothersome</p> |
| 40 | + </details> |
| 41 | + |
| 42 | + <p> |
| 43 | + <strong>Note:</strong> |
| 44 | + As of May, there seems to be some issue with Safari 18 version that |
| 45 | + causes the generated image to render without the blue stroke border. I |
| 46 | + am working on a fix, but for now, please use a non-apple device, or a |
| 47 | + different browser if you're in EU. |
| 48 | + </p> |
| 49 | + <p> |
| 50 | + This issue is a likely a bug in webkit, and thus, using a different |
| 51 | + browser on an apple device, except EU will not work |
| 52 | + </p> |
| 53 | + </article> |
| 54 | + <hr /> |
| 55 | + <section> |
| 56 | + <div class="form"> |
| 57 | + <label for="text">Text: </label><br /> |
| 58 | + <label class="hint" |
| 59 | + >Enclose a word in **...** for the tilt effect. Space is not |
| 60 | + allowed</label |
| 61 | + > |
| 62 | + <input type="text" id="text" /> |
| 63 | + <br /> |
| 64 | + <label for="size">Font size:</label> <br /> |
| 65 | + <div class="range"> |
| 66 | + <input |
| 67 | + type="range" |
| 68 | + min="12" |
| 69 | + max="48" |
| 70 | + step="2" |
| 71 | + id="size" |
| 72 | + value="24" |
| 73 | + /> |
| 74 | + <output for="size"></output> |
| 75 | + </div> |
| 76 | + <button type="submit">Generate</button> |
| 77 | + </div> |
| 78 | + <div id="note" class="form"></div> |
| 79 | + <div class="font-space"></div> |
| 80 | + </section> |
| 81 | + </main> |
| 82 | + </body> |
| 83 | +</html> |
0 commit comments