increasing font size on the fly

Trent Buck trentbuck at gmail.com
Fri Jul 6 21:58:02 CEST 2007


On Fri, Jul 06, 2007 at 06:25:06PM +0100, martin f krafft wrote:
> Hello,
> 
> I am a very happy urxvt user, but on the occasion, I have to give
> screen presentations and need a terminal with a larger font.
> Obviously, I can start a new urxvt process with the -fn option, but
> usually I am already half-way through my presentation when the
> person in the last row wakes up and demands a larger font, then
> I don't want to restart.
> 
> I cannot figure out how to change the font size in urxvt on the fly.
> Ideally, I'd be able to define 2-3 unicode fonts of different sizes
> and have a key combination to toggle between them, but I cannot find
> anything in the docs.
> 
> Can someone please give me a clue (or state that this is not
> possible)?

In .Xdefaults, I have:

! Bind C-0, C-+ and C-= to activate medium, big and small font size respectively.
URxvt.font: xft:DejaVu Sans Mono:pixelsize=10,xft:Bitstream Vera Sans Mono,xft:Baekmuk Gulim,xft:Kochi Gothic,xft:AR PL ShanHeiSun Uni,xft:FreeMono:autohint=true
URxvt.keysym.C-minus: command:\033]710;xft:DejaVu Sans Mono:pixelsize=10,xft:Bitstream Vera Sans Mono,xft:Baekmuk Gulim,xft:Kochi Gothic,xft:AR PL ShanHeiSun Uni,xft:FreeMono:autohint=true\007
URxvt.keysym.C-0: command:\033]710;xft:DejaVu Sans Mono:pixelsize=16,xft:Bitstream Vera Sans Mono,xft:Baekmuk Gulim,xft:Kochi Gothic,xft:AR PL ShanHeiSun Uni,xft:FreeMono:autohint=true\007
URxvt.keysym.C-equal: command:\033]710;xft:DejaVu Sans Mono:pixelsize=26,xft:Bitstream Vera Sans Mono,xft:Baekmuk Gulim,xft:Kochi Gothic,xft:AR PL ShanHeiSun Uni,xft:FreeMono:autohint=true\007

-- 
Trent Buck
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.schmorp.de/pipermail/rxvt-unicode/attachments/20070707/21bb0040/attachment.sig>


More information about the rxvt-unicode mailing list