On Sun, Oct 26, 2014 at 09:45:09PM +0100, Daniel Hahler <[email protected]> 
wrote:
> The workaround here is to use "pixelsize=9" for Symbola, but then it's tiny.
> 
> Is there a way to make urxvt display the Symbola font as double-width?

No, the symbola font is, by design, unsuitable for a character grid if it
causes these issues.

On Sun, Oct 26, 2014 at 09:56:28PM +0100, Daniel Hahler <[email protected]> 
wrote:
> I've stumbled upon the Arch Linux package rxvt-unicode-patched
> (https://aur.archlinux.org/packages/rxvt-unicode-patched/), which
> includes the following patches:

Yeah, it's unfortunate that arch linux breaks urxvt in this way, but since
it is all volunteers, you can't always get competent maintainers but have
to take what you get. This has been discussed a number of times already.

>     + * bukind: don't use g.width as a width of a character!
>     + * instead use g.xOff, see e.g.: 
> http://keithp.com/~keithp/render/Xft.tutorial

The problem is that the comment is simply illogical: The referenced url
correctly identifies g.width as the width of the glyph (which is exactly
what is needed here), not g.xOff, which is the wrong value, which can (and
will) cause corrupted glyphs on output.

Similar reasoning applies to the height. The patch is a dirty hack to make
some unsuitable fonts look a bit better for us-english, at the expense of
correct display and internationalisation (one of the main goals of urxvt).

> Please consider including them.

That would be a very bad idea - the problem is that these patches _seem_
to work because e.g. the ascii subset works with it, but characters
outside the ascii range will usually result in pixel droppings and other
effects.

The only acceptable way to work around unsuitable fonts would be to limit
the range of characters taken from them, e.g. only allow the latin1 subset
or similar, in the hope that this subset is cellspaced.

Until this is implemented, you'd need to chose a working font, or apply
these hacks and hope for the best (which is fine for an individual, but
idiotic for a distribution).

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      [email protected]
      -=====/_/_//_/\_,_/ /_/\_\

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

Reply via email to