Description
After updating to fira code 2, it does not seem to be picked up by kitty.
Fira Code does not show up in either kitty list-fonts
or kitty --debug-font-fallback
.
I read in an older issue that kitty looks for fonts with spacing=100
but the new fira-code seems to set spacing=90
(on my system at least).
I'm not sure if kitty is wrong for not picking up the font or if it's FiraCodes fault for setting a wrong spacing, though.
But VsCode and IntelliJ render FiraCode correctly so the font seems to be picked up by the system in general.
Though Konsole and qterminal both too do not pick up the font as monospace.
I also tried running kitty --config NONE -o "font_family=Fira Code" --debug-font-fallback
but that didn't change anything.
kitty version: 0.14.4
os: Arch Linux
kiity.conf font_family line:
font_family Fira Code
Output of fc-list -v FiraCode
(limited to the FiraCode-Regular type):
Pattern has 25 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: "/usr/share/fonts/OTF/FiraCode-Regular.otf"(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: 00480000 00004004 fff80000 00000000 03ff0c00 00000200 c0000000 000007f0
0022: 46268044 00300b80 00000100 00000037 00000000 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 1444fc0f feefced1 00ff8fbf
0026: 00070000 1e000001 00000005 00000c69 00000000 00000000 00000000 00000000
0027: 00080000 00000000 00000000 00000000 00000000 00000002 00000000 ffff0300
002b: 000000e0 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
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: 131072(i)(s)
capability: "otlayout:DFLT otlayout:cyrl otlayout:grek otlayout:latn otlayout:zinh otlayout:zyyy"(s)
fontformat: "CFF"(s)
decorative: False(s)
postscriptname: "FiraCode-Regular"(s)
color: False(s)
symbol: False(s)
variable: False(s)
Shortened output of kitty list-fonts
:
DejaVu Sans Mono
DejaVu Sans Mono
[...]
Hack
Hack Bold
[...]
Nimbus Mono PS
NimbusMonoPS-Bold
[...]
Source Code Pro
Source Code Pro
[...]
Source Code Variable
Source Code Variable
[...]