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="408.000000pt" height="227.000000pt" viewBox="0 0 408.000000 227.000000" | |
| preserveAspectRatio="xMidYMid meet"> | |
| <metadata> | |
| Created by potrace 1.11, written by Peter Selinger 2001-2013 | |
| </metadata> | |
| <g transform="translate(0.000000,227.000000) scale(0.100000,-0.100000)" | |
| fill="#000000" stroke="none"> | |
| <path d="M2975 2256 c-99 -17 -155 -38 -236 -86 -45 -28 -85 -50 -89 -50 -14 | |
| 0 -169 -160 -231 -237 -34 -43 -65 -80 -69 -83 -14 -9 -100 -150 -151 -247 | |
| -59 -112 -138 -314 -164 -421 -9 -40 -19 -71 -21 -69 -2 2 1 39 6 81 5 43 8 | |
| 81 5 85 -2 4 -5 34 -6 67 -1 32 -6 73 -10 89 -5 17 -10 50 -12 75 -4 40 -88 | |
| 219 -121 257 -6 7 -42 50 -81 97 -38 47 -74 85 -80 86 -5 0 -34 22 -63 48 -69 | |
| 62 -119 92 -222 135 -124 52 -216 77 -281 77 -32 0 -60 4 -64 9 -9 15 -64 40 | |
| -104 47 -20 4 -40 10 -46 14 -18 14 -129 20 -185 11 -103 -17 -145 -34 -229 | |
| -90 -46 -31 -91 -60 -100 -65 -33 -19 -128 -145 -188 -249 -56 -99 -133 -275 | |
| -133 -305 0 -7 -7 -27 -16 -44 -23 -45 -55 -179 -74 -318 -19 -134 -4 -351 34 | |
| -488 8 -29 40 -105 72 -170 48 -98 70 -129 128 -187 63 -63 156 -135 173 -135 | |
| 4 0 18 -11 32 -24 19 -18 52 -29 122 -43 52 -11 104 -17 115 -13 10 4 33 1 51 | |
| -7 27 -11 46 -11 120 1 106 18 184 36 198 46 6 4 28 10 51 13 116 18 419 204 | |
| 572 351 45 44 82 83 82 87 0 4 11 20 26 36 26 28 128 194 155 253 9 19 28 60 | |
| 42 90 l27 55 -8 -90 c-11 -142 -6 -243 17 -325 12 -41 25 -91 30 -110 8 -35 | |
| 69 -147 100 -185 10 -11 22 -32 28 -46 16 -38 129 -131 203 -166 91 -43 169 | |
| -73 192 -73 11 0 26 -7 34 -15 23 -23 189 -25 354 -4 92 11 273 58 278 71 2 4 | |
| 10 8 17 8 26 0 230 103 335 169 126 79 278 225 335 321 40 69 106 242 132 350 | |
| 26 108 20 213 -17 326 -32 95 -98 216 -167 304 -88 114 -250 266 -359 337 | |
| -153 102 -154 102 -167 131 -11 27 -56 86 -99 130 -63 66 -183 104 -273 88z | |
| m-2104 -393 c16 -10 29 -23 29 -30 0 -23 64 -61 111 -66 25 -3 56 -10 68 -16 | |
| 11 -7 21 -9 21 -7 0 3 11 -6 24 -19 36 -36 72 -42 106 -16 16 11 33 21 37 21 | |
| 5 0 42 -21 84 -47 86 -54 189 -165 235 -253 27 -51 28 -61 29 -184 l0 -131 | |
| -44 -90 c-39 -80 -57 -102 -176 -221 -156 -154 -246 -213 -406 -268 -95 -33 | |
| -116 -36 -213 -36 -116 0 -130 4 -215 65 -38 27 -57 53 -95 127 -44 87 -48 | |
| 100 -58 208 -9 95 -8 138 7 260 24 202 23 199 87 344 104 237 197 340 336 375 | |
| 2 1 17 -7 33 -16z m1957 -132 c42 -21 91 -30 132 -25 80 11 106 6 191 -37 107 | |
| -53 181 -103 244 -166 28 -27 66 -62 85 -78 19 -17 42 -40 50 -51 116 -164 | |
| 140 -217 140 -314 0 -32 -10 -88 -23 -127 -48 -149 -133 -245 -322 -366 -121 | |
| -78 -167 -97 -310 -134 -89 -23 -132 -28 -225 -28 -105 0 -120 2 -180 29 -48 | |
| 21 -77 43 -112 84 -68 79 -88 126 -104 253 -14 104 -14 118 5 227 23 132 50 | |
| 208 131 367 67 133 133 232 207 314 57 64 62 67 91 52z"/> | |
| </g> | |
| </svg> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment