CVSROOT:        /cvs/directfb
Module name:    DirectFB
Changes by:     dok     20020530 13:14:12

Modified files:
        interfaces/IDirectFBFont: idirectfbfont_ft2.c 

Log message:
Added caching of kerning values for characters from 32 to 127.

The cache is about 100kb, but it gives a reasonable boost for font rendering
in system memory or hardware accelerated. We could make it configurable.

"df_dok --draw-string --system" went from ~305 KChars to ~358 KChars on an
Athlon 1.33GHz. I guess the boost will be even bigger on ARM 50MHz with a G200.

Using A8 fonts, that look well now, on an Athlon 1.33GHz with a G550:

Anti-aliased Text                      3.00 secs (  945.85 KChars/sec)

A bit smaller font and we have a million anti aliased characters per second ;)



-- 
Info:  To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-cvs" as subject.

Reply via email to