On Tue, May 31, 2011 at 3:08 PM, Bryan Bennett <bbenn...@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.