While I'm okay including it under the umbrella of an X.Org/Freedesktop.org Summer of Code application if the current maintainers are okay with that, I'm not sure the problem described is something that would take a student 12 weeks of full time work to solve. Perhaps if it included writing a full test suite for fontconfig it would come closer.
On 03/13/13 11:02 AM, Michal Srb wrote: > I am not sure if it fits under programs related to X: fontconfig > > - problem: > The way data are stored and/or searched is currently very inefficient. With > many fonts and fontconfig rules installed in system, the libfontconfig slows > down start of every graphical program. > > A quick test on my current system: > I've got about 4500 files in /usr/share/fonts and standard set of opensuse > font config rules. Starting and immediately quitting KDE's Konsole in > valgrind > resulted in 42% of time spent in libfontconfig! FcFontMatch was called 11 > times only. > > This happens for every program started. Just imagine how much time is spent > there during start of big desktop environments... > > - project description: > Rewriting/optimizing the way fontconfig stores and searches the font cache. > > - difficulty: easy/medium > Imho any non-trivial algorithm will be better than current state. > It's userspace library, should be easy to test. But there doesn't seem to be > any proper set of tests covering the current functionality now, so it may be > necessary to create them first. > > - skills: > C, some knowledge about fonts, fontconfig rules > > Michal Srb > > _______________________________________________ > [email protected]: X.Org development > Archives: http://lists.x.org/archives/xorg-devel > Info: http://lists.x.org/mailman/listinfo/xorg-devel -- -Alan Coopersmith- [email protected] Oracle Solaris Engineering - http://blogs.oracle.com/alanc _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
