[PATCH] Fix emoji font support

Marc Lehmann schmorp at schmorp.de
Mon Feb 10 18:46:11 CET 2020


On Sun, Feb 09, 2020 at 08:33:54AM +1100, Maxime Coste <mawww at kakoune.org> wrote:
> > The transformation applied is an arbitrary matrix provided by fontconfig
> > (most of the time identity, scaling in the case of BGRA glyphs, can also be
> > an auto slanting one).
> 
> I see...

Ok, another thing not mentioned is that libfxt does not actually have this
behaviour at the moment. And looking at how this is done, I suspect the
patch doesn't work very well because it is simply wrong - I don't think
libxft is the right place to implement font-scaling hacks - if freetype
can't do the scaling, then the correct place for this would be freetype,
and then existing code won't get broken by it, either.

I think fixing the original patch to work better is altogether the better
approach - certainly beats every libxft user because the api has changed
in incompatible ways.

-- 
                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