Giter Site home page Giter Site logo

Comments (4)

jeanguyomarch avatar jeanguyomarch commented on June 22, 2024

Thanks for your very detailed report and your thoughts on eovim, I really appreciate ;)

The text widget I use in eovim enables rich text rendering, such as ligatures, easy line spacing, and fancy underlines. Since it is not a "matrix of glyphs", it absolutely requires that all glyphs have the same width.

I ran on the exact same problem with a Fira Code I manually installed. I did not experience this issue with Fira Code distributed by my package manager (i.e. the Debian package fonts-firacode on Ubuntu 20.04).

I think that the problem here is caused by the bold font. I'm not sure what happens exactly, but when Fira Code is "not properly installed (??)" bold glyphs are a bit larger than normal glyphs, which makes the UI quite ugly.
I have very little knowledge of the text rendering that happens behind the scenes, but it seems that when Fira Code (Bold) is not installed, the text engine makes glyphs bigger.

Can you please check if Fira Code (Bold) is installed or not ? Please let me know if installing it indeed "fixes" the problem.

from eovim.

ArenT1981 avatar ArenT1981 commented on June 22, 2024

Interesting. Your explanation certainly makes sense, however I do have Fira Code Bold installed.

I'm on Fedora 32 so I simply installed the fira-code-fonts package:

Name         : fira-code-fonts
Version      : 5.2
Release      : 1.fc32
Architecture : noarch
Size         : 1.7 M
Source       : fira-code-fonts-5.2-1.fc32.src.rpm
Repository   : @System
From repo    : updates
Summary      : Monospaced font with programming ligatures
URL          : https://github.com/tonsky/FiraCode
License      : OFL
Description  : Fira Code is an extension of the Fira Mono font containing a set of ligatures
             : for common programming multi-character combinations. This is just a font
             : rendering feature: underlying code remains ASCII-compatible. This helps to
             : read and understand code faster. For some frequent sequences like .. or //,
             : ligatures allow us to correct spacing.

I have Fira Code Bold installed:

--> fc-list | grep Fira
/usr/share/fonts/fira-code/FiraCode-Bold.ttf: Fira Code:style=Bold
/usr/share/fonts/fira-code/FiraCode-Retina.ttf: Fira Code,Fira Code Retina:style=Retina,Regular
/usr/share/fonts/fira-code/FiraCode-Regular.ttf: Fira Code:style=Regular
/usr/share/fonts/fira-code/FiraCode-Medium.ttf: Fira Code,Fira Code Medium:style=Medium,Regular
/usr/share/fonts/fira-code/FiraCode-SemiBold.ttf: Fira Code,Fira Code SemiBold:style=SemiBold,Regular
/usr/share/fonts/fira-code/FiraCode-Light.ttf: Fira Code,Fira Code Light:style=Light,Regular

Here is the output of fc-query Fira-code-* run in the Fira Code font installation directory. I don't know whether it will yield any useful comparison information with the versions of the fonts installed on your system:

