Part of https://pelson.github.io/2017/xkcd_font_raster_to_vector_and_basic_font_creation/
Last active
August 13, 2017 16:55
-
-
Save pelson/18434e3bd37dcde8dd28a5a24def0060 to your computer and use it in GitHub Desktop.
Converting the rasters glyphs into SVG, and creating a rudimentary font with them
This gist exceeds the recommended number of files (~10).
To access all files, please clone this gist.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" standalone="no"?> | |
| <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" | |
| "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> | |
| <svg version="1.0" xmlns="http://www.w3.org/2000/svg" | |
| width="441.000000pt" height="311.000000pt" viewBox="0 0 441.000000 311.000000" | |
| preserveAspectRatio="xMidYMid meet"> | |
| <metadata> | |
| Created by potrace 1.11, written by Peter Selinger 2001-2013 | |
| </metadata> | |
| <g transform="translate(0.000000,311.000000) scale(0.100000,-0.100000)" | |
| fill="#000000" stroke="none"> | |
| <path d="M3989 3099 c-472 -15 -886 -66 -1189 -147 -41 -11 -93 -22 -115 -25 | |
| -41 -4 -162 -60 -180 -82 -5 -8 -45 -20 -88 -29 -43 -9 -87 -21 -98 -27 -19 | |
| -10 -20 -9 -9 11 9 17 8 26 -5 46 -9 14 -14 32 -11 40 10 25 -25 81 -60 98 | |
| -19 8 -34 20 -34 26 0 6 -12 15 -26 20 -40 15 -584 16 -924 1 -168 -7 -373 | |
| -15 -455 -16 -176 -4 -273 -20 -408 -69 -54 -20 -105 -36 -113 -36 -31 0 -81 | |
| -31 -94 -58 -11 -21 -15 -148 -20 -552 -3 -289 -8 -529 -12 -535 -3 -5 -15 | |
| -102 -27 -215 -12 -113 -26 -236 -32 -275 -7 -38 -13 -106 -15 -150 -4 -92 -7 | |
| -119 -39 -350 -23 -164 -29 -256 -26 -376 1 -46 6 -61 27 -85 57 -61 82 -105 | |
| 89 -156 8 -56 47 -107 82 -109 10 0 27 -2 38 -5 11 -2 58 -6 105 -8 93 -5 297 | |
| 25 470 70 130 34 287 61 454 79 78 8 158 19 180 24 23 6 87 6 155 1 64 -4 178 | |
| -9 253 -9 150 -2 164 2 219 62 l27 28 16 -73 c9 -40 22 -80 29 -88 19 -24 59 | |
| -46 94 -53 17 -3 51 -20 75 -37 43 -30 47 -31 154 -31 115 0 207 13 419 62 72 | |
| 16 193 38 270 50 77 11 172 26 210 34 97 20 384 56 475 60 41 1 140 6 220 10 | |
| l145 8 63 63 c71 72 73 81 42 189 -12 44 -28 76 -42 87 -13 10 -29 23 -35 28 | |
| -19 16 -212 32 -315 26 -51 -2 -133 -9 -183 -15 -49 -6 -144 -15 -210 -21 | |
| -131 -11 -233 -25 -280 -40 -16 -5 -94 -19 -173 -30 -139 -19 -315 -55 -335 | |
| -67 -5 -3 -50 -14 -101 -24 -84 -16 -92 -16 -104 -1 -7 9 -10 22 -8 29 4 10 | |
| 27 138 50 278 2 17 14 77 25 135 54 270 97 613 94 735 -1 17 1 58 4 93 4 58 6 | |
| 62 21 49 53 -46 347 -112 547 -121 33 -2 130 -11 215 -21 158 -18 240 -22 275 | |
| -13 11 3 30 20 43 39 12 19 30 40 40 47 9 7 17 16 18 20 0 4 3 14 7 22 18 46 | |
| 26 88 22 108 -7 41 -16 62 -25 62 -4 0 -25 16 -46 35 -22 19 -50 38 -64 41 | |
| -14 3 -34 10 -45 14 -63 28 -329 51 -585 49 -136 -1 -219 4 -275 14 -71 14 | |
| -83 14 -103 1 l-23 -15 2 113 c2 100 -8 225 -26 313 -6 29 -4 31 82 72 113 53 | |
| 177 69 353 88 30 3 62 8 70 10 8 3 78 12 155 20 77 8 172 19 210 24 76 10 451 | |
| 27 500 24 35 -3 47 -3 135 -1 35 1 69 5 75 9 38 30 65 58 65 67 0 6 11 23 23 | |
| 39 33 39 41 77 22 112 -8 16 -16 43 -17 60 -1 17 -5 31 -9 31 -4 0 -11 9 -14 | |
| 20 -3 11 -12 20 -20 20 -7 0 -22 11 -32 24 -10 13 -29 26 -43 28 -14 2 -136 1 | |
| -271 -3z m-1703 -486 c0 -71 7 -171 15 -223 16 -109 16 -508 0 -680 -6 -58 | |
| -13 -150 -17 -205 -5 -91 -46 -359 -124 -814 -27 -158 -40 -211 -40 -169 0 23 | |
| -36 50 -72 54 -17 2 -35 10 -40 17 -10 17 -670 16 -783 -2 -90 -14 -680 -128 | |
| -735 -142 -11 -3 -14 4 -13 26 2 17 -9 56 -23 88 l-25 58 15 127 c9 70 23 186 | |
| 31 257 8 72 22 184 30 250 14 115 31 279 38 374 2 25 9 47 15 49 7 2 67 -7 | |
| 135 -19 107 -21 153 -24 382 -24 188 0 266 -4 282 -13 12 -6 55 -12 96 -12 73 | |
| 0 76 1 106 35 23 27 31 45 31 75 0 21 4 41 8 44 7 4 8 99 1 141 -1 8 -10 17 | |
| -19 20 -16 5 -30 15 -77 54 -6 6 -24 13 -40 17 -15 4 -31 11 -34 17 -16 23 | |
| -274 34 -409 17 -41 -6 -129 -10 -195 -9 -66 0 -140 0 -165 0 -25 0 -55 2 -67 | |
| 4 l-23 5 0 275 c0 213 3 275 13 276 13 0 47 6 92 14 65 13 543 34 800 36 11 0 | |
| 94 5 185 10 152 9 200 7 430 -15 43 -4 118 26 126 51 6 17 53 63 64 63 3 0 5 | |
| -57 6 -127z"/> | |
| </g> | |
| </svg> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment