kvndrsslr / sketchybar-app-font

A symbol font for sketchybar, initialized with the symbols from simple-bar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to Obtain a ttf

iortego42 opened this issue · comments

commented

I have a question, how should I process all the svg files i have added and generete a new .ttf file ?

This is a node package, therefore:

npm i 
npm run build
commented

I have add some icons for my pentesting tools and it's working awesome. I would like to know how is this actually works, because I want to use all this icons and use it to be displayed on terminal, by mapping every icon in the kitty.conf file, but the problem is that if I use the :program name: notation, it does not work. How it is actually working and why skecthy bar identifies the icons by tipping :name: in stead of interprete that as an string?

@iortego42
This font (ab)uses a feature known as font ligatures. You might know that from other fonts like JetBrains Mono, where == will display as an extra long =, or from traditional typesetting where letter combinations like ff are rendered specially.
So this should actually also work in kitty if you have enabled font ligatures in your configuration!

It seems like ligatures should be enabled in kitty per default
https://sw.kovidgoyal.net/kitty/conf/#opt-kitty.disable_ligatures

Although if it does not work with ligatures enabled I'm not sure where to start troubleshooting tbh.

commented

Thank's for answering! Yeah, by default kitty enable ligatures, by the way I have also enable it in my configuration file, now the problem is that I need to make kitty to recognise the sketchy bar font, because it is not doing it.
Thank you very much!