From 525b634c09b027fb08c33d5b7ded0e86e4bc817b Mon Sep 17 00:00:00 2001 From: Fini Jastrow Date: Mon, 28 Oct 2024 22:30:24 +0100 Subject: [PATCH] Increase Powerline overlap (big triangles and more) [why] There are still the annoying vertical colored lines sometimes that turn up due to subpixel rendering. [how] Add "landing platforms" to the big triangular glyphs (E0B8, E0BA, E0BC, E0BE) and flames (E0C0, E0C2). The landing platform is approx 7% wide (based on one-cell width, assuming the glyphs are all rendered 2 cells wide for the "xy2" ones). Increase the overlap width for patching to 5%. See also: Merge request #1551 Merge request #1419 Commit 5e285867 Commit a8b9e1da Fixes: #1629 (well, not the top problem which is unfixable) Signed-off-by: Fini Jastrow --- font-patcher | 18 +++++++++--------- .../powerline-extra/PowerlineExtraSymbols.otf | Bin 51036 -> 51028 bytes src/glyphs/powerline-extra/README.md | 5 ++++- 3 files changed, 13 insertions(+), 10 deletions(-) diff --git a/font-patcher b/font-patcher index 7c57aeb320..bc6dba1768 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.5" +script_version = "4.14.6" version = "3.2.1" projectName = "Nerd Fonts" @@ -888,21 +888,21 @@ class font_patcher: 0xe0b7: {'align': 'r', 'valign': 'c', 'stretch': '^xy', 'params': {'xy-ratio': 0.5}}, # Bottom Triangles - 0xe0b8: {'align': 'l', 'valign': 'c', 'stretch': '^xy', 'params': {'overlap': 0.02}}, + 0xe0b8: {'align': 'l', 'valign': 'c', 'stretch': '^xy', 'params': {'overlap': 0.05}}, 0xe0b9: {'align': 'l', 'valign': 'c', 'stretch': '^xy', 'params': {}}, - 0xe0ba: {'align': 'r', 'valign': 'c', 'stretch': '^xy', 'params': {'overlap': 0.02}}, + 0xe0ba: {'align': 'r', 'valign': 'c', 'stretch': '^xy', 'params': {'overlap': 0.05}}, 0xe0bb: {'align': 'r', 'valign': 'c', 'stretch': '^xy', 'params': {}}, # Top Triangles - 0xe0bc: {'align': 'l', 'valign': 'c', 'stretch': '^xy', 'params': {'overlap': 0.02}}, + 0xe0bc: {'align': 'l', 'valign': 'c', 'stretch': '^xy', 'params': {'overlap': 0.05}}, 0xe0bd: {'align': 'l', 'valign': 'c', 'stretch': '^xy', 'params': {}}, - 0xe0be: {'align': 'r', 'valign': 'c', 'stretch': '^xy', 'params': {'overlap': 0.02}}, + 0xe0be: {'align': 'r', 'valign': 'c', 'stretch': '^xy', 'params': {'overlap': 0.05}}, 0xe0bf: {'align': 'r', 'valign': 'c', 'stretch': '^xy', 'params': {}}, # Flames - 0xe0c0: {'align': 'l', 'valign': 'c', 'stretch': '^xy2', 'params': {'overlap': 0.01}}, + 0xe0c0: {'align': 'l', 'valign': 'c', 'stretch': '^xy2', 'params': {'overlap': 0.05}}, 0xe0c1: {'align': 'l', 'valign': 'c', 'stretch': '^xy2', 'params': {}}, - 0xe0c2: {'align': 'r', 'valign': 'c', 'stretch': '^xy2', 'params': {'overlap': 0.01}}, + 0xe0c2: {'align': 'r', 'valign': 'c', 'stretch': '^xy2', 'params': {'overlap': 0.05}}, 0xe0c3: {'align': 'r', 'valign': 'c', 'stretch': '^xy2', 'params': {}}, # Small squares @@ -914,8 +914,8 @@ class font_patcher: 0xe0c7: {'align': 'r', 'valign': 'c', 'stretch': '^xy2', 'params': {'overlap': -0.03, 'xy-ratio': 0.78}}, # Waveform - 0xe0c8: {'align': 'l', 'valign': 'c', 'stretch': '^xy2', 'params': {'overlap': 0.01}}, - 0xe0ca: {'align': 'r', 'valign': 'c', 'stretch': '^xy2', 'params': {'overlap': 0.01}}, + 0xe0c8: {'align': 'l', 'valign': 'c', 'stretch': '^xy2', 'params': {'overlap': 0.05}}, + 0xe0ca: {'align': 'r', 'valign': 'c', 'stretch': '^xy2', 'params': {'overlap': 0.05}}, # Hexagons 0xe0cc: {'align': 'l', 'valign': 'c', 'stretch': '^xy2', 'params': {'overlap': 0.02, 'xy-ratio': 0.85}}, diff --git a/src/glyphs/powerline-extra/PowerlineExtraSymbols.otf b/src/glyphs/powerline-extra/PowerlineExtraSymbols.otf index b1477fe5443d6098952d4556005b9b13e3195b41..23bd5b376e4d43afc1b84605f0d6e46e0b9fbef8 100644 GIT binary patch delta 1757 zcmZXU4NMeQ5XWct?zlTapn35QL7_^o&63o z=@9@SnAXKhY$dCMGjC=CXswjHY%MKW8ZiA%D%INQNwrcUs9GFFaX&p#R@=MlM^3}D z^gil`0b9v><7&vBOR=CM<5yNQU;s>QeQ7^(pmZ z%?BFvvupL*WNo2#llGwYlGd$@&}EDiOmBwkWAfvtO&OQyNEtQnrSezGJ63mB;yUxz zzPjJ*&GlvVP4#E&adzpWfrd2=Yniigd84&)g+t}|*m0#Px~Zx;y}9MHl9uBw7e1f) z#kD;r_C7T1pW%#k{&;Y6Ys#Vb+Aba*Y`_2IpG*myEqdN@>4Uyfi=IMua&#?suNkVi z>oC-Fmu0M)JEc!X{SOOd#Qg1wof1=>vL=uOe;6Z4pzGhR z3<-Fv-7E76psiebRuC1!1>OnTZ{nYyz~B0G0-xrcu*@s)PVfnyncx)+O&AumhD3(a zmTd7d3a9r-MkJ0B(ghmU8!}!rDeOr|u2Dg-JIJhiNHYgcN(lQhWmXazEj9zI3oR9Z z-3c8R977u_qGFaGAii2Cv+*W#6ouU_WEQuOc0s>_nA}P|6ThQe-FX?ocu8ifO!<-lkR5?GEmf{Rq zhv{z^M#7ibl`2H~_f-A=Wwfq-zwPEpGMjk=mgP1}Mf>WieP_JV>i`vD;A z*iFV%B_p=olMoC#nseY6id4d6i4}~sEK8$?Wuk&m)I{mrEo8=BlM%jMNYSh`GG{^n z@vXmsj_eT0Js!%{{H7od+9*1)iHz|ts@8Opc_W3Ik2uNP?4g$C3NrT;i9H%yAjm8y zEMv5cu$FK4T$qF~-wnDzx2rX5jz3Yvl|4@>5e3~{SY_A$go zCuLS=HWR#~=A~j9u+SLJ5ZVqXK8DbFP-d^kL{CfvA4J%_gv1;o{4}2ohX`xaWFN#` zG5Iv>cFZtD*j6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9vb>s~$nq?qDelq5LPR6Caat`yLX%GV-)MqMlwup8c1pC%huDqJS7hw9JkK_$AY9 z{!EhZ4Km`wf5^~uh)!}kDYO4h*^rH<$2O4|{*IE2_ow<^}R3Fk;F!l!zzrw(Td@2->B58-Az)to5~7{SdHX5Nw9OhK7I z1I`rt?vZe&h!06zOcDPO-AqA2KO`4ZP$^_LQ_Rl=H&a~n$up*yGg@*p#gd0Kbuq>F zqv(2^DHdeWJ#eOw=1szx!m>yb&a`w=%-hj2Vm*CpU|GFLfJ$YAvDYQUq~b8N{$)ws>#AJ2SlV3l;VhZz3j$}F+DVY zj`>1Fl1@Rm4bit1JU*G#y*6C5Z&=|oL3;PZ)E9tWRKTZ@Um>fa6#yFRM{;` z3i75&^r#RNEY_Cw6FAY+KG`)g^pYb!q4vMdP#h TQcWM%3=Iq+|36?qw{89p#7!~y diff --git a/src/glyphs/powerline-extra/README.md b/src/glyphs/powerline-extra/README.md index 3a50b0339e..ebb9d067c0 100644 --- a/src/glyphs/powerline-extra/README.md +++ b/src/glyphs/powerline-extra/README.md @@ -12,5 +12,8 @@ Version: 1.000 (from about 2016) * Glyph 0xE0B4 and 0xE0B6 got an additional 7% strip on their straight side. * Add inverse triangular glyphs at 0xE0D6 and 0xE0D7 * Change version of font to 1.100 +* Add 'landing platform' to glyphs at 0xE0B8, 0xE0BA, 0xE0BC, and 0xE0BE +* Add 'landing platform' to glyphs at 0xE0C0 and 0xE0C2 +* Change version of font to 1.200 -Version: 1.100 (our version) +Version: 1.200 (our version)