mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2024-12-13 17:18:37 +02:00
commit
fca5c6cc9a
@ -13,7 +13,7 @@ This project is using [Semantic Versioning 2.0.0](http://semver.org/)
|
||||
- Share Tech Mono (enhancement #105)
|
||||
- Space Mono (enhancement #93)
|
||||
- Added new Glyph Sets:
|
||||
- [Font Awesome Extension](http://andrelgava.github.io/font-awesome-extension/) (Over 170 glyphs) (enhancement #96)
|
||||
- [Font Awesome Extension](http://andrelzgava.github.io/font-awesome-extension/) (Over 170 glyphs) (enhancement #96)
|
||||
- [IEC Power Symbols](http://unicodepowersymbol.com/) (enhancement #94)
|
||||
- Added additional methods to download the fonts:
|
||||
- Support for [Home Brew fonts](https://github.com/caskroom/homebrew-fonts) (enhancement #72)
|
||||
|
@ -44,7 +44,7 @@ parser.add_argument('-q', '--quiet', '--shutup', dest='quiet', action='store_tru
|
||||
parser.add_argument('-w', '--windows', dest='windows', action='store_true', help='Limit the internal font name to 31 characters (for Windows compatibility)', default=False)
|
||||
parser.add_argument('-c', '--complete', dest='complete', action='store_true', help='Add all available Glyphs', default=False)
|
||||
parser.add_argument('--fontawesome', dest='fontawesome', action='store_true', help='Add Font Awesome Glyphs (http://fortawesome.github.io/Font-Awesome)', default=False)
|
||||
parser.add_argument('--fontawesomeextension', dest='fontawesomeextension', action='store_true', help='Add Font Awesome Extension Glyphs (http://andrelgava.github.io/font-awesome-extension)', default=False)
|
||||
parser.add_argument('--fontawesomeextension', dest='fontawesomeextension', action='store_true', help='Add Font Awesome Extension Glyphs (http://andrelzgava.github.io/font-awesome-extension)', default=False)
|
||||
parser.add_argument('--fontlinux', dest='fontlinux', action='store_true', help='Add Font Linux Glyphs (https://github.com/Lukas-W/font-linux)', default=False)
|
||||
parser.add_argument('--octicons', dest='octicons', action='store_true', help='Add Octicons Glyphs (https://octicons.github.com)', default=False)
|
||||
parser.add_argument('--powersymbols', dest='powersymbols', action='store_true', help='Add IEC Power Symbols (http://unicodepowersymbol.com)', default=False)
|
||||
@ -336,7 +336,7 @@ PATCH_SET = [
|
||||
{ 'Enabled': args.powerline, 'Name': "Powerline Symbols", 'Filename': "PowerlineSymbols.otf", 'Exact': True, 'SymStart': 0xE0B0, 'SymEnd': 0xE0B3, 'SrcStart': None, 'SrcEnd': None, 'ScaleGlyph': None, 'Attributes': SYM_ATTR_POWERLINE },
|
||||
{ 'Enabled': args.powerlineextra, 'Name': "Powerline Extra Symbols", 'Filename': "PowerlineExtraSymbols.otf", 'Exact': True, 'SymStart': 0xE0A3, 'SymEnd': 0xE0A3, 'SrcStart': None, 'SrcEnd': None, 'ScaleGlyph': None, 'Attributes': SYM_ATTR_POWERLINE },
|
||||
{ 'Enabled': args.powerlineextra, 'Name': "Powerline Extra Symbols", 'Filename': "PowerlineExtraSymbols.otf", 'Exact': True, 'SymStart': 0xE0B4, 'SymEnd': 0xE0C8, 'SrcStart': None, 'SrcEnd': None, 'ScaleGlyph': None, 'Attributes': SYM_ATTR_POWERLINE },
|
||||
{ 'Enabled': args.powerlineextra, 'Name': "Powerline Extra Symobls", 'Filename': "PowerlineExtraSymbols.otf", 'Exact': True, 'SymStart': 0xE0CC, 'SymEnd': 0xE0D4, 'SrcStart': None, 'SrcEnd': None, 'ScaleGlyph': None, 'Attributes': SYM_ATTR_POWERLINE },
|
||||
{ 'Enabled': args.powerlineextra, 'Name': "Powerline Extra Symbols", 'Filename': "PowerlineExtraSymbols.otf", 'Exact': True, 'SymStart': 0xE0CC, 'SymEnd': 0xE0D4, 'SrcStart': None, 'SrcEnd': None, 'ScaleGlyph': None, 'Attributes': SYM_ATTR_POWERLINE },
|
||||
{ 'Enabled': args.pomicons, 'Name': "Pomicons", 'Filename': "Pomicons.otf", 'Exact': True, 'SymStart': 0xE000, 'SymEnd': 0xE00A, 'SrcStart': None, 'SrcEnd': None, 'ScaleGlyph': None, 'Attributes': SYM_ATTR_DEFAULT },
|
||||
{ 'Enabled': args.fontawesome, 'Name': "Font Awesome", 'Filename': "FontAwesome.otf", 'Exact': True, 'SymStart': 0xF000, 'SymEnd': 0xF2E0, 'SrcStart': None, 'SrcEnd': None, 'ScaleGlyph': FONTA_SCALE_LIST,'Attributes': SYM_ATTR_FONTA },
|
||||
{ 'Enabled': args.fontawesomeextension, 'Name': "Font Awesome Extension", 'Filename': "font-awesome-extension.ttf", 'Exact': False, 'SymStart': 0xE000, 'SymEnd': 0xE0A9, 'SrcStart': 0xE200, 'SrcEnd': 0xE2A9, 'ScaleGlyph': None, 'Attributes': SYM_ATTR_DEFAULT }, # Maximize
|
||||
@ -568,7 +568,7 @@ def copy_glyphs(sourceFont, sourceFontStart, sourceFontEnd, symbolFont, symbolFo
|
||||
scale_ratio_x = scale_factor
|
||||
scale_ratio_y = scale_factor
|
||||
else:
|
||||
# In this case, each glyph is sized independantly to each other
|
||||
# In this case, each glyph is sized independently to each other
|
||||
scale_ratio_x = get_scale_factor(font_dim, sym_dim)
|
||||
scale_ratio_y = scale_ratio_x
|
||||
else:
|
||||
@ -633,7 +633,7 @@ def copy_glyphs(sourceFont, sourceFontStart, sourceFontEnd, symbolFont, symbolFo
|
||||
# didn't go through the scaling operations.
|
||||
sourceFont[currentSourceFontGlyph].width = font_dim['width']
|
||||
|
||||
# reset selection so iteration works propertly @todo fix? rookie misunderstanding?
|
||||
# reset selection so iteration works properly @todo fix? rookie misunderstanding?
|
||||
# This is likely needed because the selection was changed when the glyph was copy/pasted
|
||||
if symbolFontStart == 0:
|
||||
symbolFont.selection.all()
|
||||
|
@ -96,7 +96,7 @@ The following Sankey flow diagram shows the current glyph sets included:
|
||||
![image](images/fontforge-glyph-set-font-awesome-4.png)
|
||||
|
||||
### [Font Awesome Extension][font-awesome-extension]
|
||||
> Simple Font Awesome Extension. / ([repo][font-awesome-extension]) / ([website](http://andrelgava.github.io/font-awesome-extension/))
|
||||
> Simple Font Awesome Extension. / ([repo][font-awesome-extension]) / ([website](http://andrelzgava.github.io/font-awesome-extension/))
|
||||
|
||||
![image](images/fontforge-glyph-set-font-awesome-extension-1.png)
|
||||
|
||||
@ -355,7 +355,7 @@ optional arguments:
|
||||
-c, --complete Add all available Glyphs
|
||||
--fontawesome Add Font Awesome Glyphs (http://fortawesome.github.io/Font-Awesome)
|
||||
--fontawesomeextension
|
||||
Add Font Awesome Extension Glyphs (http://andrelgava.github.io/font-awesome-extension)
|
||||
Add Font Awesome Extension Glyphs (http://andrelzgava.github.io/font-awesome-extension)
|
||||
--fontlinux Add Font Linux Glyphs (https://github.com/Lukas-W/font-linux)
|
||||
--octicons Add Octicons Glyphs (https://octicons.github.com)
|
||||
--powersymbols Add IEC Power Symbols (http://unicodepowersymbol.com)
|
||||
@ -448,7 +448,7 @@ Repo References
|
||||
[vim-devicons]:https://github.com/ryanoasis/vim-devicons "VimDevIcons Vim Plugin (external link) ➶"
|
||||
[vorillaz-devicons]:http://vorillaz.github.io/devicons/
|
||||
[font-awesome]:https://github.com/FortAwesome/Font-Awesome
|
||||
[font-awesome-extension]:https://github.com/AndreLGava/font-awesome-extension
|
||||
[font-awesome-extension]:https://github.com/AndreLZGava/font-awesome-extension
|
||||
[octicons]:https://github.com/github/octicons
|
||||
[font-linux]:https://github.com/Lukas-W/font-linux
|
||||
[gabrielelana-pomicons]:https://github.com/gabrielelana/pomicons
|
||||
|
Loading…
Reference in New Issue
Block a user