Pattern has 26 elts (size 32)
	family: "Fira Code"(s)
	familylang: "en"(s)
	style: "Bold"(s)
	stylelang: "en"(s)
	fullname: "Fira Code Bold"(s)
	fullnamelang: "en"(s)
	slant: 0(i)(s)
	weight: 200(f)(s)
	width: 100(f)(s)
	spacing: 90(i)(s)
	foundry: "CTDB"(s)
	file: "FiraCode-Bold.ttf"(s)
	index: 0(i)(s)
	outline: True(s)
	scalable: True(s)
	charset: 
	0000: 00000000 ffffffff ffffffff 7fffffff 00000000 ffffffff ffffffff ffffffff
	0001: ffffffff ffffffff ffffffff 7fffffff 00040000 00000000 00000000 f0000000
	0002: 0f000000 00800000 00000000 00000000 00000000 16000000 3f0002c0 00000000
	0003: 00189dff 006000c0 00000024 fcff0000 ffffd7f0 fffffffb ffffffff ffff0003
	0004: ffffffff ffffffff ffffffff 03ffffff fffffc00 ffffffff ffffffff ffffffff
	0005: ffffffff 0000ffff 00000000 00000000 00000000 00000000 00000000 00000000
	0014: 00000420 00000000 00000000 00000000 00000000 00000000 00000000 00000000
	001e: 00000000 00000000 00000000 00000000 4000003f 00000000 00000000 000c0000
	001f: 3f3fffff ffffffff aaff3f3f 3fffffff ffffffff ffdfffff efcfffdf 7fdcffff
	0020: 77fc0980 06010047 00000410 fff10000 00007fff 26009000 00000000 00000000
	0021: 26682004 00004014 fff80000 00000000 03ff0c00 000f0200 c0000000 000007f0
	0022: 4626bffd 00700f80 00000100 00000037 00000ffc 0000fffc 00000000 00000000
	0023: 0101007d 000009f3 00000000 00000000 f8000980 00003fff 0000c000 00000000
	0024: ffffffff 0000007f 00000000 00000000 00000000 00000000 00000000 00000000
	0025: ffffffff ffffffff ffffffff ffffffff ffffffff 1444ffff feefced1 00ff8fbf
	0026: 00070000 1eff0001 00000005 00000c69 00000000 00000000 00000000 00000000
	0027: 00080000 00000000 00000000 00030000 00000000 00000002 00000000 ffff0300
	002b: 000000e0 00000000 00000000 00000000 00000000 00000000 00000000 00000000
	002e: 00000000 0c000000 00000000 00000000 00000000 00000000 00000000 00000000
	0030: 00003000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
	00e0: 0000000f 00000000 00000000 00000000 00000000 000f0007 00000000 00000000
	00fe: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 80000000
	00ff: 00000000 00000000 00000000 0000000c 00000000 00000000 00000000 00000000
	01d5: 00000000 02000000 00000000 00000000 00000000 00000000 00000000 00000000
	01f3: 00010000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(s)
	lang: aa|ab|af|av|ay|ba|be|bg|bi|br|bs|bua|ca|ce|ch|chm|co|cs|cu|cv|cy|da|de|el|en|eo|es|et|eu|fi|fj|fo|fr|fur|fy|gd|gl|gv|ho|hr|hu|ia|id|ie|ik|io|is|it|kaa|ki|kk|kl|ku-am|kum|kv|ky|la|lb|lez|lt|lv|mg|mh|mk|mo|mt|nb|nds|nl|nn|no|nr|nso|ny|oc|om|os|pl|pt|rm|ro|ru|sah|se|sel|sh|shs|sk|sl|sma|smj|smn|so|sq|sr|ss|st|sv|sw|tg|tk|tl|tn|tr|ts|tt|tyv|uk|uz|vo|vot|wa|wen|wo|xh|yap|zu|an|crh|csb|fil|hsb|ht|jv|kj|ku-tr|kwm|lg|li|mn-mn|ms|na|ng|pap-an|pap-aw|rn|rw|sc|sg|sn|su|ty|za(s)
	fontversion: 327811(i)(s)
	capability: "otlayout:DFLT otlayout:cyrl otlayout:grek otlayout:latn otlayout:zinh otlayout:zyyy"(s)
	fontformat: "TrueType"(s)
	decorative: False(s)
	postscriptname: "FiraCode-Bold"(s)
	color: False(s)
	symbol: False(s)
	variable: False(s)
	fonthashint: True(s)

Pattern has 26 elts (size 32)
	family: "Fira Code"(s) "Fira Code Light"(s)
	familylang: "en"(s) "en"(s)
	style: "Light"(s) "Regular"(s)
	stylelang: "en"(s) "en"(s)
	fullname: "Fira Code Light"(s)
	fullnamelang: "en"(s)
	slant: 0(i)(s)
	weight: 50(f)(s)
	width: 100(f)(s)
	spacing: 90(i)(s)
	foundry: "CTDB"(s)
	file: "FiraCode-Light.ttf"(s)
	index: 0(i)(s)
	outline: True(s)
	scalable: True(s)
	charset: 
	0000: 00000000 ffffffff ffffffff 7fffffff 00000000 ffffffff ffffffff ffffffff
	0001: ffffffff ffffffff ffffffff 7fffffff 00040000 00000000 00000000 f0000000
	0002: 0f000000 00800000 00000000 00000000 00000000 16000000 3f0002c0 00000000
	0003: 00189dff 006000c0 00000024 fcff0000 ffffd7f0 fffffffb ffffffff ffff0003
	0004: ffffffff ffffffff ffffffff 03ffffff fffffc00 ffffffff ffffffff ffffffff
	0005: ffffffff 0000ffff 00000000 00000000 00000000 00000000 00000000 00000000
	0014: 00000420 00000000 00000000 00000000 00000000 00000000 00000000 00000000
	001e: 00000000 00000000 00000000 00000000 4000003f 00000000 00000000 000c0000
	001f: 3f3fffff ffffffff aaff3f3f 3fffffff ffffffff ffdfffff efcfffdf 7fdcffff
	0020: 77fc0980 06010047 00000410 fff10000 00007fff 26009000 00000000 00000000
	0021: 26682004 00004014 fff80000 00000000 03ff0c00 000f0200 c0000000 000007f0
	0022: 4626bffd 00700f80 00000100 00000037 00000ffc 0000fffc 00000000 00000000
	0023: 0101007d 000009f3 00000000 00000000 f8000980 00003fff 0000c000 00000000
	0024: ffffffff 0000007f 00000000 00000000 00000000 00000000 00000000 00000000
	0025: ffffffff ffffffff ffffffff ffffffff ffffffff 1444ffff feefced1 00ff8fbf
	0026: 00070000 1eff0001 00000005 00000c69 00000000 00000000 00000000 00000000
	0027: 00080000 00000000 00000000 00030000 00000000 00000002 00000000 ffff0300
	002b: 000000e0 00000000 00000000 00000000 00000000 00000000 00000000 00000000
	002e: 00000000 0c000000 00000000 00000000 00000000 00000000 00000000 00000000
	0030: 00003000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
	00e0: 0000000f 00000000 00000000 00000000 00000000 000f0007 00000000 00000000
	00fe: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 80000000
	00ff: 00000000 00000000 00000000 0000000c 00000000 00000000 00000000 00000000
	01d5: 00000000 02000000 00000000 00000000 00000000 00000000 00000000 00000000
	01f3: 00010000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(s)
	lang: aa|ab|af|av|ay|ba|be|bg|bi|br|bs|bua|ca|ce|ch|chm|co|cs|cu|cv|cy|da|de|el|en|eo|es|et|eu|fi|fj|fo|fr|fur|fy|gd|gl|gv|ho|hr|hu|ia|id|ie|ik|io|is|it|kaa|ki|kk|kl|ku-am|kum|kv|ky|la|lb|lez|lt|lv|mg|mh|mk|mo|mt|nb|nds|nl|nn|no|nr|nso|ny|oc|om|os|pl|pt|rm|ro|ru|sah|se|sel|sh|shs|sk|sl|sma|smj|smn|so|sq|sr|ss|st|sv|sw|tg|tk|tl|tn|tr|ts|tt|tyv|uk|uz|vo|vot|wa|wen|wo|xh|yap|zu|an|crh|csb|fil|hsb|ht|jv|kj|ku-tr|kwm|lg|li|mn-mn|ms|na|ng|pap-an|pap-aw|rn|rw|sc|sg|sn|su|ty|za(s)
	fontversion: 327811(i)(s)
	capability: "otlayout:DFLT otlayout:cyrl otlayout:grek otlayout:latn otlayout:zinh otlayout:zyyy"(s)
	fontformat: "TrueType"(s)
	decorative: False(s)
	postscriptname: "FiraCode-Light"(s)
	color: False(s)
	symbol: False(s)
	variable: False(s)
	fonthashint: True(s)

