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="229.000000pt" height="296.000000pt" viewBox="0 0 229.000000 296.000000" | |
| preserveAspectRatio="xMidYMid meet"> | |
| <metadata> | |
| Created by potrace 1.11, written by Peter Selinger 2001-2013 | |
| </metadata> | |
| <g transform="translate(0.000000,296.000000) scale(0.100000,-0.100000)" | |
| fill="#000000" stroke="none"> | |
| <path d="M1068 2955 c-4 -5 -27 -11 -50 -16 -106 -18 -164 -31 -173 -40 -5 -5 | |
| -16 -9 -25 -9 -8 0 -26 -6 -41 -13 -14 -8 -45 -21 -70 -29 -24 -9 -68 -31 -96 | |
| -49 -29 -19 -71 -45 -94 -59 -55 -33 -135 -103 -189 -165 -24 -27 -49 -49 -57 | |
| -47 -21 5 -175 -39 -209 -59 -16 -10 -36 -29 -42 -41 -15 -29 -9 -370 6 -409 | |
| 11 -26 8 -186 -18 -969 -12 -395 -12 -747 0 -835 15 -102 45 -158 100 -188 48 | |
| -25 47 -25 100 -13 19 5 48 10 63 11 71 6 183 92 162 125 -14 22 -20 157 -20 | |
| 450 1 402 14 750 28 724 38 -71 167 -141 592 -319 232 -97 376 -176 413 -228 | |
| 61 -87 94 -178 127 -362 20 -107 34 -135 89 -164 l41 -23 115 23 c165 33 185 | |
| 63 155 227 -21 108 -73 302 -86 318 -5 7 -18 34 -27 60 -46 127 -126 227 -242 | |
| 303 -30 20 -71 48 -90 62 -19 15 -46 30 -60 34 -14 4 -83 36 -155 70 -118 57 | |
| -170 78 -318 131 -59 21 -52 26 68 49 132 25 295 63 335 79 19 8 62 22 95 31 | |
| 86 25 266 100 318 132 24 16 66 42 93 58 48 29 231 192 233 208 0 4 5 13 11 | |
| 20 5 7 21 26 35 43 13 17 43 82 65 143 31 88 37 116 30 136 -5 14 -7 32 -4 40 | |
| 4 8 1 15 -5 15 -6 0 -11 15 -11 34 0 19 -4 37 -9 40 -5 4 -12 24 -16 46 -4 22 | |
| -20 54 -36 72 -16 18 -29 36 -29 41 0 4 -6 7 -12 7 -7 1 -26 19 -43 40 -27 36 | |
| -75 70 -97 70 -5 0 -24 10 -41 23 -18 12 -40 24 -51 25 -10 2 -57 21 -105 42 | |
| -78 34 -128 49 -306 90 -58 14 -436 26 -447 15z m372 -410 c109 -20 161 -35 | |
| 242 -71 108 -49 168 -87 168 -107 0 -7 -5 -29 -10 -49 -28 -98 -241 -251 -430 | |
| -307 -58 -18 -117 -38 -132 -46 -14 -8 -36 -15 -47 -15 -12 0 -59 -9 -104 -19 | |
| -45 -11 -116 -27 -157 -36 -41 -9 -97 -25 -125 -35 -27 -11 -79 -26 -115 -35 | |
| -100 -24 -244 -102 -269 -145 l-21 -35 0 143 c0 79 4 152 10 162 6 12 7 42 1 | |
| 82 -9 68 1 115 29 135 8 6 31 41 49 78 37 73 69 102 217 201 98 65 164 93 242 | |
| 100 30 4 76 10 101 14 91 15 212 10 351 -15z"/> | |
| </g> | |
| </svg> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment