Re: [dev] st font change

From: Benjamin R. Haskell <suckless_AT_benizi.com>
Date: Wed, 17 Nov 2010 22:13:19 -0500 (EST)

On Wed, 17 Nov 2010, MItchell Church wrote:

> On Wed, Nov 17, 2010 at 5:36 PM, Aurélien Aptel wrote:
>
>> On Wed, Nov 17, 2010 at 10:10 PM, MItchell Church wrote:
>>> Is anyone else having trouble getting st to accept font changes?
>>> I've tried numerous strings using xfontsel, many of which work fine
>>> in other terminal programs. Is st support for this limited at the
>>> moment? Thanks.
>>
>> Could you be more specific? Which font are you trying to use and
>> what's exactly the problem?
>>
> Sorry for being vague. I was under the impression I could use
> xfontsel to create an X font name that could then be plugged into
> config.def.h. I tried several fonts including inconsolata, terminus,
> and dejavu but none of the strings produced by xfontsel are working.
> St recompiles successfully, but when starting up after the change I
> get a "could not load font...." error and st fails to start.

You're still being vague. What's the exact error message and/or exact
font string you're trying to use?

I just used xfontsel to pick a terminus variant:

-*-terminus-*-*-*-*-14-*-*-*-*-*-iso10646-1

Changing the line in config.h from:
#define FONT "-misc-*-medium-r-semicondensed-*-13-*-*-*-*-*-iso10646-*"

to:
#define FONT "-*-terminus-*-*-*-*-14-*-*-*-*-*-iso10646-1"

changed the font to terminus.

-- 
Best,
Ben
Received on Thu Nov 18 2010 - 04:13:19 CET

This archive was generated by hypermail 2.2.0 : Thu Nov 18 2010 - 04:24:02 CET