Pattern has 26 elts (size 32)
	family: "Fira Code"(s) "Fira Code Medium"(s)
	familylang: "en"(s) "en"(s)
	style: "Medium"(s) "Regular"(s)
	stylelang: "en"(s) "en"(s)
	fullname: "Fira Code Medium"(s)
	fullnamelang: "en"(s)
	slant: 0(i)(s)
	weight: 100(f)(s)
	width: 100(f)(s)
	spacing: 90(i)(s)
	foundry: "CTDB"(s)
	file: "FiraCode-Medium.ttf"(s)
	index: 0(i)(s)
	outline: True(s)
	scalable: True(s)
	charset: 
	0000: 00000000 ffffffff ffffffff 7fffffff 00000000 ffffffff ffffffff ffffffff
	0001: ffffffff ffffffff ffffffff 7fffffff 00040000 00000000 00000000 f0000000
	0002: 0f000000 00800000 00000000 00000000 00000000 16000000 3f0002c0 00000000
	0003: 00189dff 006000c0 00000024 fcff0000 ffffd7f0 fffffffb ffffffff ffff0003
	0004: ffffffff ffffffff ffffffff 03ffffff fffffc00 ffffffff ffffffff ffffffff
	0005: ffffffff 0000ffff 00000000 00000000 00000000 00000000 00000000 00000000
	0014: 00000420 00000000 00000000 00000000 00000000 00000000 00000000 00000000
	001e: 00000000 00000000 00000000 00000000 4000003f 00000000 00000000 000c0000
	001f: 3f3fffff ffffffff aaff3f3f 3fffffff ffffffff ffdfffff efcfffdf 7fdcffff
	0020: 77fc0980 06010047 00000410 fff10000 00007fff 26009000 00000000 00000000
	0021: 26682004 00004014 fff80000 00000000 03ff0c00 000f0200 c0000000 000007f0
	0022: 4626bffd 00700f80 00000100 00000037 00000ffc 0000fffc 00000000 00000000
	0023: 0101007d 000009f3 00000000 00000000 f8000980 00003fff 0000c000 00000000
	0024: ffffffff 0000007f 00000000 00000000 00000000 00000000 00000000 00000000
	0025: ffffffff ffffffff ffffffff ffffffff ffffffff 1444ffff feefced1 00ff8fbf
	0026: 00070000 1eff0001 00000005 00000c69 00000000 00000000 00000000 00000000
	0027: 00080000 00000000 00000000 00030000 00000000 00000002 00000000 ffff0300
	002b: 000000e0 00000000 00000000 00000000 00000000 00000000 00000000 00000000
	002e: 00000000 0c000000 00000000 00000000 00000000 00000000 00000000 00000000
	0030: 00003000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
	00e0: 0000000f 00000000 00000000 00000000 00000000 000f0007 00000000 00000000
	00fe: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 80000000
	00ff: 00000000 00000000 00000000 0000000c 00000000 00000000 00000000 00000000
	01d5: 00000000 02000000 00000000 00000000 00000000 00000000 00000000 00000000
	01f3: 00010000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(s)
	lang: aa|ab|af|av|ay|ba|be|bg|bi|br|bs|bua|ca|ce|ch|chm|co|cs|cu|cv|cy|da|de|el|en|eo|es|et|eu|fi|fj|fo|fr|fur|fy|gd|gl|gv|ho|hr|hu|ia|id|ie|ik|io|is|it|kaa|ki|kk|kl|ku-am|kum|kv|ky|la|lb|lez|lt|lv|mg|mh|mk|mo|mt|nb|nds|nl|nn|no|nr|nso|ny|oc|om|os|pl|pt|rm|ro|ru|sah|se|sel|sh|shs|sk|sl|sma|smj|smn|so|sq|sr|ss|st|sv|sw|tg|tk|tl|tn|tr|ts|tt|tyv|uk|uz|vo|vot|wa|wen|wo|xh|yap|zu|an|crh|csb|fil|hsb|ht|jv|kj|ku-tr|kwm|lg|li|mn-mn|ms|na|ng|pap-an|pap-aw|rn|rw|sc|sg|sn|su|ty|za(s)
	fontversion: 327811(i)(s)
	capability: "otlayout:DFLT otlayout:cyrl otlayout:grek otlayout:latn otlayout:zinh otlayout:zyyy"(s)
	fontformat: "TrueType"(s)
	decorative: False(s)
	postscriptname: "FiraCode-Medium"(s)
	color: False(s)
	symbol: False(s)
	variable: False(s)
	fonthashint: True(s)

Pattern has 26 elts (size 32)
	family: "Fira Code"(s)
	familylang: "en"(s)
	style: "Regular"(s)
	stylelang: "en"(s)
	fullname: "Fira Code Regular"(s)
	fullnamelang: "en"(s)
	slant: 0(i)(s)
	weight: 80(f)(s)
	width: 100(f)(s)
	spacing: 90(i)(s)
	foundry: "CTDB"(s)
	file: "FiraCode-Regular.ttf"(s)
	index: 0(i)(s)
	outline: True(s)
	scalable: True(s)
	charset: 
	0000: 00000000 ffffffff ffffffff 7fffffff 00000000 ffffffff ffffffff ffffffff
	0001: ffffffff ffffffff ffffffff 7fffffff 00040000 00000000 00000000 f0000000
	0002: 0f000000 00800000 00000000 00000000 00000000 16000000 3f0002c0 00000000
	0003: 00189dff 006000c0 00000024 fcff0000 ffffd7f0 fffffffb ffffffff ffff0003
	0004: ffffffff ffffffff ffffffff 03ffffff fffffc00 ffffffff ffffffff ffffffff
	0005: ffffffff 0000ffff 00000000 00000000 00000000 00000000 00000000 00000000
	0014: 00000420 00000000 00000000 00000000 00000000 00000000 00000000 00000000
	001e: 00000000 00000000 00000000 00000000 4000003f 00000000 00000000 000c0000
	001f: 3f3fffff ffffffff aaff3f3f 3fffffff ffffffff ffdfffff efcfffdf 7fdcffff
	0020: 77fc0980 06010047 00000410 fff10000 00007fff 26009000 00000000 00000000
	0021: 26682004 00004014 fff80000 00000000 03ff0c00 000f0200 c0000000 000007f0
	0022: 4626bffd 00700f80 00000100 00000037 00000ffc 0000fffc 00000000 00000000
	0023: 0101007d 000009f3 00000000 00000000 f8000980 00003fff 0000c000 00000000
	0024: ffffffff 0000007f 00000000 00000000 00000000 00000000 00000000 00000000
	0025: ffffffff ffffffff ffffffff ffffffff ffffffff 1444ffff feefced1 00ff8fbf
	0026: 00070000 1eff0001 00000005 00000c69 00000000 00000000 00000000 00000000
	0027: 00080000 00000000 00000000 00030000 00000000 00000002 00000000 ffff0300
	002b: 000000e0 00000000 00000000 00000000 00000000 00000000 00000000 00000000
	002e: 00000000 0c000000 00000000 00000000 00000000 00000000 00000000 00000000
	0030: 00003000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
	00e0: 0000000f 00000000 00000000 00000000 00000000 000f0007 00000000 00000000
	00fe: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 80000000
	00ff: 00000000 00000000 00000000 0000000c 00000000 00000000 00000000 00000000
	01d5: 00000000 02000000 00000000 00000000 00000000 00000000 00000000 00000000
	01f3: 00010000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(s)
	lang: aa|ab|af|av|ay|ba|be|bg|bi|br|bs|bua|ca|ce|ch|chm|co|cs|cu|cv|cy|da|de|el|en|eo|es|et|eu|fi|fj|fo|fr|fur|fy|gd|gl|gv|ho|hr|hu|ia|id|ie|ik|io|is|it|kaa|ki|kk|kl|ku-am|kum|kv|ky|la|lb|lez|lt|lv|mg|mh|mk|mo|mt|nb|nds|nl|nn|no|nr|nso|ny|oc|om|os|pl|pt|rm|ro|ru|sah|se|sel|sh|shs|sk|sl|sma|smj|smn|so|sq|sr|ss|st|sv|sw|tg|tk|tl|tn|tr|ts|tt|tyv|uk|uz|vo|vot|wa|wen|wo|xh|yap|zu|an|crh|csb|fil|hsb|ht|jv|kj|ku-tr|kwm|lg|li|mn-mn|ms|na|ng|pap-an|pap-aw|rn|rw|sc|sg|sn|su|ty|za(s)
	fontversion: 327811(i)(s)
	capability: "otlayout:DFLT otlayout:cyrl otlayout:grek otlayout:latn otlayout:zinh otlayout:zyyy"(s)
	fontformat: "TrueType"(s)
	decorative: False(s)
	postscriptname: "FiraCode-Regular"(s)
	color: False(s)
	symbol: False(s)
	variable: False(s)
	fonthashint: True(s)

