Re: [dev] st font change

From: Mitchell Church <mitchellchurch_AT_gmail.com>
Date: Thu, 18 Nov 2010 14:32:36 -0500

Okay, the specific error message is

Can't load font -*-inconsolata-*-*-*-*-12-*-*-*-*-*-iso10646-1

This is when trying to use the font string -*-inconsolata-*-*-*-*-12-*-*-*-*-*-iso10646-1

I also tried the terminus string you provided with no luck.

On Wed, Nov 17, 2010 at 10:13:19PM -0500, Benjamin R. Haskell wrote:
> 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 - 20:32:36 CET

This archive was generated by hypermail 2.2.0 : Thu Nov 18 2010 - 20:36:01 CET