Re: [dev] [st] font help

From: Aurélien Aptel <aurelien.aptel_AT_gmail.com>
Date: Mon, 23 Jan 2012 20:36:03 +0100

On Mon, Jan 23, 2012 at 10:50 AM, Eckehard Berns <ecki-suckless_AT_ecki.to> wrote:
> From your screenshot I would guess that the font pattern you specified
> isn't strict enough. St uses the maximum width of all characters in all
> fonts in the font set to calculate how wide the characters are. That's
> why you have these gaps between the different batches of chars.
>
> I usually specify at least the first four sections, the pxlsize and
> maybe the avgWidth, e.g.
>
>  --misc-fixed-medium-r-*-*-14-*-*-*-*-70-*-*
>
> You might have to specify the sWdth and adstyl also (part 5 and 6):
>
>  -misc-fixed-medium-r-normal--14-*-*-*-*-70-*-*
>
> Always leave the last two parts unspecified so that the font system can
> load the fonts for different encodings.
>
> If you don't know the font patterns for your font you can use xfontsel
> to construct them.

I think this is correct.
Also, these font-patterns are called XLFD. Google it if you need more
information.
Received on Mon Jan 23 2012 - 20:36:03 CET

This archive was generated by hypermail 2.3.0 : Mon Jan 23 2012 - 20:48:04 CET