[PATCH] Fix emoji font support

Marc Lehmann schmorp at schmorp.de
Fri Feb 7 07:42:06 CET 2020


On Fri, Feb 07, 2020 at 01:14:53PM +1100, mawww at kakoune.org wrote:
> Any feedback on this patch ?
> 
> Please note that this is different from the alternate font width computation
> patch that has been proposed a few times.

That's good to know - since practically no explanation was given, that one
simply fell through the cracks.

Is there a better explanation available on what this patch actually
does? Preferably with some examples? (For example, what is meant by
scaling applied by Xft - a scaling matrix, some size calculation, or
what? And what does this have to do with emojis only?).

The patch, like any similar patch, has major potential to break things for
a lot of people, so it's unlikely to be applied without a thorough
understanding of what it exactly does, what it solves, and what the
implications are.

> This patch does not change the way rxvt-unicode computes width except in the
> case where the font is a bitmap font on which scaling has been applied by
> libXft.

So it only affects bitmap fonts? Any specific font that exhibits these
issues?

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



More information about the rxvt-unicode mailing list