Adding use XftFontMatch patch
This commit is contained in:
parent
cc36f7c256
commit
2906447fef
3 changed files with 28 additions and 4 deletions
|
|
@ -373,6 +373,20 @@
|
|||
*/
|
||||
#define UNIVERSCROLL_PATCH 0
|
||||
|
||||
/* Use XftFontMatch in place of FcFontMatch.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* https://git.suckless.org/st/commit/528241aa3835e2f1f052abeeaf891737712955a0.html
|
||||
*/
|
||||
#define USE_XFTFONTMATCH_PATCH 0
|
||||
|
||||
/* Vertically center lines in the space available if you have set a larger chscale in config.h
|
||||
* https://st.suckless.org/patches/vertcenter/
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue