From 1ae0f071ecfd0bf742cf5c402a60a7c56c1fd8d3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 1 Nov 2024 00:41:26 +0000 Subject: [PATCH] chore: change batteries --- font-patcher | 11 +++++++---- src/glyphs/font-logos.ttf | Bin 45772 -> 48592 bytes 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/font-patcher b/font-patcher index ac72ece..7c57aeb 100755 --- a/font-patcher +++ b/font-patcher @@ -6,7 +6,7 @@ from __future__ import absolute_import, print_function, unicode_literals # Change the script version when you edit this script: -script_version = "4.14.4" +script_version = "4.14.5" version = "3.2.1" projectName = "Nerd Fonts" @@ -1105,7 +1105,7 @@ class font_patcher: {'Enabled': False , 'Name': "Material legacy", 'Filename': "materialdesign/materialdesignicons-webfont.ttf", 'Exact': False, 'SymStart': 0xF001, 'SymEnd': 0xF847, 'SrcStart': 0xF500, 'ScaleRules': None, 'Attributes': SYM_ATTR_DEFAULT}, {'Enabled': self.args.material, 'Name': "Material", 'Filename': "materialdesign/MaterialDesignIconsDesktop.ttf", 'Exact': True, 'SymStart': 0xF0001,'SymEnd': 0xF1AF0,'SrcStart': None, 'ScaleRules': MDI_SCALE_LIST, 'Attributes': SYM_ATTR_DEFAULT}, {'Enabled': self.args.weather, 'Name': "Weather Icons", 'Filename': "weather-icons/weathericons-regular-webfont.ttf", 'Exact': False, 'SymStart': 0xF000, 'SymEnd': 0xF0EB, 'SrcStart': 0xE300, 'ScaleRules': WEATH_SCALE_LIST, 'Attributes': SYM_ATTR_DEFAULT}, - {'Enabled': self.args.fontlogos, 'Name': "Font Logos", 'Filename': "font-logos.ttf", 'Exact': True, 'SymStart': 0xF300, 'SymEnd': 0xF375, 'SrcStart': None, 'ScaleRules': None, 'Attributes': SYM_ATTR_DEFAULT}, + {'Enabled': self.args.fontlogos, 'Name': "Font Logos", 'Filename': "font-logos.ttf", 'Exact': True, 'SymStart': 0xF300, 'SymEnd': 0xF381, 'SrcStart': None, 'ScaleRules': None, 'Attributes': SYM_ATTR_DEFAULT}, {'Enabled': self.args.octicons, 'Name': "Octicons", 'Filename': "octicons/octicons.ttf", 'Exact': False, 'SymStart': 0xF000, 'SymEnd': 0xF105, 'SrcStart': 0xF400, 'ScaleRules': OCTI_SCALE_LIST, 'Attributes': SYM_ATTR_DEFAULT}, # Magnifying glass {'Enabled': self.args.octicons, 'Name': "Octicons", 'Filename': "octicons/octicons.ttf", 'Exact': True, 'SymStart': 0x2665, 'SymEnd': 0x2665, 'SrcStart': None, 'ScaleRules': OCTI_SCALE_LIST, 'Attributes': SYM_ATTR_DEFAULT}, # Heart {'Enabled': self.args.octicons, 'Name': "Octicons", 'Filename': "octicons/octicons.ttf", 'Exact': True, 'SymStart': 0X26A1, 'SymEnd': 0X26A1, 'SrcStart': None, 'ScaleRules': OCTI_SCALE_LIST, 'Attributes': SYM_ATTR_DEFAULT}, # Zap @@ -2128,8 +2128,11 @@ def main(): sourceFonts = [] all_fonts = fontforge.fontsInFile(args.font) if not all_fonts: - logger.critical("Can not find any fonts in '%s'", args.font) - sys.exit(1) + if re.match(".*\\.woff2?", args.font, re.I): + all_fonts=[ "" ] + else: + logger.critical("Can not find any fonts in '%s'", args.font) + sys.exit(1) for i, subfont in enumerate(all_fonts): if len(all_fonts) > 1: print("\n") diff --git a/src/glyphs/font-logos.ttf b/src/glyphs/font-logos.ttf index 3e2e8d7333fa55e48405b213f55abd98aeaef540..8b501cac363308dab282c02f15e2b9b08087540d 100644 GIT binary patch delta 4063 zcma)9du)@}6+h>D+|Qq%acqCi!?7JZu^~8#AD``%Ku7}N)sTcoL$p;C6U?K7kcL2^ zuMa3iYxhFSRH-SWtnIpuh6Z-gD1A_i=vb+;dOf{IhWRKY{@W05&)RB8;qDxoO>VTVMPYz^gwcu5Wl_XL7i3 z*D?ScqyEHn8AtM-n=hgI0*2PmE>n9_wAp4UX@=4c=^XPM=C0Z zgKz%mogch%mt)C4!9r8%?@uePZ7j9IwT<7!ta73#d19sqoA8e_cj7WUdf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