Re: [dev] [st] st 0.4 slow startup

From: Igor Šarić <karabaja4_AT_gmail.com>
Date: Sun, 7 Apr 2013 12:06:14 +0200

Hey Nick,

I just tried multiple fonts, xft and non-xft ones...

DejaVu Sans Mono
Bitstream Vera Sans Mono
Terminus
Monospace
Courier New
Consolas

I have slow startup with all of them.



On Sun, Apr 7, 2013 at 10:06 AM, Nick <suckless-dev_AT_njw.me.uk> wrote:

> Hi Igor,
>
> Quoth Igor Šarić:
> > I just tested the commit Chris posted.
> >
> > Yes, that commit is the cause of the startup delay:
>
> The startup delay doesn't seem to be affecting most people. That
> commit adds the font fallback mechanism if a glyph isn't found in
> the current font (an incredibly useful feature). I wonder whether
> the font you chose in config.h doesn't have the glyphs you tend to
> use, and hence st quietly has to iterate through other fonts in the
> cache to fond a more appropriate one.
>
> Can you try configuring a few different default fonts, and see if
> that affects the startup time? "DejaVu Sans Mono" has a lot of
> glyphs, maybe start with that.
>
> Nick
>
>
Received on Sun Apr 07 2013 - 12:06:14 CEST

This archive was generated by hypermail 2.3.0 : Sun Apr 07 2013 - 12:12:05 CEST