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="366.000000pt" height="234.000000pt" viewBox="0 0 366.000000 234.000000" | |
| preserveAspectRatio="xMidYMid meet"> | |
| <metadata> | |
| Created by potrace 1.11, written by Peter Selinger 2001-2013 | |
| </metadata> | |
| <g transform="translate(0.000000,234.000000) scale(0.100000,-0.100000)" | |
| fill="#000000" stroke="none"> | |
| <path d="M1046 2329 c-217 -29 -438 -149 -627 -339 -86 -87 -128 -139 -208 | |
| -259 -46 -68 -119 -226 -140 -301 -41 -148 -51 -201 -62 -334 -10 -109 -10 | |
| -151 1 -218 7 -46 14 -99 15 -118 8 -116 112 -321 223 -438 79 -83 226 -169 | |
| 357 -207 33 -9 72 -23 86 -31 34 -17 267 -21 360 -5 187 31 274 58 421 130 | |
| 132 65 153 78 200 132 29 33 56 66 60 72 9 15 10 13 43 -56 33 -72 109 -167 | |
| 180 -228 53 -46 151 -91 240 -112 70 -16 235 -20 279 -7 112 34 133 40 156 44 | |
| 14 2 50 16 81 30 31 13 59 23 61 21 4 -4 179 104 302 188 83 56 143 112 279 | |
| 259 93 101 121 136 147 186 12 23 26 44 30 47 7 4 19 28 75 150 45 97 67 372 | |
| 40 505 -28 142 -32 153 -64 222 -17 37 -31 73 -31 79 0 16 -116 183 -168 240 | |
| -109 122 -264 212 -447 261 -40 11 -190 13 -426 5 -108 -3 -132 -7 -170 -27 | |
| -24 -13 -57 -30 -74 -38 -74 -37 -203 -170 -307 -319 -44 -61 -151 -272 -168 | |
| -328 -6 -22 -18 -53 -25 -70 -7 -16 -25 -82 -40 -145 -15 -63 -31 -124 -35 | |
| -135 -5 -11 -14 -62 -21 -113 -14 -105 -7 -381 12 -445 6 -22 9 -41 7 -43 -2 | |
| -2 -31 18 -64 45 -52 42 -66 48 -100 47 -25 -1 -53 -12 -75 -28 -54 -40 -198 | |
| -115 -269 -138 -36 -12 -119 -28 -185 -36 -145 -16 -270 -2 -352 40 -51 25 | |
| -161 135 -189 189 -22 42 -52 172 -59 263 -9 96 19 260 65 383 30 82 100 208 | |
| 136 245 12 11 51 56 87 98 78 93 101 112 193 166 117 68 146 76 269 77 124 0 | |
| 153 -11 230 -89 50 -51 96 -86 111 -86 7 0 16 -9 19 -20 4 -11 19 -27 35 -35 | |
| 15 -8 35 -22 44 -30 24 -24 46 -21 103 14 45 28 76 60 82 83 1 4 8 26 16 49 | |
| 21 59 20 68 -27 150 -41 70 -152 199 -171 199 -5 0 -35 17 -67 38 -31 21 -93 | |
| 53 -136 70 -69 28 -106 36 -239 56 -16 2 -61 0 -99 -5z m1488 -479 c19 0 79 | |
| -48 94 -75 8 -15 21 -25 35 -25 31 0 147 76 147 96 0 14 7 15 47 9 74 -11 142 | |
| -51 216 -129 85 -89 127 -163 162 -289 24 -87 27 -110 23 -205 -4 -96 -8 -116 | |
| -43 -193 -20 -48 -53 -104 -72 -125 -19 -22 -75 -85 -124 -141 -125 -143 -280 | |
| -253 -469 -333 -99 -42 -110 -45 -201 -45 -85 0 -99 3 -132 25 -136 92 -194 | |
| 405 -132 711 32 159 48 212 91 311 62 139 127 237 229 343 83 86 98 98 106 83 | |
| 6 -10 16 -18 23 -18z"/> | |
| </g> | |
| </svg> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment