Re: [dev] st: enlarge font

From: Nuno Teixeira <eduardo_AT_freebsd.org>
Date: Sat, 20 Mar 2021 12:01:42 +0000

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 <caskd_AT_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/
Received on Sat Mar 20 2021 - 13:01:42 CET

This archive was generated by hypermail 2.3.0 : Sat Mar 20 2021 - 13:12:08 CET