Gustavo Sverzut Barbieri wrote: > Hello, Hi
> I've commited the new info_area.py to my WIP (WIP/Barbieri/), please > get a new copy (you must use authenticated login, since SF is 1 day > back for anonymous) and copy info_area.py and xml_skin.py over > skin/main1/, then start freevo and select the skin 'barbieri'. Nice...very nice! It looks much more colorful right now, much better. But why did you sent it today? I have so much work to do and you sent me something I could not resist to play with. It will be a long day... > You may experience some problems regarding fonts... that's because I > used timesbd.ttf and impact.ttf, you may work around that. I like impact, but times I don't. But you should search for alternative fonts because we can't add these fonts to the distribution. > Dischi: Please take a look at the code and try to figure out how to get > access to fonts without using: self.font = self.settings._font Done. That's what 'prepare' is for. I checked in the new version to your WIP directory. I also changed some minor stuff. > Everybody: Please try to figure out a way to optimize that! It's too > slow for me, on my Pentium IV 2Ghz it goes 100% CPU if I change > selected items quick... > However I see no way to optimize that :( Please take a look and say > what you think... IMHO if there is a way to improve that is doing some > caching or eliminating unecessary recalculations/loops. But I simple > don't know where. It's slower, true. But it's more powerfull, it can't be faster than before. IMHO the problems are some 'eval's, drawstringframed (all this calculating) and I guess hasattr may also take some time. Dischi -- Linux - Less bugs for less bucks! ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel