On Mon, Oct 02, 2006 at 01:36:24PM +0200, Udo Giacomozzi wrote: > Hello strk, > > Monday, October 2, 2006, 12:34:55 PM, you wrote: > s> The problem is that since parsing is done in a separate thread, the > s> number of "currently" registered fonts depends on how fast is the > s> loading thread ... > > Strange anyway. Any definition in a SWF file must come before it is > being used. So, a font should be already defined before the frame > using it is even loaded anyway.
Yes, but the generate_font_bitmaps() in gnash libserver is called when movie_def_impl::read() returns, which is *before* the full SWF is parsed. Calling it *after* full swf is parsed would be of no use as when the font needs to be displaied the bitmap cache would not be available. I'm trying to isolate the code that actually creates the bitmap_info cache from the texture_glyph definition to eventually attach it when needed... but that fontlib.cpp file is a jungle --strk; _______________________________________________ Gnash-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnash-dev

