Kitty: Specifying font variant fails on macOS

Created on 1 Jun 2017  路  2Comments  路  Source: kovidgoyal/kitty

Specifying font variant fails on macOS

font_family      SF Mono Medium
italic_font      SF Mono Medium Italic
bold_font        SF Mono Semibold
bold_italic_font SF Mono Semibold Italic

screen shot 2017-06-01 at 8 10 56 am

Using auto works fine.

font_family      SF Mono
italic_font      auto
bold_font        auto
bold_italic_font auto
bug

Most helpful comment

The correct syntax for choosing SF Mono Semibold as your bold font is.

font_family SF Mono Medium
italic_font SF Mono Medium
bold_font        SF Mono Semibold
bold_italic_font SF Mono Semibold

All 2 comments

Unfortuantely, I dont have an OS X machine capable of running kitty, only building it, so debugging font rendering issues is rather difficult for me. I have not really looked into font variant handling in OSX, but the relevant code is in core_text.py (set_font_family()) and core_text.m new()

Probably some some further attributes need to be set on the font_attributes dictionary.

The correct syntax for choosing SF Mono Semibold as your bold font is.

font_family SF Mono Medium
italic_font SF Mono Medium
bold_font        SF Mono Semibold
bold_italic_font SF Mono Semibold
Was this page helpful?
0 / 5 - 0 ratings

Related issues

Ulrar picture Ulrar  路  3Comments

bewzaalex picture bewzaalex  路  3Comments

jasminabasurita picture jasminabasurita  路  3Comments

skosch picture skosch  路  3Comments

lazarcf picture lazarcf  路  4Comments