Re: [dev] st slow startup

2013-05-11 Thread Christoph Lohmann
Greetings. On Sat, 11 May 2013 22:02:25 +0200 Sanel Zukan wrote: > > The answer is simple: No. Fltk is written in this April fool’s joke > > called »C++« which too many people have used in the past to cause global > > warming. > > FLTK was written in C++ subset (there are no even namespaces

Re: [dev] st slow startup

2013-05-11 Thread Sanel Zukan
> The answer is simple: No. Fltk is written in this April fool’s joke > called »C++« which too many people have used in the past to cause global > warming. FLTK was written in C++ subset (there are no even namespaces) and if you compare it to the whole C Gtk stack (or dozens C libs out there)

Re: [dev] st slow startup

2013-05-11 Thread Christoph Lohmann
Greetings. On Sat, 11 May 2013 14:26:05 +0200 Sanel Zukan wrote: > > X11: pango on top of cairo on top of fontconfig and xft on top of x11. > > The thing is how given stack works for Gtk+ and/or apps using directly Pango. > However, there are alternatives, like FLTK (http://fltk.org) which relie

Re: [dev] st slow startup

2013-05-11 Thread Sanel Zukan
> X11: pango on top of cairo on top of fontconfig and xft on top of x11. The thing is how given stack works for Gtk+ and/or apps using directly Pango. However, there are alternatives, like FLTK (http://fltk.org) which relies only on Xft drawing... Sanel On Sat, May 11, 2013 at 8:56 AM, Christoph

Re: [dev] st slow startup

2013-05-11 Thread Christoph Lohmann
Greetings. On Sat, 11 May 2013 08:56:03 +0200 Johannes Hofmann wrote: > Hi, > > as others also have noticed, Xft based st starts slow on some > systems. For me it helps if FcFontSort() is done lazily as shown > below. Thanks for the patch, it improves the startup time. This still does not sol

Re: [dev] st slow startup

2013-05-10 Thread Silvan Jegen
On Thu, May 09, 2013 at 11:42:50PM +0200, Johannes Hofmann wrote: > Hi, > > as others also have noticed, Xft based st starts slow on some > systems. For me it helps if FcFontSort() is done lazily as shown > below. My completely unscientific benchmarking confirms this on my machine: [silvan@myarc

[dev] st slow startup

2013-05-09 Thread Johannes Hofmann
Hi, as others also have noticed, Xft based st starts slow on some systems. For me it helps if FcFontSort() is done lazily as shown below. Regards, Johannes diff --git a/st.c b/st.c index 50090a4..425f669 100644 --- a/st.c +++ b/st.c @@ -2643,10 +2643,7 @@ xloadfont(Font *f, FcPattern *pattern)