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="228.000000pt" height="336.000000pt" viewBox="0 0 228.000000 336.000000" | |
| preserveAspectRatio="xMidYMid meet"> | |
| <metadata> | |
| Created by potrace 1.11, written by Peter Selinger 2001-2013 | |
| </metadata> | |
| <g transform="translate(0.000000,336.000000) scale(0.100000,-0.100000)" | |
| fill="#000000" stroke="none"> | |
| <path d="M1160 3342 c-139 -46 -259 -130 -343 -242 -22 -30 -46 -59 -53 -65 | |
| -18 -16 -70 -114 -98 -187 -14 -38 -37 -96 -50 -130 -68 -176 -95 -312 -101 | |
| -518 -4 -150 -2 -174 20 -258 13 -51 42 -129 64 -174 23 -44 41 -86 41 -92 0 | |
| -6 32 -43 70 -81 39 -38 70 -66 70 -62 0 5 13 -1 29 -12 75 -54 119 -65 250 | |
| -63 97 1 136 6 178 22 29 11 53 17 53 15 0 -3 17 5 38 18 20 13 45 26 54 30 | |
| 16 6 103 64 206 139 44 31 145 138 187 197 l30 42 7 -33 c41 -184 56 -312 58 | |
| -498 3 -287 -6 -405 -42 -535 -34 -124 -57 -173 -128 -278 -56 -83 -94 -109 | |
| -210 -145 -95 -30 -272 -40 -374 -22 -84 15 -308 91 -386 130 -104 53 -189 | |
| 115 -279 204 -52 51 -91 97 -91 108 0 10 -6 31 -14 46 -7 15 -12 35 -11 44 2 | |
| 10 0 18 -4 18 -3 0 -22 15 -41 33 -19 17 -39 32 -45 33 -5 0 -27 4 -49 9 -22 | |
| 4 -41 4 -45 -2 -3 -5 -23 -20 -44 -32 -21 -13 -43 -33 -48 -45 -5 -11 -21 -39 | |
| -34 -61 -28 -46 -31 -95 -11 -197 7 -38 11 -68 9 -68 -2 0 24 -36 58 -80 34 | |
| -44 64 -80 68 -80 4 0 27 -20 51 -43 93 -90 202 -159 420 -264 92 -44 121 -55 | |
| 185 -73 17 -5 71 -20 120 -35 50 -15 113 -29 140 -31 28 -2 85 -8 127 -14 46 | |
| -5 116 -6 175 -1 111 10 298 55 320 76 8 8 21 15 28 15 31 0 219 110 221 129 | |
| 0 3 17 23 37 44 20 21 37 44 37 51 0 8 7 19 15 26 35 29 130 220 168 335 45 | |
| 141 95 414 77 425 -5 3 -5 69 -1 150 9 155 2 277 -23 430 -8 52 -18 125 -21 | |
| 162 -3 37 -15 116 -26 175 -27 145 -59 337 -66 396 -4 35 2 71 23 137 23 76 | |
| 25 94 15 116 -6 15 -9 35 -6 45 9 29 -35 99 -63 99 -8 0 -27 14 -43 31 -35 38 | |
| -83 50 -124 33 -49 -21 -52 -18 -59 59 -6 58 -13 81 -39 117 -45 64 -91 110 | |
| -111 110 -9 0 -19 6 -22 14 -9 25 -263 144 -329 155 -105 18 -168 19 -215 3z | |
| m225 -396 c39 -18 84 -47 100 -64 17 -17 35 -32 41 -32 6 0 22 -10 36 -23 20 | |
| -19 27 -37 32 -89 4 -35 16 -79 27 -97 18 -29 21 -31 61 -25 24 4 46 12 50 18 | |
| 5 6 5 -11 2 -39 -20 -156 -257 -504 -433 -634 -165 -123 -258 -144 -324 -76 | |
| -61 62 -91 202 -77 357 19 213 89 434 183 573 76 114 91 130 141 155 48 24 65 | |
| 22 161 -24z"/> | |
| </g> | |
| </svg> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment