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="395.000000pt" height="349.000000pt" viewBox="0 0 395.000000 349.000000" | |
| preserveAspectRatio="xMidYMid meet"> | |
| <metadata> | |
| Created by potrace 1.11, written by Peter Selinger 2001-2013 | |
| </metadata> | |
| <g transform="translate(0.000000,349.000000) scale(0.100000,-0.100000)" | |
| fill="#000000" stroke="none"> | |
| <path d="M2470 3476 c-204 -24 -217 -28 -432 -131 -68 -32 -123 -85 -145 -137 | |
| -12 -29 -21 -38 -39 -38 -34 0 -85 -23 -107 -48 -20 -22 -22 -33 -13 -117 3 | |
| -33 11 -127 16 -210 6 -82 13 -163 15 -180 3 -16 7 -77 10 -135 5 -126 31 | |
| -418 45 -513 12 -80 13 -968 2 -949 -20 31 -104 49 -212 45 -103 -3 -153 -14 | |
| -385 -82 -284 -83 -475 -118 -574 -107 -108 13 -156 69 -198 233 -22 89 -25 | |
| 122 -31 432 -8 381 12 915 36 943 9 12 11 49 6 152 -4 93 -3 140 5 149 8 10 4 | |
| 68 -15 218 -14 112 -30 216 -35 230 -11 27 -55 58 -79 54 -8 -1 -42 -5 -75 -9 | |
| -106 -12 -123 -17 -155 -46 -30 -27 -32 -33 -36 -112 -4 -75 -9 -123 -14 -123 | |
| -5 0 -11 -136 -14 -300 -1 -99 -8 -225 -14 -280 -6 -55 -13 -161 -16 -235 -9 | |
| -214 -7 -876 3 -970 9 -95 65 -304 105 -394 14 -32 26 -64 26 -70 0 -20 124 | |
| -144 165 -166 67 -35 98 -54 118 -71 39 -35 226 -56 356 -41 131 15 210 31 | |
| 246 48 17 7 95 30 174 49 79 20 148 38 153 41 22 14 131 35 253 50 131 16 183 | |
| 34 204 72 11 20 17 -9 26 -133 7 -88 37 -217 59 -249 29 -44 92 -103 126 -118 | |
| 24 -11 49 -14 80 -9 44 6 45 6 114 -61 38 -37 79 -70 90 -74 12 -3 44 -17 73 | |
| -30 28 -13 59 -24 68 -24 9 0 26 -5 37 -11 27 -14 338 -25 338 -11 0 5 24 13 | |
| 52 16 29 4 58 12 65 18 7 5 50 29 95 53 46 24 106 55 133 69 73 38 184 135 | |
| 299 262 97 106 134 162 288 431 106 186 189 438 182 560 -8 171 -16 223 -39 | |
| 272 -13 27 -27 61 -31 75 -3 15 -11 30 -18 34 -6 4 -25 27 -41 52 -34 51 -109 | |
| 130 -123 130 -5 0 -15 6 -21 14 -12 15 -123 83 -196 122 -22 11 -80 34 -130 | |
| 50 -49 16 -92 30 -94 32 -3 1 6 10 20 19 48 33 195 179 261 259 37 44 86 116 | |
| 109 160 23 43 45 84 49 89 8 11 19 67 25 124 2 19 6 55 10 80 4 35 1 55 -15 | |
| 86 -11 21 -20 51 -20 66 0 14 -9 36 -19 48 -10 12 -24 35 -31 51 -7 17 -18 30 | |
| -24 30 -6 0 -36 25 -66 55 -30 30 -62 55 -70 55 -9 0 -39 11 -66 25 -27 14 | |
| -56 25 -64 25 -8 0 -53 14 -100 30 -109 39 -241 72 -305 75 -225 12 -372 13 | |
| -475 1z m390 -382 c194 -25 405 -104 444 -166 28 -46 -89 -236 -209 -337 -187 | |
| -157 -365 -260 -545 -316 -110 -34 -188 -72 -195 -96 -4 -10 -11 -19 -16 -19 | |
| -21 0 7 -222 30 -240 4 -3 14 -17 24 -32 28 -45 69 -61 120 -47 48 14 317 18 | |
| 448 7 48 -4 107 -16 133 -27 25 -11 87 -34 137 -51 150 -50 263 -142 289 -236 | |
| 26 -90 -11 -279 -81 -414 -135 -261 -193 -344 -344 -494 -88 -88 -208 -171 | |
| -283 -198 -22 -8 -82 -13 -147 -13 -98 0 -114 3 -148 24 -21 13 -57 49 -80 80 | |
| -23 31 -45 58 -48 61 -3 3 -12 16 -19 29 -12 23 -32 47 -92 110 l-27 28 -6 | |
| 489 c-5 471 -12 661 -35 919 -6 66 -12 172 -14 235 -3 111 -10 158 -42 320 -9 | |
| 41 -19 106 -24 145 -6 60 -5 75 12 106 11 20 33 44 49 53 16 9 29 21 29 26 0 | |
| 17 76 49 151 64 87 18 304 13 489 -10z"/> | |
| </g> | |
| </svg> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment