Skip to content

After update terminal doesn't use fontΒ #1325

Closed

Description

@LamprosPitsillos
❯ fc-list | rg "Fira"        
/usr/share/fonts/TTF/FiraMono-Bold.ttf: Fira Mono:style=Bold
/usr/share/fonts/TTF/FiraCode-SemiBold.ttf: Fira Code,Fira Code SemiBold:style=SemiBold,Regular
/usr/share/fonts/TTF/FiraMono-Regular.ttf: Fira Mono:style=Regular
/usr/share/fonts/TTF/FiraCode-Retina.ttf: Fira Code,Fira Code Retina:style=Retina,Regular
/usr/share/fonts/TTF/FiraCode-Bold.ttf: Fira Code:style=Bold
/usr/share/fonts/TTF/FiraCode-Light.ttf: Fira Code,Fira Code Light:style=Light,Regular
/usr/share/fonts/TTF/FiraCode-Medium.ttf: Fira Code,Fira Code Medium:style=Medium,Regular
/usr/share/fonts/TTF/FiraMono-Medium.ttf: Fira Mono,Fira Mono Medium:style=Medium,Regular
/usr/share/fonts/TTF/FiraCode-Regular.ttf: Fira Code:style=Regular
#: Fonts {{{

#: kitty has very powerful font management. You can configure
#: individual font faces and even specify special fonts for particular
#: characters.

 font_family      Fira Code Retina
 bold_font        auto
 italic_font      JetBrains Mono SemiBold Italic
 bold_italic_font auto

Terminal: Kitty version 0.23.1

Activity

  1. Arthur-Stewart commented on Dec 5, 2021

    @Arthur-Stewart

    Same issue on Arch Linux after upgrading to ttf-fira-code 6.1-1. When I ran kitty list-fonts under the Fira Code section I only saw 2 font options.

    Fira Code Bold
    Fira Code Light

    The other four font options (medium, regular, retina, semibold) were missing.

    Downgrade to 5.2.1 still works.

    kitty 0.23.1

  2. tonsky commented on Dec 5, 2021

    @tonsky
    Owner

    Anyone has ideas why is this happening? Is there a kitty ticket?

  3. idest commented on Dec 5, 2021

    @idest

    @tonsky this is similar to #840 #1000 and #1073, I was able to fix it with the workaround detailed in https://sw.kovidgoyal.net/kitty/faq/#kitty-is-not-able-to-use-my-favorite-font

  4. oeyoews commented on Dec 6, 2021

    @oeyoews

    @idest I try it, but it's no effect for me. so, i downgrade it's verson to 5.2. it's good.

  5. nikatar commented on Dec 6, 2021

    @nikatar

    @idest, thank you, it's work
    @Arthur-Stewart, i confirm this problems on arch after updatring

  6. morne commented on Dec 6, 2021

    @morne

    I had the same issue as @Arthur-Stewart , also on Arch Linux. Downgrading to 5.2.1 works.

  7. kjerstadius commented on Dec 6, 2021

    @kjerstadius

    I've also encountered this issue after upgrading to Fira Code 6.1 on Arch Linux. After reading the kitty faq article linked above I decided to compare the spacing detected by fontconfig for 5.2 and 6.1.

    5.2

    fc-list : family spacing outline scalable | rg Fira
    Fira Code:spacing=90:outline=True:scalable=True
    Fira Code,Fira Code Retina:spacing=90:outline=True:scalable=True
    Fira Code,Fira Code Medium:spacing=90:outline=True:scalable=True
    Fira Code,Fira Code Light:spacing=90:outline=True:scalable=True
    Fira Code,Fira Code SemiBold:spacing=90:outline=True:scalable=True
    

    6.1

    fc-list : family spacing outline scalable | rg Fira
    Fira Code:spacing=100:outline=True:scalable=True
    Fira Code:outline=True:scalable=True
    Fira Code,Fira Code Retina:outline=True:scalable=True
    Fira Code,Fira Code Medium:outline=True:scalable=True
    Fira Code,Fira Code Light:spacing=100:outline=True:scalable=True
    Fira Code,Fira Code SemiBold:outline=True:scalable=True
    

    As can be seen several variants are missing the spacing value in 6.1 and I'd bet that's why kitty doesn't pick up (for example) the Retina variant. @tonsky Any idea why this would be?

  8. added a commit that references this issue on Dec 6, 2021
  9. tonsky commented on Dec 6, 2021

    @tonsky
    Owner

    Hopefully fixed in 6.2, please check. Somehow Glyphs keeps changing random glyphs widths even if I don’t touch them. Added extra check before release

  10. BigMikeM commented on Dec 7, 2021

    @BigMikeM

    I had the same issue; 6.2 fixed it for me! Thank you!

  11. kjerstadius commented on Dec 7, 2021

    @kjerstadius

    @tonsky Thanks for the quick turnaround on the fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions