FelixKratz / SketchyBar

A highly customizable macOS status bar replacement
https://felixkratz.github.io/SketchyBar/
GNU General Public License v3.0
5.45k stars 85 forks source link

Make font both bold and italic #396

Closed math-1 closed 11 months ago

math-1 commented 11 months ago

I want to make the font I'm using both bold and italic, but I'm not sure how to do this using label.font.

For instance, something like label.font="<font>:Bold,Italic:<size>" does not work.

Is there a way to do this?

FelixKratz commented 11 months ago

If there exists a Bold Italic font variant you can simply set it like this: label.font="<font>:Bold Italic:<size>" This works for all font variants listed in the Font Book app.