Merge pull request #545 from andys8/icon-purescript

Adds PureScript glyph/icon
This commit is contained in:
Ryan L McIntyre 2021-04-10 20:32:17 -07:00 committed by GitHub
commit 9f24ccf1a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 31 additions and 1 deletions

View file

@ -64,4 +64,5 @@ i='' i_custom_elm=$i
i='' i_custom_elixir=$i
i='' i_custom_electron=$i
i='' i_custom_crystal=$i
i='' i_custom_purescript=$i
unset i

View file

@ -518,7 +518,7 @@ class font_patcher:
# Define the character ranges
# Symbol font ranges
self.patch_set = [
{'Enabled': True, 'Name': "Seti-UI + Custom", 'Filename': "original-source.otf", 'Exact': False, 'SymStart': 0xE4FA, 'SymEnd': 0xE52F, 'SrcStart': 0xE5FA, 'SrcEnd': 0xE62F, 'ScaleGlyph': None, 'Attributes': SYM_ATTR_DEFAULT},
{'Enabled': True, 'Name': "Seti-UI + Custom", 'Filename': "original-source.otf", 'Exact': False, 'SymStart': 0xE4FA, 'SymEnd': 0xE530, 'SrcStart': 0xE5FA, 'SrcEnd': 0xE630, 'ScaleGlyph': None, 'Attributes': SYM_ATTR_DEFAULT},
{'Enabled': True, 'Name': "Devicons", 'Filename': "devicons.ttf", 'Exact': False, 'SymStart': 0xE600, 'SymEnd': 0xE6C5, 'SrcStart': 0xE700, 'SrcEnd': 0xE7C5, 'ScaleGlyph': DEVI_SCALE_LIST, 'Attributes': SYM_ATTR_DEFAULT},
{'Enabled': self.args.powerline, 'Name': "Powerline Symbols", 'Filename': "PowerlineSymbols.otf", 'Exact': True, 'SymStart': 0xE0A0, 'SymEnd': 0xE0A2, 'SrcStart': None, 'SrcEnd': None, 'ScaleGlyph': None, 'Attributes': SYM_ATTR_POWERLINE},
{'Enabled': self.args.powerline, 'Name': "Powerline Symbols", 'Filename': "PowerlineSymbols.otf", 'Exact': True, 'SymStart': 0xE0B0, 'SymEnd': 0xE0B3, 'SrcStart': None, 'SrcEnd': None, 'ScaleGlyph': None, 'Attributes': SYM_ATTR_POWERLINE},

Binary file not shown.

29
src/svgs/purescript.svg Normal file
View file

@ -0,0 +1,29 @@
<?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="32px" height="32px" viewBox="0 0 700.000000 700.000000"
preserveAspectRatio="xMidYMid meet">
<metadata>
Created by potrace 1.11, written by Peter Selinger 2001-2013
Modified (fill, size) by andys8 2020
</metadata>
<g transform="translate(0.000000,700.000000) scale(0.100000,-0.100000)"
fill="#444444" stroke="none">
<path d="M5086 5149 l-150 -150 482 -482 482 -482 -482 -483 -482 -483 150
-150 150 -150 569 568 c431 431 573 579 588 612 24 55 24 118 -2 174 -14 30
-176 199 -587 609 l-569 567 -149 -150z"/>
<path d="M2360 4698 c47 -44 114 -108 150 -142 36 -34 100 -93 141 -132 l75
-70 994 1 c547 1 996 3 997 3 1 1 -26 28 -60 60 -223 209 -348 325 -368 343
-21 18 -61 19 -1018 19 l-996 0 85 -82z"/>
<path d="M1183 3658 c-601 -604 -591 -592 -597 -688 -6 -83 5 -95 602 -693
312 -312 570 -566 575 -564 4 1 73 67 152 147 l145 145 -482 482 -481 481 482
483 482 482 -148 149 c-81 81 -150 148 -153 148 -3 0 -262 -258 -577 -572z"/>
<path d="M2730 3712 c-6 -2 -23 -16 -38 -30 -15 -15 -90 -85 -167 -157 -76
-71 -164 -154 -194 -182 l-56 -53 1000 0 1000 0 60 58 c77 73 306 287 352 330
29 26 32 32 17 33 -52 3 -1965 4 -1974 1z"/>
<path d="M2361 2567 c47 -45 141 -134 209 -197 67 -63 130 -122 138 -130 14
-13 140 -15 1014 -15 549 -1 998 0 998 1 0 3 -13 16 -150 144 -68 63 -133 124
-144 135 -12 11 -52 48 -89 83 l-68 62 -997 0 -997 0 86 -83z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB