From a8b9e1da06e5729923dabbfaea93ffff69abd067 Mon Sep 17 00:00:00 2001 From: Fini Jastrow Date: Thu, 16 Nov 2023 18:35:53 +0100 Subject: [PATCH] Increase Powerline overlap (only triangle) [why] We still fight with the faint lines on the big side of the powerline glyphs. They come from the LCD antialiasing mode that has problems with the borders. Other fonts use far more overlap. We use only a modest amount of overlap (2% of the width). [how] As the other fonts do, increase the overlap (to 7% now). We could not do that before, because we had no full-hight 'landing platforms' on the outsides and so the triangle would look cut off at not 100% hight. Now with the landing platforms we can increase the overlap and still have nice looking triangles that visibly reach the top and bottom of the line. Implement this only for the filled triangles to see how it goes. Related: #1245 Signed-off-by: Fini Jastrow --- font-patcher | 6 +++--- .../powerline-symbols/PowerlineSymbols.otf | Bin 2264 -> 2224 bytes 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/font-patcher b/font-patcher index 27032a68ba..451b56920d 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.7.1" +script_version = "4.7.2" version = "3.0.2" projectName = "Nerd Fonts" @@ -858,9 +858,9 @@ class font_patcher: 'default': {'align': 'c', 'valign': 'c', 'stretch': 'pa', 'params': {}}, # Arrow tips - 0xe0b0: {'align': 'l', 'valign': 'c', 'stretch': 'xy', 'params': {'overlap': 0.02, 'xy-ratio': 0.7}}, + 0xe0b0: {'align': 'l', 'valign': 'c', 'stretch': 'xy', 'params': {'overlap': 0.06, 'xy-ratio': 0.7}}, 0xe0b1: {'align': 'l', 'valign': 'c', 'stretch': 'xy', 'params': {'xy-ratio': 0.7}}, - 0xe0b2: {'align': 'r', 'valign': 'c', 'stretch': 'xy', 'params': {'overlap': 0.02, 'xy-ratio': 0.7}}, + 0xe0b2: {'align': 'r', 'valign': 'c', 'stretch': 'xy', 'params': {'overlap': 0.06, 'xy-ratio': 0.7}}, 0xe0b3: {'align': 'r', 'valign': 'c', 'stretch': 'xy', 'params': {'xy-ratio': 0.7}}, # Rounded arcs diff --git a/src/glyphs/powerline-symbols/PowerlineSymbols.otf b/src/glyphs/powerline-symbols/PowerlineSymbols.otf index b1582afb39a5f302941859c28ddbe652d3be54d9..bdc69340b3db16bc9e7a58b7c531834db52ef6fb 100644 GIT binary patch delta 568 zcmXX@O=uHA6#m}q>}G3MH#zuI9MUbV^bn|Pw1QB3sBI)P5YghH2h*Sl5t=60iaChY zlRXrqEQ<8tMeyVy5QSc(2T_pLgEwhG5QOTXH-Cmih;L&CzIpS$_vYi9H=kqm*m8De zCW`~O4+GwXRLV=w_x%9Or-1l!adIk!VH^YO8UQbQ*-7V_o7 z{=<8JIIpsS7uCw*Qu{sn*igp+C~O6;4S!tAxnsZ3YkX%0+dub5!}#?s?Y4K@X^}8C zIJF@{mKWbKHri>-3X|(QBGFOeLU4%QxGuf!<`$x~7wpiK8>h!S5|TZz;L*Frh=^rR UlidpwNd}Nc4(EAp;V1I?2V{+R#{d8T delta 605 zcmXw0O=uHA6#m}sY}}aWCRpPS%VwkLO>`A1ij4=gkp%+DZ@ut+DQatpcs6@SbR0voK#Y?SAb6DSmcHnz6-}mOd`FQg(`XgG;{hlcT+A~1;l}_i+T_1Ql4Cu1}%(G|u(lB5#zsKCloj-JB${IWckj;GL zYPnGTxe(L=ae%eKQn7HYJu>>1bMF~PODqKTQV*Y38Oc()R-X_x$Ojf#h?NTyRRjn4 zNV_=%#tP+P_qUZx%o}XzMYS?s^FLw_8)Oa}#F24-?bXd;qxUaD>JlsXY8j=?-Ea9B zC85qU*P%$27uTrseg;FjqVa{6l9*omU_|I$rz5|N2rau`sL!zJF^`5skTsh=%~{H8 z+F=71i?_#bRK{$_IegG@9NVp{J^MPnRgMzoMz5@_?{ERfJtnN3@zMB&jbx{S0_@10 z6rTG?Y<2HwCwo(#0dGHfNyY0{y