[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-dev] Questions about trapezoids, triangle stripper etc.

From: strk
Subject: Re: [Gnash-dev] Questions about trapezoids, triangle stripper etc.
Date: Mon, 2 Oct 2006 14:18:58 +0200

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]