From 7ef696a8b4328f64e0de6f6163a740fc8f4799d5 Mon Sep 17 00:00:00 2001 From: Fini Jastrow Date: Sat, 21 Jan 2023 12:29:54 +0100 Subject: [PATCH] font-patcher: Fix: Fix more 'Nerd Font Mono' too wide [why] With commit 99c260831 font-patcher: Fix more 'Nerd Font Mono' too wide the glyphs 'ij' and 'IJ' are exempted from the advance width calculation, because some fonts (i.e. Overpass Mono) defines them as two cell wide glyphs (Hello? 'Mono'?) For some obscure reason it was 'IJ' and 'J circumflex' that were exempt, not 'ij'. [how] Exempt correct code. Fixes: #703 Signed-off-by: Fini Jastrow --- font-patcher | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/font-patcher b/font-patcher index 0d542b42c..016827ac7 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 = "3.4.4" +script_version = "3.4.5" version = "2.3.0" projectName = "Nerd Fonts" @@ -970,7 +970,7 @@ class font_patcher: warned = self.args.quiet or self.args.nonmono # Do not warn if quiet or proportional target for glyph in range(0x21, 0x17f): if glyph in range(0x7F, 0xBF) or glyph in [ - 0x132, 0x134, # IJ, ij (in Overpass Mono) + 0x132, 0x133, # IJ, ij (in Overpass Mono) 0x022, 0x027, 0x060, # Single and double quotes in Inconsolata LGC 0x0D0, 0x10F, 0x110, 0x111, 0x127, 0x13E, 0x140, 0x165, # Eth and others with stroke or caron in RobotoMono ]: