Firacode: kitty no longer supports Fira Code after updating to 3.1

Created on 14 Apr 2020  路  5Comments  路  Source: tonsky/FiraCode

Running kitty list-fonts no longer finds Fira Code as a compatible font. This happened after updating from 2.1 to 3.1. Before the update everything worked perfectly.

bug

Most helpful comment

Hopefully fixed in 3.1

[~/iCloud/ws/FiraCode] fc-query distr/ttf/FiraCode-Regular.ttf | grep spacing
    spacing: 90(i)(s)

All 5 comments

This is caused by the spacing property missing:

Version 2

$ fc-query /usr/share/fonts/TTF/FiraCode-Regular.ttf | grep spacing
    spacing: 90(i)(s)

Version 3

$ fc-query /usr/share/fonts/TTF/FiraCode-Regular.ttf | grep spacing
$ 

There seems to be a workaround for it : https://github.com/tonsky/FiraCode/issues/840

Thanks, I鈥檒l try to fix this ASAP

The list of characters which don't have a width of 1200 or 0 are:

uni1E9E 1199
uni300C 1100
uniFF62 600
uniFF63 600
uni27F2 2400
uni27F3 2400
uni27F4 2400
uni27F5 2400
uni27F6 2400
uni27F7 2400
uni27F8 2400
uni27F9 2400
uni27FA 2400
uni27FB 2400
uni27FC 2400
uni27FD 2400
uni27FE 2400
uni27FF 2400
uni2388 2400
uni2415 1194

I believe the only ones which would prevent fontconfig from recognising them as dual spaced are

uni300C 1100
uniFF62 600
uniFF63 600

Since it doesn't consider them to be "approximately equal" to 1200

Hopefully fixed in 3.1

[~/iCloud/ws/FiraCode] fc-query distr/ttf/FiraCode-Regular.ttf | grep spacing
    spacing: 90(i)(s)
Was this page helpful?
0 / 5 - 0 ratings

Related issues

ulope picture ulope  路  4Comments

aryairani picture aryairani  路  3Comments

magnus-madsen picture magnus-madsen  路  3Comments

blucell picture blucell  路  4Comments

Jhonyrod picture Jhonyrod  路  4Comments