You are not logged in.

#1 2013-02-06 18:22:46

blueblob
Member
Registered: 2011-05-12
Posts: 22

urxvt font resize bold and italic

I found this cool thread which shows how to resize fonts in rxvt-unicode through bash. I also found a perl extension that resizes the font. Both of these use the same (ANSI?) escape sequence to tell urxvt to resize the font.

This code with just the font name changed from the first thread above works fine for one font.

#!/bin/bash
printf '\33]50;%s\007' "xft:Envy Code R for Powerline:pixelsize=$1"

Unfortunately, I can't figure out how to resize more than just the default font (I would like to resize the bold and italic as well because otherwise my vim-powerline looks very funny).

The relevant portion of my .Xdefaults is:

urxvt.font: xft:Envy Code R for Powerline:pixelsize=12
urxvt.boldFont: xft:Envy Code R for Powerline:bold:pixelsize=12
urxvt.italicFont: xft:Envy Code R for Powerline:italic:pixelsize=12

Offline

Board footer

Powered by FluxBB