Add icons for Emacs and Orgmode

This commit is contained in:
ashfinal 2022-05-21 07:06:58 +08:00
parent fef67f39a6
commit 7f04248439
5 changed files with 59 additions and 1 deletions

View file

@ -66,4 +66,6 @@ i='' i_custom_electron=$i
i='' i_custom_crystal=$i
i='' i_custom_purescript=$i
i='' i_custom_puppet=$i
i='' i_custom_emacs=$i
i='' i_custom_orgmode=$i
unset i

View file

@ -588,7 +588,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': 0xE531, 'SrcStart': 0xE5FA, 'SrcEnd': 0xE631, 'ScaleGlyph': None, 'Attributes': SYM_ATTR_DEFAULT},
{'Enabled': True, 'Name': "Seti-UI + Custom", 'Filename': "original-source.otf", 'Exact': False, 'SymStart': 0xE4FA, 'SymEnd': 0xE533, 'SrcStart': 0xE5FA, 'SrcEnd': 0xE633, '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': "powerline-symbols/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': "powerline-symbols/PowerlineSymbols.otf", 'Exact': True, 'SymStart': 0xE0B0, 'SymEnd': 0xE0B3, 'SrcStart': None, 'SrcEnd': None, 'ScaleGlyph': None, 'Attributes': SYM_ATTR_POWERLINE},

Binary file not shown.

55
src/svgs/emacs.svg Normal file
View file

@ -0,0 +1,55 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generated by IcoMoon.io -->
<svg
version="1.1"
width="32"
height="32"
viewBox="0 0 32 32"
id="svg1286"
sodipodi:docname="glyphassvg.svg"
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04, custom)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<defs
id="defs1290" />
<sodipodi:namedview
id="namedview1288"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
showgrid="false"
inkscape:zoom="19.576956"
inkscape:cx="16.013726"
inkscape:cy="16.013726"
inkscape:window-width="1362"
inkscape:window-height="724"
inkscape:window-x="0"
inkscape:window-y="20"
inkscape:window-maximized="1"
inkscape:current-layer="svg1286" />
<title
id="title1281">ll</title>
<path
fill="#000000"
d="m 11.524355,25.123976 c 3.7383,0.0869 7.4807,-0.58665 10.99838,-1.8139 1.26978,-0.54712 0.73653,-2.11615 -0.61087,-1.84559 -3.15453,-0.50306 -6.52758,0.27038 -9.51785,-1.10909 -1.22306,-1.46956 1.01274,-2.77309 2.26693,-3.14193 1.75296,-0.70565 3.63199,-1.00221 5.45111,-1.48768 -1.24878,-0.98362 -2.8554,-1.3499 -4.21565,-2.1515 -0.90874,-0.38553 -2.91908,-0.99918 -1.98818,-2.26721 2.00362,-0.8414 4.23718,-0.75153 6.35914,-0.8654 1.59822,-0.29003 2.05156,-2.5584003 0.68491,-3.4158403 -1.49584,-1.112309 -3.43446,-0.351404 -5.03627,0.0785 -0.53894,0.0581 -2.4379,0.63319 -0.79603,0.57591 1.18287,0.0285 2.62193,-0.44744 3.56818,0.48153 -0.30613,1.10706 -2.56943,0.70303 -3.6964,1.01684 -1.59009,0.13853 -3.25249,0.0333 -4.75108,0.66953 -1.2614096,1.3398103 0.62696,2.8388003 1.76524,3.4730503 1.29106,0.83369 2.72515,1.42922 4.19496,1.87706 -3.01984,-0.15022 -6.3740796,0.50044 -8.4598196,2.8364 -0.922437,1.37234 0.37034,2.9569 1.70228,3.43158 2.3652096,1.20419 5.0854796,1.71003 7.7288796,1.38369 0.57322,0.0236 2.17465,-0.234 2.03853,0.16984 -1.3459,0.85028 -3.03103,0.86247 -4.51405,1.3815 -1.05544,0.25081 -2.11372,0.48762 -3.17284,0.72271 z m 17.47249,-9.1201 c 0.14909,6.2782 -5.00533,12.21294 -11.34825,12.89188 -5.26255,0.69321 -10.8092266,-2.12556 -13.1780016,-6.84805 -2.505963,-4.72614 -1.782027,-10.96141 1.963776,-14.8579903 3.376806,-3.679808 9.0024156,-5.203648 13.7578456,-3.484402 4.74889,1.606465 8.35822,6.080862 8.74535,11.0471323 0.0398,0.41559 0.0597,0.83321 0.0593,1.25087 z"
id="path1284"
style="stroke-width:0.0312499;fill:#444444;fill-opacity:1" />
<metadata
id="metadata1292">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:title>ll</dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
</svg>

After

Width:  |  Height:  |  Size: 3 KiB

1
src/svgs/orgmode.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 5.5 KiB