dotgnu-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [DotGNU]DrawString good and bad news.... / Freetype


From: Thomas Fritzsche
Subject: Re: [DotGNU]DrawString good and bad news.... / Freetype
Date: Tue, 30 Sep 2003 09:37:17 -0000 (UTC)
User-agent: SquirrelMail/1.4.0

Hi Rhys and dotgnu hackers,


>> Are there any tools in dotgnu to make some performence checks to see
>> where
>> all the time is lost?
>
> "ilrun -M blah.exe" will tell you how many times each method is called.
> That
> should give you some indication as to where the inner time-wasting loops
> are.

Thanks. That helps a lot. I found the performence killer. This problem
comes from the textbox control. I could avoid most of the problems by
changing my new code. But this textbox control is a real performence
killer, because it draws each character separately. The other think I was
surprised is the fact that the tabstrip control calls most of measuring
stuff at start. For this it uses all tabs not only the tab it views
currently. Is this realy necessary? I think this causes the long startup
of the FormTest sample.

> The Xft library uses freetype internally, and works OK on
> modern versions of X.  I suggest sticking with libX11 and libXft.  Font
> management is horrid no matter how it is done, and so we're better off
> using
> a standard interface.

Yes, a direct freetype interface can only be an additional option. If I
understand this rigth, than Xft 1.0 (with freetype) is now in XFree86 4.x
installations. But this version brings only minimal more control in the
font handling. I have a fresh gentoo installation here but Xft is
currently broken. (syntag error: in Xft.h) I read that this is caused by
differend freetype versions on a system, but I dind't found the time to
check this out.

Thanks,
 Thomas


reply via email to

[Prev in Thread] Current Thread [Next in Thread]