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?

caskd <ca...@redxen.eu> escreveu no dia sábado, 20/03/2021 à(s) 11:40:
>
> Hello,
>
> >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.
> 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/

Reply via email to