sunaku / tamzen-font

💌 Bitmapped programming font, based on Tamsyn
Other
892 stars 29 forks source link

Can't seem to figure out different font names for the different sizes in terminal #22

Closed MatthewCushing closed 4 years ago

MatthewCushing commented 6 years ago

Hi, I'd appreciate a little help if you don't mind. I'm using Urxvt terminal and currently have it set up like so:

URxvt*font: xft:TamzenForPowerline:pixelsize=16

I have also tried doing it like so:

URxvt*font: xft:-Misc-Tamzen-Medium-R-Normal--16-116-100-100-C-80-ISO8859-1:pixelsize=16

but for some reason it doesn't recognize the font when I do that.

I'm using a HiDPI screen so I was really happy that different sizes for your bitmap font along with the powerline symbols. I had installed via the AUR and all the font sizes appear in my /usr/share/fonts/local/ folder. However, I can't seem to figure out a way to change the size to something other than the default. Any help would be greatly appreciated.

Thanks!

sunaku commented 6 years ago

Have you tried the shell printf method that is mentioned in the README specifically for URxvt?

printf '\e]710;%s\007' 'font -misc-tamzen-medium-r-normal--16-108-100-100-c-80-iso8859-1'
sunaku commented 6 years ago

Another possible issue I just noticed is that you're specifying a different size in your X11 font description:

URxvt*font: xft:-Misc-Tamzen-Medium-R-Normal--16-116-100-100-C-80-ISO8859-1

You may have more success limiting yourself to the predefined X11 font descriptions that are listed here.

MatthewCushing commented 6 years ago

Sorry, didn’t see you had replied. I had gotten it working. Was just hard to notice. I have a 4K screen so was hoping the bigger size would be enough but it wasn’t. For some reason when using your powerline font in there the icons don’t work. I get an empty black box. Not sure why

sunaku commented 4 years ago

Closing this issue because it seems to be resolved. Please re-open if the problem still affects you.