Re: [dev] [st] Font issues

From: Aurélien Aptel <aurelien.aptel_AT_gmail.com>
Date: Wed, 8 Jun 2011 20:00:51 +0200

On Tue, May 31, 2011 at 3:08 PM, Bryan Bennett <bbenne10_AT_gmail.com> wrote:
> I'm attempting to get st to use Dina as it's font. At first, I couldn't get
> st to read the font at all (it would die upon launching, saying it couldn't
> find the font), but I've had issues with Dina before - the CP1252
> encoding was giving urxvt problems a while back so I re-encoded it
> (to ISO8859-1) and tried again. Now st will launch - but the font looks
> terrible.[1] I've uploaded my config.h[2], but the line that should be the
> problem is:
>
> #define FONT          "-*-dina-medium-r-*-*-13-*-*-*-*-*-*-*"
> #define BOLDFONT "-*-dina-bold-r-*-*-13-*-*-*-*-*-*-*"
>
> That font declaration works fine in urxvt, though - so I'm lost. Are there
> obvious changes that need to be made that I'm apparently missing? Is
> there some difference in the way that suckless is doing this that is
> affecting the way fonts are rendered or am I just doing it wrong?

I'm really not an expert on X11 and fonts. I barely managed to print
text on a window with st. I don't know why your font doesn't work.
Dina is only available in the form of a Windows© .fon from the author
website so I guess all the conversion involved to get it working on
X11 doesn't help.
Post the font you're using here and I/someone will try to look into it.
Received on Wed Jun 08 2011 - 20:00:51 CEST

This archive was generated by hypermail 2.2.0 : Wed Jun 08 2011 - 20:12:02 CEST