Pattern has 26 elts (size 32)
	family: "Fira Code"(s) "Fira Code Retina"(s)
	familylang: "en"(s) "en"(s)
	style: "Retina"(s) "Regular"(s)
	stylelang: "en"(s) "en"(s)
	fullname: "Fira Code Retina"(s)
	fullnamelang: "en"(s)
	slant: 0(i)(s)
	weight: 90(f)(s)
	width: 100(f)(s)
	spacing: 90(i)(s)
	foundry: "CTDB"(s)
	file: "FiraCode-Retina.ttf"(s)
	index: 0(i)(s)
	outline: True(s)
	scalable: True(s)
	charset: 
	0000: 00000000 ffffffff ffffffff 7fffffff 00000000 ffffffff ffffffff ffffffff
	0001: ffffffff ffffffff ffffffff 7fffffff 00040000 00000000 00000000 f0000000
	0002: 0f000000 00800000 00000000 00000000 00000000 16000000 3f0002c0 00000000
	0003: 00189dff 006000c0 00000024 fcff0000 ffffd7f0 fffffffb ffffffff ffff0003
	0004: ffffffff ffffffff ffffffff 03ffffff fffffc00 ffffffff ffffffff ffffffff
	0005: ffffffff 0000ffff 00000000 00000000 00000000 00000000 00000000 00000000
	0014: 00000420 00000000 00000000 00000000 00000000 00000000 00000000 00000000
	001e: 00000000 00000000 00000000 00000000 4000003f 00000000 00000000 000c0000
	001f: 3f3fffff ffffffff aaff3f3f 3fffffff ffffffff ffdfffff efcfffdf 7fdcffff
	0020: 77fc0980 06010047 00000410 fff10000 00007fff 26009000 00000000 00000000
	0021: 26682004 00004014 fff80000 00000000 03ff0c00 000f0200 c0000000 000007f0
	0022: 4626bffd 00700f80 00000100 00000037 00000ffc 0000fffc 00000000 00000000
	0023: 0101007d 000009f3 00000000 00000000 f8000980 00003fff 0000c000 00000000
	0024: ffffffff 0000007f 00000000 00000000 00000000 00000000 00000000 00000000
	0025: ffffffff ffffffff ffffffff ffffffff ffffffff 1444ffff feefced1 00ff8fbf
	0026: 00070000 1eff0001 00000005 00000c69 00000000 00000000 00000000 00000000
	0027: 00080000 00000000 00000000 00030000 00000000 00000002 00000000 ffff0300
	002b: 000000e0 00000000 00000000 00000000 00000000 00000000 00000000 00000000
	002e: 00000000 0c000000 00000000 00000000 00000000 00000000 00000000 00000000
	0030: 00003000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
	00e0: 0000000f 00000000 00000000 00000000 00000000 000f0007 00000000 00000000
	00fe: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 80000000
	00ff: 00000000 00000000 00000000 0000000c 00000000 00000000 00000000 00000000
	01d5: 00000000 02000000 00000000 00000000 00000000 00000000 00000000 00000000
	01f3: 00010000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(s)
	lang: aa|ab|af|av|ay|ba|be|bg|bi|br|bs|bua|ca|ce|ch|chm|co|cs|cu|cv|cy|da|de|el|en|eo|es|et|eu|fi|fj|fo|fr|fur|fy|gd|gl|gv|ho|hr|hu|ia|id|ie|ik|io|is|it|kaa|ki|kk|kl|ku-am|kum|kv|ky|la|lb|lez|lt|lv|mg|mh|mk|mo|mt|nb|nds|nl|nn|no|nr|nso|ny|oc|om|os|pl|pt|rm|ro|ru|sah|se|sel|sh|shs|sk|sl|sma|smj|smn|so|sq|sr|ss|st|sv|sw|tg|tk|tl|tn|tr|ts|tt|tyv|uk|uz|vo|vot|wa|wen|wo|xh|yap|zu|an|crh|csb|fil|hsb|ht|jv|kj|ku-tr|kwm|lg|li|mn-mn|ms|na|ng|pap-an|pap-aw|rn|rw|sc|sg|sn|su|ty|za(s)
	fontversion: 327811(i)(s)
	capability: "otlayout:DFLT otlayout:cyrl otlayout:grek otlayout:latn otlayout:zinh otlayout:zyyy"(s)
	fontformat: "TrueType"(s)
	decorative: False(s)
	postscriptname: "FiraCode-Retina"(s)
	color: False(s)
	symbol: False(s)
	variable: False(s)
	fonthashint: True(s)

