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="308.000000pt" height="248.000000pt" viewBox="0 0 308.000000 248.000000" | |
| preserveAspectRatio="xMidYMid meet"> | |
| <metadata> | |
| Created by potrace 1.11, written by Peter Selinger 2001-2013 | |
| </metadata> | |
| <g transform="translate(0.000000,248.000000) scale(0.100000,-0.100000)" | |
| fill="#000000" stroke="none"> | |
| <path d="M2350 2473 c-164 -16 -195 -24 -314 -84 -66 -33 -139 -76 -164 -95 | |
| -45 -34 -152 -151 -152 -165 0 -17 -48 -60 -55 -49 -4 6 -5 14 -2 17 7 7 -44 | |
| 119 -75 165 -29 43 -83 98 -95 98 -4 0 -21 7 -38 16 -77 42 -182 70 -245 66 | |
| -170 -12 -247 -34 -402 -119 -112 -60 -241 -165 -254 -206 -4 -12 -18 -36 -33 | |
| -54 -14 -17 -39 -53 -56 -80 l-30 -48 -5 55 c-3 30 -2 58 3 61 8 6 4 44 -20 | |
| 182 -9 53 -20 97 -25 97 -4 0 -11 18 -14 40 -5 29 -15 46 -36 61 -28 21 -30 | |
| 21 -121 4 -171 -30 -180 -39 -195 -176 -10 -97 -9 -146 6 -284 22 -196 35 | |
| -486 41 -910 5 -382 4 -439 -11 -510 -9 -44 -20 -102 -24 -130 -3 -27 -11 -81 | |
| -18 -120 -13 -80 -13 -77 2 -131 7 -25 32 -62 61 -93 44 -46 54 -52 90 -53 23 | |
| 0 44 -4 46 -9 3 -4 23 -6 45 -4 50 5 105 47 132 100 11 22 27 48 36 57 8 10 | |
| 16 40 17 70 1 29 7 94 14 143 6 50 11 119 11 155 0 36 11 115 25 175 13 61 26 | |
| 124 29 140 3 17 8 41 11 55 2 14 7 36 9 50 3 14 16 68 29 120 13 52 32 131 42 | |
| 175 20 93 100 334 141 426 46 104 106 193 159 239 74 64 181 112 264 118 64 4 | |
| 70 3 84 -19 8 -13 22 -64 31 -113 20 -101 23 -391 7 -516 -6 -41 -11 -106 -11 | |
| -145 0 -38 -7 -124 -15 -190 -7 -66 -17 -244 -20 -395 -8 -319 -2 -376 50 | |
| -451 37 -54 65 -85 65 -72 0 4 4 1 10 -7 7 -12 21 -12 93 -2 107 15 145 29 | |
| 152 53 4 10 10 19 14 19 20 0 52 147 72 334 6 60 15 123 20 140 9 29 27 161 | |
| 63 451 21 168 63 381 92 471 13 40 48 123 79 186 48 100 64 122 120 172 72 64 | |
| 196 126 251 126 55 0 165 -65 209 -125 105 -139 153 -361 111 -505 -8 -25 -27 | |
| -99 -44 -165 -16 -66 -42 -150 -56 -188 -14 -37 -30 -91 -35 -120 -6 -28 -22 | |
| -90 -36 -137 -39 -126 -62 -338 -47 -442 16 -118 15 -116 56 -195 43 -86 96 | |
| -162 114 -162 6 -1 12 -5 12 -9 0 -13 98 -35 124 -28 12 3 57 28 98 55 63 41 | |
| 76 54 82 82 3 19 8 44 10 56 3 14 -13 51 -45 104 -27 45 -54 100 -60 122 -13 | |
| 50 3 187 38 312 14 50 40 146 58 215 42 153 67 238 94 309 43 115 72 357 50 | |
| 426 -5 17 -10 44 -10 60 -4 80 -128 374 -179 425 -12 12 -53 57 -91 101 -39 | |
| 43 -74 77 -78 74 -5 -2 -19 7 -31 20 -13 14 -31 25 -40 25 -8 0 -27 8 -40 18 | |
| -21 14 -49 25 -130 46 -8 2 -28 9 -43 15 -16 6 -31 10 -35 9 -4 0 -23 -3 -42 | |
| -5z"/> | |
| </g> | |
| </svg> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment