Nuno Teixeira
2021-03-20 12:01:42 UTC
Hi,
config.def.h says:
static char *font = "Liberation Mono:pixelsize=12:antialias=true:autohint=true";
st -f "Liberation Mono":pixelsize=16 is my desired size.
I will create a config.h with:
static char *font = "Liberation Mono:pixelsize=16:antialias=true:autohint=true";
And compile with it, is that the correct way to do it?
config.def.h says:
static char *font = "Liberation Mono:pixelsize=12:antialias=true:autohint=true";
st -f "Liberation Mono":pixelsize=16 is my desired size.
I will create a config.h with:
static char *font = "Liberation Mono:pixelsize=16:antialias=true:autohint=true";
And compile with it, is that the correct way to do it?
Hello,
As a example, if you use 'monospace' as a font you will need to use 'monospace:pixelsize=X' and find your desired font size.
You can check https://www.freedesktop.org/software/fontconfig/fontconfig-user.html for more properties you can set.
--
Alex D.
RedXen System & Infrastructure Administration
https://redxen.eu/
How do I tell st to use my desired font size instead of using
Ctrl-Shift-Page Up?
You can configure this via the '-f' flag or 'font' in config.h by appending ":pixelsize=SIZE" to the font description.Ctrl-Shift-Page Up?
As a example, if you use 'monospace' as a font you will need to use 'monospace:pixelsize=X' and find your desired font size.
You can check https://www.freedesktop.org/software/fontconfig/fontconfig-user.html for more properties you can set.
--
Alex D.
RedXen System & Infrastructure Administration
https://redxen.eu/