On Thu, Mar 19, 2009 at 03:46:35PM -0300, Ricardo P. Jasinski wrote: > 1. Using the default system font, page rendering went from 8 secs > down to less than 1 sec. Very nice to see! > 2. I converted DejaVu Sans 18 bold to a C source file using > convfnt, replaced the system font with it and recompiled nano-X. So, > this became the new "System" font. Rendering delay is still under 1 > sec, which is nice. However, I lost anti-aliasing, and that makes the > font almost unreadable... It won't be a solution, then. > > I'm still not sure what conclusions we can draw from this...
let's see: - application with freetype: 8 seconds. - application replacing freetype with compiled-in bitmap font: < 1 second. it seems pretty clear to me that you need to look at what you can do to speed up freetype, and that nano-X isn't the issue here. if you don't have a profiler, you can write rough benchmarks by instrumenting code with whatever timers or timestamping facilities you have available. (ticks, time-of-day, etc...) -- Aaron J. Grier | "Not your ordinary poofy goof." | agr...@poofygoof.com --------------------------------------------------------------------- To unsubscribe, e-mail: nanogui-unsubscr...@linuxhacker.org For additional commands, e-mail: nanogui-h...@linuxhacker.org