Skip to content

Commit

Permalink
Create custom icon font
Browse files Browse the repository at this point in the history
  • Loading branch information
thatgaypigeon committed Jan 18, 2024
1 parent d4bf37c commit 6da3fca
Show file tree
Hide file tree
Showing 16 changed files with 243 additions and 0 deletions.
Binary file not shown.
32 changes: 32 additions & 0 deletions _static/font/TheNest-IconFont/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
family = "The Nest - Icon Font"
output_file = "TheNest-IconFont.ttf"
color_format = "glyf_colr_1"
upem = 1024
width = 1275
ascender = 950
descender = -250
linegap = 0
transform = "translate(0, 0)"
version_major = 1
version_minor = 0
reuse_tolerance = 0.1
ignore_reuse_error = true
keep_glyph_names = false
clip_to_viewbox = true
pretty_print = false
fea_file = "features.fea"
glyphmap_generator = "nanoemoji.write_glyphmap"
bitmap_resolution = 128
use_zopflipng = true
use_pngquant = true
pngquant_flags = "--speed 1 --skip-if-larger --quality 85-95"

[axis.wght]
name = "Weight"
default = 400

[master.regular]
style_name = "Regular"

[master.regular.position]
wght = 400
6 changes: 6 additions & 0 deletions _static/font/TheNest-IconFont/features.fea
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
languagesystem DFLT dflt;
languagesystem latn dflt;

feature ccmp {
} ccmp;

