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="201.000000pt" height="371.000000pt" viewBox="0 0 201.000000 371.000000" | |
| preserveAspectRatio="xMidYMid meet"> | |
| <metadata> | |
| Created by potrace 1.11, written by Peter Selinger 2001-2013 | |
| </metadata> | |
| <g transform="translate(0.000000,371.000000) scale(0.100000,-0.100000)" | |
| fill="#000000" stroke="none"> | |
| <path d="M1050 3703 c-23 -4 -87 -24 -135 -43 -11 -4 -39 -13 -62 -20 -24 -7 | |
| -43 -17 -43 -21 0 -4 -12 -11 -27 -17 -31 -10 -154 -108 -182 -144 -28 -36 | |
| -73 -128 -88 -183 -27 -95 -32 -120 -38 -199 -3 -44 -7 -82 -8 -85 -3 -14 27 | |
| -147 43 -189 22 -57 122 -172 170 -194 41 -19 95 -33 163 -43 35 -5 73 0 150 | |
| 20 56 15 107 31 113 36 6 5 20 10 31 12 11 1 49 26 84 53 36 28 74 56 86 62 | |
| 54 29 193 245 193 300 0 13 5 33 12 45 6 12 13 42 14 67 2 25 4 52 4 60 3 31 | |
| -9 136 -18 171 -12 47 -96 199 -121 221 -18 15 -72 48 -141 84 -24 13 -141 17 | |
| -200 7z m103 -408 c28 -59 22 -108 -24 -196 -46 -89 -83 -119 -200 -165 l-70 | |
| -28 -22 23 c-19 19 -22 32 -21 109 0 110 22 177 77 237 40 44 44 45 76 36 19 | |
| -6 39 -7 45 -4 10 7 71 19 107 22 8 0 23 -15 32 -34z"/> | |
| <path d="M903 2522 c-41 -2 -57 -9 -80 -31 -15 -16 -46 -40 -68 -54 -40 -24 | |
| -95 -77 -81 -77 4 0 -13 -19 -37 -43 -59 -57 -128 -166 -198 -312 -71 -149 | |
| -169 -396 -175 -443 -2 -19 -11 -48 -19 -66 -20 -44 -112 -386 -125 -471 -16 | |
| -96 -37 -216 -55 -304 -8 -40 -17 -95 -20 -122 -2 -26 -14 -99 -25 -160 -13 | |
| -74 -20 -156 -20 -238 0 -112 2 -128 22 -157 13 -19 34 -35 51 -38 55 -11 231 | |
| -6 247 7 23 19 50 72 50 100 0 13 9 46 19 73 10 27 31 130 46 229 15 99 42 | |
| 263 60 364 19 101 34 187 33 190 0 3 0 18 1 34 l1 27 83 0 c45 0 109 5 142 10 | |
| 33 6 141 15 240 20 105 6 248 22 343 39 l164 28 8 -21 c4 -12 11 -46 14 -76 | |
| 19 -146 47 -351 56 -401 13 -74 13 -325 -1 -388 -10 -46 -8 -56 14 -104 19 | |
| -42 31 -56 53 -61 16 -4 37 -16 47 -27 10 -10 28 -19 40 -20 23 0 81 -7 94 | |
| -11 10 -3 92 40 108 56 6 6 15 24 19 39 3 15 10 27 15 27 11 0 21 40 23 92 1 | |
| 21 6 38 11 38 10 0 4 232 -8 355 -27 271 -55 442 -115 710 -6 28 -18 82 -26 | |
| 120 -50 231 -155 493 -272 674 -55 87 -197 251 -216 251 -5 0 -24 13 -41 29 | |
| -29 29 -119 79 -153 86 -9 2 -30 9 -47 16 -30 12 -124 17 -222 11z m176 -430 | |
| c72 -48 166 -175 236 -317 49 -101 95 -225 95 -259 0 -2 -26 -6 -57 -9 -295 | |
| -29 -660 -73 -686 -82 -13 -6 -12 5 8 67 76 233 144 394 206 485 48 70 119 | |
| 143 139 143 9 0 36 -13 59 -28z"/> | |
| </g> | |
| </svg> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment