diff options
author | D3SOX | 2023-01-23 11:34:36 +0100 |
---|---|---|
committer | D3SOX | 2023-01-23 11:34:36 +0100 |
commit | 8a54f7706cb9f1beae468f68e3f78845d4696b72 (patch) | |
tree | a93eb9159d584f0d47ac9a13d047d9fe3d1cb5b1 /allow-glyphdir.diff | |
parent | df02ebe9772c54495b31a7573e13edce9c5d6010 (diff) | |
download | aur-8a54f7706cb9f1beae468f68e3f78845d4696b72.tar.gz |
update to nerd-fonts 2.3.1
Diffstat (limited to 'allow-glyphdir.diff')
-rw-r--r-- | allow-glyphdir.diff | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/allow-glyphdir.diff b/allow-glyphdir.diff deleted file mode 100644 index 2934c4532c51..000000000000 --- a/allow-glyphdir.diff +++ /dev/null @@ -1,21 +0,0 @@ -diff --git a/font-patcher-2.1.0 b/font-patcher-2.1.0 -index 815d1fd48..55169be26 100755 ---- a/font-patcher-2.1.0 -+++ b/font-patcher-2.1.0 -@@ -85,7 +85,7 @@ class font_patcher: - if symfont: - symfont.close() - symfont = None -- symfont = fontforge.open(__dir__ + "/src/glyphs/" + patch['Filename']) -+ symfont = fontforge.open(self.args.glyphdir + patch['Filename']) - - # Match the symbol font size to the source font size - symfont.em = self.sourceFont.em -@@ -143,6 +143,7 @@ class font_patcher: - parser.add_argument('--custom', dest='custom', default=False, type=str, nargs='?', help='Specify a custom symbol font. All new glyphs will be copied, with no scaling applied.') - parser.add_argument('-ext', '--extension', dest='extension', default="", type=str, nargs='?', help='Change font file type to create (e.g., ttf, otf)') - parser.add_argument('-out', '--outputdir', dest='outputdir', default=".", type=str, nargs='?', help='The directory to output the patched font file to') -+ parser.add_argument('--glyphdir', dest='glyphdir', default=__dir__ + "/src/glyphs/", type=str, nargs='?', help='Path to glyphs to be used for patching') - - # progress bar arguments - https://stackoverflow.com/questions/15008758/parsing-boolean-values-with-argparse - progressbars_group_parser = parser.add_mutually_exclusive_group(required=False) |