5 changes: 5 additions & 0 deletions _static/font/TheNest-IconFont/map.glyphmap
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
src\U+E001.svg,Python,e001,e001
src\U+E002.svg,CSS,e002,e002
src\U+E003.svg,HTML,e003,e003
src\U+E004.svg,JS,e004,e004
src\U+E005.svg,Lua,e005,e005
21 changes: 21 additions & 0 deletions _static/font/TheNest-IconFont/src/U+E000.parts.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"version": "1.0.0",
"reuse_tolerance": 0.1,
"view_box": "0 0 1200 1200",
"shape_sets": [
{
"normalized": "M0,0 c0.4,0 0.7000000000000001,0 1,0 c0.9,0.1 1.1,0.4 1.1,1 l0.1,0.8 l-2.1,0.2 l0,0.30000000000000004 l2.9000000000000004,-0.2 c0.6000000000000001,-0.1 1.2000000000000002,0.30000000000000004 1.4000000000000001,1 c0.30000000000000004,0.8 0.30000000000000004,1.3 0.2,2.1 c-0.1,0.6000000000000001 -0.4,1.1 -1,1.2000000000000002 l-0.7000000000000001,0.1 l-0.1,-1 c-0.1,-0.7000000000000001 -0.7000000000000001,-1.3 -1.4000000000000001,-1.2000000000000002 l-2.1,0.2 c-0.6000000000000001,0 -1.1,-0.4 -1.1,-1 l-0.2,-2 c0,-0.6000000000000001 0.4,-1 0.9,-1.2000000000000002 c0.4,-0.1 0.7000000000000001,-0.1 1.1,-0.2 z m1.2000000000000002,0.5 c-0.2,0 -0.4,0.2 -0.4,0.4 c0,0.2 0.2,0.4 0.4,0.4 c0.2,0 0.4,-0.2 0.4,-0.4 c0,-0.2 -0.2,-0.4 -0.4,-0.4 z",
"shapes": [
"M1727.043,0.031 C1584.492,0.691 1448.359,12.848 1328.579,34.045 C975.713,96.384 911.648,226.862 911.648,467.495 L911.648,785.294 L1745.507,785.294 L1745.507,891.228 L598.709,891.228 C356.369,891.228 144.167,1036.889 77.792,1313.987 C1.231,1631.606 -2.166,1829.804 77.792,2161.451 C137.068,2408.317 278.62,2584.213 520.96,2584.213 L807.661,2584.213 L807.661,2203.242 C807.661,1928.011 1045.794,1685.238 1328.579,1685.238 L2161.464,1685.238 C2393.312,1685.238 2578.395,1494.345 2578.395,1261.507 L2578.395,467.495 C2578.395,241.514 2387.755,71.76 2161.464,34.045 C2018.219,10.197 1869.594,-0.631 1727.043,0.029 Z M1276.099,255.63 C1362.229,255.63 1432.568,327.115 1432.568,415.015 C1432.568,502.601 1362.229,573.426 1276.099,573.426 C1189.658,573.426 1119.628,502.601 1119.628,415.015 C1119.628,327.115 1189.658,255.63 1276.099,255.63 Z"
],
"donor": ""
},
{
"normalized": "M0,0 l1,0 c0.8,0 1.1,0.4 1.3,1 c0.30000000000000004,0.8 0.30000000000000004,1.4000000000000001 0,2 c-0.30000000000000004,0.6000000000000001 -0.6000000000000001,1 -1.3,1 l-4,0 l0,0.30000000000000004 l2.7,0 l0,0.8 c0,0.6000000000000001 -0.7000000000000001,0.9 -1.3,1 c-0.5,0.1 -0.9,0.2 -1.3,0.2 l0,0 c-0.5,0 -0.9,-0.1 -1.3,-0.2 c-0.7000000000000001,-0.2 -1.3,-0.5 -1.3,-1 l0,-1.9000000000000001 c0,-0.5 0.6000000000000001,-1 1.3,-1 l2.7,0 c0.9,0 1.7000000000000002,-0.6000000000000001 1.7000000000000002,-1.3 z m-1.5,4.800000000000001 c-0.30000000000000004,0 -0.5,0.2 -0.5,0.4 c0,0.2 0.2,0.4 0.5,0.4 c0.30000000000000004,0 0.5,-0.2 0.5,-0.4 c0,-0.2 -0.2,-0.4 -0.5,-0.4 z",
"shapes": [
"M2682.382,891.228 L2995.321,891.228 C3237.973,891.228 3352.361,1072.734 3412.253,1313.987 C3495.605,1649.06 3499.31,1900.249 3412.253,2161.451 C3327.973,2415.174 3237.666,2584.213 2995.321,2584.213 L1745.507,2584.213 L1745.507,2690.144 L2578.395,2690.144 L2578.395,3007.944 C2578.395,3248.574 2371.393,3370.896 2161.464,3431.677 C2010.574,3475.459 1873.997,3495.122 1743.713,3495.253 L1741.074,3495.253 C1599.641,3495.11 1465.57,3471.957 1328.579,3431.677 C1108.154,3366.842 911.648,3233.923 911.648,3007.944 L911.648,2213.931 C911.648,1985.458 1100.438,1790.199 1328.579,1790.199 L2161.464,1790.199 C2438.999,1790.199 2682.382,1548.58 2682.382,1261.507 Z M2213.944,2902.009 C2127.814,2902.009 2057.476,2972.836 2057.476,3060.426 C2057.476,3148.321 2127.814,3219.811 2213.944,3219.811 C2300.385,3219.811 2370.417,3148.321 2370.417,3060.426 C2370.417,2972.836 2300.385,2902.009 2213.944,2902.009 Z"
],
"donor": ""
}
]
}
5 changes: 5 additions & 0 deletions _static/font/TheNest-IconFont/src/U+E000.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions _static/font/TheNest-IconFont/src/U+E001.parts.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"version": "1.0.0",
"reuse_tolerance": 0.1,
"view_box": "0 0 1200 1200",
"shape_sets": [
{
"normalized": "M0,0 c0.4,0 0.7000000000000001,0 1,0 c0.9,0.1 1.1,0.4 1.1,1 l0.1,0.8 l-2.1,0.2 l0,0.30000000000000004 l2.9000000000000004,-0.2 c0.6000000000000001,-0.1 1.2000000000000002,0.30000000000000004 1.4000000000000001,1 c0.30000000000000004,0.8 0.30000000000000004,1.3 0.2,2.1 c-0.1,0.6000000000000001 -0.4,1.1 -1,1.2000000000000002 l-0.7000000000000001,0.1 l-0.1,-1 c-0.1,-0.7000000000000001 -0.7000000000000001,-1.3 -1.4000000000000001,-1.2000000000000002 l-2.1,0.2 c-0.6000000000000001,0 -1.1,-0.4 -1.1,-1 l-0.2,-2 c0,-0.6000000000000001 0.4,-1 0.9,-1.2000000000000002 c0.4,-0.1 0.7000000000000001,-0.1 1.1,-0.2 z m1.2000000000000002,0.5 c-0.2,0 -0.4,0.2 -0.4,0.4 c0,0.2 0.2,0.4 0.4,0.4 c0.2,0 0.4,-0.2 0.4,-0.4 c0,-0.2 -0.2,-0.4 -0.4,-0.4 z",
"shapes": [
"M1727.043,0.031 C1584.492,0.691 1448.359,12.848 1328.579,34.045 C975.713,96.384 911.648,226.862 911.648,467.495 L911.648,785.294 L1745.507,785.294 L1745.507,891.228 L598.709,891.228 C356.369,891.228 144.167,1036.889 77.792,1313.987 C1.231,1631.606 -2.166,1829.804 77.792,2161.451 C137.068,2408.317 278.62,2584.213 520.96,2584.213 L807.661,2584.213 L807.661,2203.242 C807.661,1928.011 1045.794,1685.238 1328.579,1685.238 L2161.464,1685.238 C2393.312,1685.238 2578.395,1494.345 2578.395,1261.507 L2578.395,467.495 C2578.395,241.514 2387.755,71.76 2161.464,34.045 C2018.219,10.197 1869.594,-0.631 1727.043,0.029 Z M1276.099,255.63 C1362.229,255.63 1432.568,327.115 1432.568,415.015 C1432.568,502.601 1362.229,573.426 1276.099,573.426 C1189.658,573.426 1119.628,502.601 1119.628,415.015 C1119.628,327.115 1189.658,255.63 1276.099,255.63 Z"
],
"donor": ""
},
{
"normalized": "M0,0 l1,0 c0.8,0 1.1,0.4 1.3,1 c0.30000000000000004,0.8 0.30000000000000004,1.4000000000000001 0,2 c-0.30000000000000004,0.6000000000000001 -0.6000000000000001,1 -1.3,1 l-4,0 l0,0.30000000000000004 l2.7,0 l0,0.8 c0,0.6000000000000001 -0.7000000000000001,0.9 -1.3,1 c-0.5,0.1 -0.9,0.2 -1.3,0.2 l0,0 c-0.5,0 -0.9,-0.1 -1.3,-0.2 c-0.7000000000000001,-0.2 -1.3,-0.5 -1.3,-1 l0,-1.9000000000000001 c0,-0.5 0.6000000000000001,-1 1.3,-1 l2.7,0 c0.9,0 1.7000000000000002,-0.6000000000000001 1.7000000000000002,-1.3 z m-1.5,4.800000000000001 c-0.30000000000000004,0 -0.5,0.2 -0.5,0.4 c0,0.2 0.2,0.4 0.5,0.4 c0.30000000000000004,0 0.5,-0.2 0.5,-0.4 c0,-0.2 -0.2,-0.4 -0.5,-0.4 z",
"shapes": [
"M2682.382,891.228 L2995.321,891.228 C3237.973,891.228 3352.361,1072.734 3412.253,1313.987 C3495.605,1649.06 3499.31,1900.249 3412.253,2161.451 C3327.973,2415.174 3237.666,2584.213 2995.321,2584.213 L1745.507,2584.213 L1745.507,2690.144 L2578.395,2690.144 L2578.395,3007.944 C2578.395,3248.574 2371.393,3370.896 2161.464,3431.677 C2010.574,3475.459 1873.997,3495.122 1743.713,3495.253 L1741.074,3495.253 C1599.641,3495.11 1465.57,3471.957 1328.579,3431.677 C1108.154,3366.842 911.648,3233.923 911.648,3007.944 L911.648,2213.931 C911.648,1985.458 1100.438,1790.199 1328.579,1790.199 L2161.464,1790.199 C2438.999,1790.199 2682.382,1548.58 2682.382,1261.507 Z M2213.944,2902.009 C2127.814,2902.009 2057.476,2972.836 2057.476,3060.426 C2057.476,3148.321 2127.814,3219.811 2213.944,3219.811 C2300.385,3219.811 2370.417,3148.321 2370.417,3060.426 C2370.417,2972.836 2300.385,2902.009 2213.944,2902.009 Z"
],
"donor": ""
}
]
}
5 changes: 5 additions & 0 deletions _static/font/TheNest-IconFont/src/U+E001.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions _static/font/TheNest-IconFont/src/U+E002.parts.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"version": "1.0.0",
"reuse_tolerance": 0.1,
"view_box": "0 0 1200 1200",
"shape_sets": [
{
"normalized": "M0,0 l1,0 l-0.1,1 l-1,-0.2 l-0.1,-0.4 z",
"shapes": [
"M30.446,196.616 L12.916,0 L205.537,0 L187.989,196.585 L109.109,218.453 Z"
],
"donor": ""
},
{
"normalized": "M0,0 l1,0 l0,-0.5 l-1.1,0.1 z",
"shapes": [
"M172.966,184.067 L187.962,16.076 L109.227,16.076 L109.227,201.738 Z"
],
"donor": ""
},
{
"normalized": "M0,0 l1,0 l0.2,1 l-1,0 z m-1,0 l0.2,1.1 l-1,0 l-0.2,-1.1 z m3.8000000000000003,0.9 l0,0 l-0.4,-0.5 l-0.8,0 l-0.1,-0.4 l1.6,0 l0.7000000000000001,0.9 l0,0 z",
"shapes": [
"M53.103,88.998 L55.264,113.112 L109.227,113.112 L109.227,88.998 Z M50.952,64.305 L109.227,64.305 L109.227,40.191 L48.76,40.191 Z M109.227,151.625 L109.121,151.654 L82.265,144.402 L80.548,125.169 L56.341,125.169 L59.72,163.032 L109.116,176.745 L109.227,176.714 Z"
],
"donor": ""
},
{
"normalized": "M0,0 l1,0 l0,1 l1.3,-0.1 l0.30000000000000004,-0.9 l1,0 l-0.6000000000000001,1.7000000000000002 l-0.2,0 l-2.6,0.2 l-0.30000000000000004,0 l-2,0.1 l0,-2 l1,0 l0,1.1 l1,-0.1 z",
"shapes": [
"M109.143,88.998 L109.143,113.112 L138.837,113.112 L136.038,144.387 L109.143,151.645 L109.143,176.733 L158.579,163.032 L158.941,158.958 L164.608,95.473 L165.196,88.998 L169.55,40.191 L109.143,40.191 L109.143,64.305 L143.123,64.305 L140.928,88.998 Z"
],
"donor": ""
}
]
}
7 changes: 7 additions & 0 deletions _static/font/TheNest-IconFont/src/U+E002.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions _static/font/TheNest-IconFont/src/U+E003.parts.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"version": "1.0.0",
"reuse_tolerance": 0.1,
"view_box": "0 0 1200 1200",
"shape_sets": [
{
"normalized": "M0,0 l1,0 l-0.1,1 l-1,-0.2 l-0.1,-0.4",
"shapes": [
"M30.293,196.267 L12.8,0 L205.227,0 L187.733,196.267 L108.8,218.453"
],
"donor": ""
},
{
"normalized": "M0,0 l1,0 l0.9,1 l-1.1,0.1",
"shapes": [
"M109.227,201.387 L172.8,183.893 L187.733,15.787 L109.227,15.787"
],
"donor": ""
},
{
"normalized": "M0,0 l1,0 l0.1,1 l-1.1,0 l0,1 l0,0 l1.9000000000000001,0 l0,-0.30000000000000004 l-0.2,-2.7 l-1.7000000000000002,0 z m0,-2.5 l0,0 l0.8,0.30000000000000004 l0.1,0.8 l0.4,0 l0.30000000000000004,0 l-0.1,-1.5 l-1.5,-0.6000000000000001 l0,0 z",
"shapes": [
"M109.227,88.747 L77.227,88.747 L75.093,64 L109.227,64 L109.227,40.107 L108.8,40.107 L48.64,40.107 L49.067,46.507 L55.04,113.067 L109.227,113.067 Z M109.227,151.467 L108.8,151.467 L81.92,144.213 L80.213,125.013 L67.413,125.013 L56.32,125.013 L59.307,162.987 L108.8,176.64 L109.227,176.64 Z"
],
"donor": ""
},
{
"normalized": "M0,0 l1,0 l0,1 l1.3,-0.1 l0.30000000000000004,-0.9 l1,0 l-0.6000000000000001,1.7000000000000002 l-0.2,0 l-2.6,0.2 l-0.30000000000000004,0 l0,-0.2 z m-2,0 l0.6000000000000001,0 l0.4,0 l0,0 l0,2 l0,0 l0,0 l-0.2,0 l-0.5,0 l-0.30000000000000004,0 z",
"shapes": [
"M108.8,88.747 L108.8,113.067 L138.667,113.067 L135.68,144.213 L108.8,151.467 L108.8,176.64 L158.293,162.987 L158.72,158.72 L164.267,95.147 L165.12,88.747 L158.293,88.747 Z M108.8,40.107 L108.8,55.04 L108.8,64 L108.8,64 L167.253,64 L167.253,64 L167.253,64 L167.68,58.88 L168.96,46.507 L169.387,40.107 Z"
],
"donor": ""
}
]
}
7 changes: 7 additions & 0 deletions _static/font/TheNest-IconFont/src/U+E003.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 6da3fca

Please sign in to comment.