Pattern has 26 elts (size 32)
	family: "Fira Code"(s) "Fira Code SemiBold"(s)
	familylang: "en"(s) "en"(s)
	style: "SemiBold"(s) "Regular"(s)
	stylelang: "en"(s) "en"(s)
	fullname: "Fira Code SemiBold"(s)
	fullnamelang: "en"(s)
	slant: 0(i)(s)
	weight: 180(f)(s)
	width: 100(f)(s)
	spacing: 90(i)(s)
	foundry: "CTDB"(s)
	file: "FiraCode-SemiBold.ttf"(s)
	index: 0(i)(s)
	outline: True(s)
	scalable: True(s)
	charset: 
	0000: 00000000 ffffffff ffffffff 7fffffff 00000000 ffffffff ffffffff ffffffff
	0001: ffffffff ffffffff ffffffff 7fffffff 00040000 00000000 00000000 f0000000
	0002: 0f000000 00800000 00000000 00000000 00000000 16000000 3f0002c0 00000000
	0003: 00189dff 006000c0 00000024 fcff0000 ffffd7f0 fffffffb ffffffff ffff0003
	0004: ffffffff ffffffff ffffffff 03ffffff fffffc00 ffffffff ffffffff ffffffff
	0005: ffffffff 0000ffff 00000000 00000000 00000000 00000000 00000000 00000000
	0014: 00000420 00000000 00000000 00000000 00000000 00000000 00000000 00000000
	001e: 00000000 00000000 00000000 00000000 4000003f 00000000 00000000 000c0000
	001f: 3f3fffff ffffffff aaff3f3f 3fffffff ffffffff ffdfffff efcfffdf 7fdcffff
	0020: 77fc0980 06010047 00000410 fff10000 00007fff 26009000 00000000 00000000
	0021: 26682004 00004014 fff80000 00000000 03ff0c00 000f0200 c0000000 000007f0
	0022: 4626bffd 00700f80 00000100 00000037 00000ffc 0000fffc 00000000 00000000
	0023: 0101007d 000009f3 00000000 00000000 f8000980 00003fff 0000c000 00000000
	0024: ffffffff 0000007f 00000000 00000000 00000000 00000000 00000000 00000000
	0025: ffffffff ffffffff ffffffff ffffffff ffffffff 1444ffff feefced1 00ff8fbf
	0026: 00070000 1eff0001 00000005 00000c69 00000000 00000000 00000000 00000000
	0027: 00080000 00000000 00000000 00030000 00000000 00000002 00000000 ffff0300
	002b: 000000e0 00000000 00000000 00000000 00000000 00000000 00000000 00000000
	002e: 00000000 0c000000 00000000 00000000 00000000 00000000 00000000 00000000
	0030: 00003000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
	00e0: 0000000f 00000000 00000000 00000000 00000000 000f0007 00000000 00000000
	00fe: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 80000000
	00ff: 00000000 00000000 00000000 0000000c 00000000 00000000 00000000 00000000
	01d5: 00000000 02000000 00000000 00000000 00000000 00000000 00000000 00000000
	01f3: 00010000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(s)
	lang: aa|ab|af|av|ay|ba|be|bg|bi|br|bs|bua|ca|ce|ch|chm|co|cs|cu|cv|cy|da|de|el|en|eo|es|et|eu|fi|fj|fo|fr|fur|fy|gd|gl|gv|ho|hr|hu|ia|id|ie|ik|io|is|it|kaa|ki|kk|kl|ku-am|kum|kv|ky|la|lb|lez|lt|lv|mg|mh|mk|mo|mt|nb|nds|nl|nn|no|nr|nso|ny|oc|om|os|pl|pt|rm|ro|ru|sah|se|sel|sh|shs|sk|sl|sma|smj|smn|so|sq|sr|ss|st|sv|sw|tg|tk|tl|tn|tr|ts|tt|tyv|uk|uz|vo|vot|wa|wen|wo|xh|yap|zu|an|crh|csb|fil|hsb|ht|jv|kj|ku-tr|kwm|lg|li|mn-mn|ms|na|ng|pap-an|pap-aw|rn|rw|sc|sg|sn|su|ty|za(s)
	fontversion: 327811(i)(s)
	capability: "otlayout:DFLT otlayout:cyrl otlayout:grek otlayout:latn otlayout:zinh otlayout:zyyy"(s)
	fontformat: "TrueType"(s)
	decorative: False(s)
	postscriptname: "FiraCode-SemiBold"(s)
	color: False(s)
	symbol: False(s)
	variable: False(s)
	fonthashint: True(s)

