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="397.000000pt" height="286.000000pt" viewBox="0 0 397.000000 286.000000" | |
| preserveAspectRatio="xMidYMid meet"> | |
| <metadata> | |
| Created by potrace 1.11, written by Peter Selinger 2001-2013 | |
| </metadata> | |
| <g transform="translate(0.000000,286.000000) scale(0.100000,-0.100000)" | |
| fill="#000000" stroke="none"> | |
| <path d="M2840 2851 c-158 -18 -380 -98 -455 -165 -22 -20 -43 -36 -46 -36 | |
| -24 -1 -182 -230 -191 -276 -2 -13 -27 -23 -102 -39 -134 -30 -139 -39 -125 | |
| -200 5 -65 8 -124 5 -131 -3 -8 -1 -51 5 -95 5 -45 12 -111 15 -148 14 -166 | |
| -5 -922 -25 -997 -6 -21 -13 -98 -17 -171 l-7 -131 -28 20 c-23 17 -31 19 -43 | |
| 9 -10 -8 -21 -9 -33 -3 -20 11 -343 24 -598 25 -154 1 -327 -11 -465 -33 -122 | |
| -19 -241 -32 -246 -27 -3 3 -9 31 -14 64 -7 55 -4 126 20 473 5 80 12 208 15 | |
| 285 3 77 8 160 11 185 l5 45 235 -2 c130 -1 242 -4 250 -7 8 -3 14 -12 14 -21 | |
| 0 -24 51 -64 81 -65 14 0 34 9 44 20 13 14 29 19 60 18 52 -3 116 36 136 81 8 | |
| 17 16 31 19 31 8 0 6 103 -2 116 -4 5 -5 19 -4 30 9 56 -57 117 -169 159 -72 | |
| 27 -92 29 -285 28 -179 0 -312 -13 -348 -32 -12 -6 -24 -11 -28 -11 -3 0 -4 | |
| 35 0 78 12 134 8 268 -9 342 -3 14 -8 36 -11 50 -2 14 -7 31 -9 38 -3 7 5 12 | |
| 21 12 14 0 39 7 56 16 27 14 81 16 422 15 312 -2 392 -5 398 -15 4 -7 20 -19 | |
| 36 -25 24 -10 38 -8 93 12 35 13 78 22 94 20 17 -2 35 -4 40 -4 31 -4 111 13 | |
| 125 26 9 8 24 15 34 15 25 0 58 19 79 46 9 13 26 25 36 29 29 9 44 56 33 99 | |
| -6 20 -8 36 -5 36 3 0 1 6 -4 13 -6 6 -18 41 -28 78 -16 60 -20 67 -58 86 -23 | |
| 11 -62 21 -87 22 -24 1 -46 4 -48 6 -3 2 -19 -2 -37 -10 -52 -21 -297 -34 | |
| -740 -40 -226 -2 -426 -7 -445 -9 -19 -3 -73 -18 -120 -34 -54 -19 -91 -26 | |
| -101 -21 -30 15 -244 -82 -273 -123 -24 -34 -20 -105 10 -168 14 -30 30 -57 | |
| 35 -61 6 -3 12 -23 15 -45 2 -21 7 -48 11 -59 3 -11 5 -42 4 -70 -1 -27 3 -93 | |
| 8 -145 14 -127 15 -526 2 -675 -9 -103 -13 -191 -26 -495 -1 -25 -7 -99 -13 | |
| -165 -6 -66 -12 -216 -13 -332 -3 -197 -1 -215 17 -240 10 -16 25 -40 33 -55 | |
| 33 -64 108 -106 158 -87 12 4 86 13 164 19 79 6 146 13 150 16 16 9 230 36 | |
| 363 45 77 5 172 13 210 17 39 4 107 4 151 0 180 -15 308 -14 390 5 44 10 90 | |
| 25 102 33 42 27 93 84 99 112 11 49 12 48 13 -14 1 -65 17 -115 48 -151 44 | |
| -50 160 -86 226 -69 14 3 55 36 92 72 l67 66 -7 62 c-15 139 -16 217 -6 331 | |
| 12 123 28 446 40 775 l6 185 19 -50 c11 -27 44 -86 73 -131 29 -45 53 -85 53 | |
| -89 0 -27 264 -278 365 -348 33 -22 83 -60 111 -83 28 -23 96 -73 150 -111 91 | |
| -65 245 -206 321 -294 42 -49 66 -98 93 -189 36 -119 57 -140 145 -145 22 -2 | |
| 51 -6 65 -10 18 -5 35 1 63 19 21 14 43 26 50 26 16 1 62 42 77 69 7 14 9 42 | |
| 5 79 -8 66 -78 263 -110 307 -12 17 -33 50 -48 76 -41 72 -202 225 -357 337 | |
| -249 181 -329 244 -416 322 -91 82 -194 193 -194 210 0 8 155 51 200 55 37 3 | |
| 208 70 296 116 42 21 81 39 85 39 13 0 221 119 233 134 6 7 39 36 74 66 90 76 | |
| 163 173 217 288 21 44 25 69 25 135 0 140 -7 167 -53 219 -59 65 -153 138 | |
| -177 138 -12 0 -35 7 -52 16 -37 19 -241 85 -283 91 -16 2 -56 11 -87 19 -32 | |
| 8 -68 12 -81 8 -14 -3 -42 -1 -63 5 -53 14 -244 21 -324 12z m232 -376 c73 -9 | |
| 164 -22 201 -30 77 -16 277 -94 277 -109 0 -15 -150 -155 -210 -195 -96 -64 | |
| -407 -194 -495 -207 -84 -13 -285 -71 -302 -88 -3 -3 -17 -6 -30 -6 -24 0 -92 | |
| -62 -124 -115 -11 -16 -19 -25 -20 -20 0 6 -2 19 -5 30 -11 53 -27 173 -25 | |
| 194 0 13 12 47 25 75 14 29 28 64 31 78 4 15 13 29 21 32 8 3 14 17 14 31 0 | |
| 64 135 239 210 273 61 28 152 53 225 62 33 4 63 8 67 9 3 0 66 -6 140 -14z"/> | |
| </g> | |
| </svg> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment