From f5375069e7a6ad38ac2c030fff672f0c1e7f058f Mon Sep 17 00:00:00 2001 From: Phil Elson Date: Fri, 17 Apr 2026 21:38:23 +0200 Subject: [PATCH] Correctly map the dash-like characters to unicode --- preview.html | 15 +- xkcd-script/font/xkcd-script.otf | Bin 126304 -> 126672 bytes xkcd-script/font/xkcd-script.sfd | 1396 +++++++++-------- xkcd-script/font/xkcd-script.ttf | Bin 98776 -> 99208 bytes xkcd-script/font/xkcd-script.woff | Bin 66904 -> 67172 bytes .../generator/pt2_character_classification.py | 2 +- xkcd-script/generator/pt6_derived_chars.py | 6 + .../samples/charmap_general_punctuation.png | Bin 20352 -> 20634 bytes .../samples/charmap_latin_1_supplement.png | Bin 41952 -> 42063 bytes .../charmap_mathematical_operators.png | Bin 51824 -> 51957 bytes .../samples/charmap_non_latin_other.png | Bin 21271 -> 21518 bytes 11 files changed, 756 insertions(+), 663 deletions(-) diff --git a/preview.html b/preview.html index 035b990..7668495 100644 --- a/preview.html +++ b/preview.html @@ -72,11 +72,7 @@
- - - - Fork me on GitHub -
+

The xkcd font

brought to you by the ipython/xkcd-font team

@@ -91,7 +87,7 @@

The xkcd font

UNAUTHORITATIVENESS LEATHERBARK INTRACOLIC MICROCHELIA OFFSIDER GLASSWEED ROTTOLO ALBERTITE HERMATORRHACHIS ORGANOMETALLIC SEGREGATIONIST UNEVANGELIC CAMPSTOOL -+ - x * ! ? # @ $ % ¦ & ^ _ - - - ( ) [ ] { } / \ < > ÷ ± √ Σ ++ - x * ! ? # @ $ % ¦ & ^ _ — – - ( ) [ ] { } / \ < > ÷ ± √ Σ 1 2 3 4 5 6 7 8 9 0 ∫ = ≈ ≠ ~ ≤ ≥ |> <| 🎂 . , ; : “HI” ’ ‘ CAN'T ' " É Ò Å Ü ≪ ≫ ‽ Ē Ő “ ” @@ -110,11 +106,8 @@

The xkcd font

- - - -
- +
+