On 23.08.2011, at 09:50, liaojifang wrote:

> Hello:
>  everyone!
>  I am very pleased to see FLTK1.3.0 support for Unicode encoding.
> But I found a problem when I initialized unicode fonts. I am by looking at 
> the code and found that the problem lies in the function call 
> XLoadQueryFont.it take a long time when  calling XLoadQueryFont(utf8Wrap.c) 
> function.

Yes, I have seen that in OS X as well. For example, open Fluid, the open the 
"File" pulldown menu. It takes a few seconds until the pulldown is shown, 
probably because the font page for the Apple symbols must be loaded and 
calculated first.

This may be related to the glyph width caching that we do. Maybe we need to 
make the caching page size much smaller?

 - Matthias
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to