from eovim.

ArenT1981 avatar ArenT1981 commented on June 22, 2024

One other unrelated side issue that is probably simple to resolve, but I don't know much vimscript, is that in order to make eovim work properly with colorschemes I have had to put set termguicolors into my neovim init.vim.

The only downside of this is now the colorscheme doesn't load properly if I just happen to run nvim within my rxvt terminal, probably due to lack of true color support or so, or something else. Setting my $TERM made no difference. I don't use nvim directly in the console that much (I use eovim!), but sometimes it is handy just for a super quick edit, and so having all the nice colours disappear is slightly annoying although no big deal. I suppose I could switch terminals, to something like kitty, but I rather like the efficiency of rxvt-unicode.

It works fine in rxvt without the set termguicolors option. So is there a way of putting something like

if call#eovim()
    set termguicolors

So that basically the set termguicolors option is only set when starting up a eovim session? (Can it be passed as a command line argument?). I don't know what the correct syntax is.

Thanks! :-)

from eovim.

jeanguyomarch avatar jeanguyomarch commented on June 22, 2024

Okay... interesting. I'll investigate the font issue more into details. Thanks for the info.

For setting termguicolors only when Eovim runs, I think you can do the following:

if exists("g:eovim_running")
  set termguicolors
endif

If you are interested in more vim scripting, there is a Wiki page that explains some tricks.

from eovim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.