]> git.armaanb.net Git - st.git/commitdiff
Use XftFontMatch in place of FcFontMatch.
authorChristoph Lohmann <20h@r-36.net>
Fri, 3 Jun 2016 13:02:32 +0000 (15:02 +0200)
committerChristoph Lohmann <20h@r-36.net>
Fri, 3 Jun 2016 13:02:32 +0000 (15:02 +0200)
git am -s didn't like your patch:

From: Mark Edgar <medgar123@gmail.com>

XftFontMatch calls XftDefaultSubstitute which configures various match
properties according to the user's configured Xft defaults (xrdb) as well as
according to the current display and screen. Most importantly, the screen DPI
is computed [1]. Without this, st uses a "default" DPI of 75 [2].

[1]: https://cgit.freedesktop.org/xorg/lib/libXft/tree/src/xftdpy.c?id=libXft-2.3.2#n535
[2]: https://cgit.freedesktop.org/fontconfig/tree/src/fcdefault.c?id=2.11.1#n255


No differences found