new font-switcher Perl extension

Mikael Magnusson mikachu at gmail.com
Wed Jan 21 20:24:51 CET 2009


2009/1/21 Adam Spiers <rxvt-unicode at adamspiers.org>:
> On Wed, Jan 21, 2009 at 04:27:35PM +0100, Marc Lehmann wrote:
>> On Wed, Jan 21, 2009 at 01:42:54PM +0000, Adam Spiers <rxvt-unicode at adamspiers.org> wrote:
>> > If you like it feel free to include it in the distribution.
>>
>> Unfortunately, your license forbids this.
>
> Doh, that explains the nagging feeling I got when I slapped v3 on there.
>
>> If you would allow redistribution under the same license as urxvt (GPLv2),
>> added the relevant documentation to uxvt.pm and could at least use a
>> similar coding style as the other code, i would happily include it,
>> though!
>
> Other than changing 2-column indents to 3-column, I couldn't see any
> major style clashes, so new version and patch against CVS HEAD both
> attached ... let me know if I missed anything.
>
> Switching seems to work slightly strangely with some of my own .pcf
> fonts - sometimes taking a few seconds to update the terminal to the
> new size - but more smoothly with the "standard" .pcf fonts such as
> 9x15, 10x20 etc., and also nicely with xft fonts, e.g.
>
>   URxvt.font-switcher-list:  \
>       xft:DejaVu Sans Mono:pixelsize=6  | \
>       xft:DejaVu Sans Mono:pixelsize=7  | \
>       xft:DejaVu Sans Mono:pixelsize=8  | \
>       xft:DejaVu Sans Mono:pixelsize=9  | \
>       xft:DejaVu Sans Mono:pixelsize=10 | \
>       xft:DejaVu Sans Mono:pixelsize=11 | \
>       xft:DejaVu Sans Mono:pixelsize=12 | \
>       xft:DejaVu Sans Mono:pixelsize=13 | \
>       xft:DejaVu Sans Mono:pixelsize=14 | \
>       xft:DejaVu Sans Mono:pixelsize=15 | \
>       xft:DejaVu Sans Mono:pixelsize=16 | \
>       xft:DejaVu Sans Mono:pixelsize=17 | \
>       xft:DejaVu Sans Mono:pixelsize=18
>
> However in some cases during resize the window occasionally gets
> repositioned relative to its top left corner.  Any idea why that
> happens?  I'm guessing my window manager (openbox) might be involved
> somehow.
>
> Regards,
> Adam

Try compiling urxvt without the "smart" resize feature.

-- 
Mikael Magnusson




More information about the rxvt-unicode mailing list