On Mar 21, Jan Larres (Jan Larres) wrote:
Hi,

Hi Jan,

I recently discovered two useful scripts for changing the font size of
a running urxvt terminal, one that worked with xft fonts and one that
worked with X11 fonts.

Where are those scripts? :)

The script is now finished and can be downloaded here:
https://github.com/majutsushi/urxvt-font-size

Great, thanks for your work!
Cool that someone else finally writes something that exploits this feature!

I've made something similar, that's not hooked into urxvt, but instead tries to
work in all sane (xterm compatible) terminals (plus gnu screen and grr.. tmux):

http://github.com/trapd00r/pickyfont

It's called pickyfont - though it's perfectly usable today, I wanted some way
to:

1) get at a list of (XLFD and xft) fonts available on the system, without having
   to resort to external tools like xlsfonts and fc-list.
   How to deal with problems like this:

     % xlsfonts | grep -c dejavu
     724

     % xlsfonts | grep dejavu | perl -pe 's/(--0).+/$1/' | sort -u | wc -l
     42

2) a way to suggest fonts that should behave (in terms of size, mostly) with
   the current basefont, or alternatively, a user supplied one.

The current approach, where we use a configuration file for quick access to
certain fonts, isn't optimal, mostly because it:

1) is hard to ship with defaults, there isn't that many fonts that we can rely
   on being available on most setups. I don't think there's much more than
   fixed and what shows up with the following command:

     % xlsfonts | grep -P '^\d+'

2) involved manual work. Neither convenient for $user, nor $dev.

If you have any input, or if you'd like to join the project, I'd be delighted.

Cheers,
---
Magnus Woldrich
[email protected], [email protected]
irc: scp1 on freenode
uri: http://japh.se

_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/rxvt-unicode

Reply via email to