[Top][All Lists]

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

Re: [Gnash-dev] text rendering broke

From: strk
Subject: Re: [Gnash-dev] text rendering broke
Date: Mon, 25 Sep 2006 17:32:26 +0200

It turns out that the problem is the unavaiability of a registered
renderer while paring.
The renderer is currently used during parsing to create bitmap_info.
This seems related to the caching strategy we were discussing with
Udo in the process documentation thread.

If we decouple cache creation from parsing the problem would go
away. A quicker solution is making sure a renderer is registered
*before* parsing, but it doesn't sound clean to me.
See task for related


On Mon, Sep 25, 2006 at 12:53:04PM +0200, strk wrote:
> I tracked the commit breaking this to a change in gui/Player.cpp
> (my own commit).
> The change is to avoid calling get_movie_info before opening
> the SWF.
> The get_movie_info simply reads the *whole* SWF and returns info
> found in the header. Readin a *full* SWF includes fetching from
> the net (for remote files), uncompressing (for compressed files)
> and a bunch of function calls to the stream class. 
> So, it *is* worth removing.
> I see no obvious side-effects to that call, except maybe timing.
> Since removing that call introduces text problems, I think this
> bug is related to others that report startup_frames settin changing
> text quality. Ie:
> --strk;
> On Mon, Sep 25, 2006 at 10:55:12AM +0200, strk wrote:
> > Hi all. I dunno since when, but it seems text rendering doesn't
> > work anymore. It was working while I was dealing with edit_text_character
> > and VariableName, and I think it was working while doing the Player stuff,
> > so it should have broken between 2006-09-23 and 24.
> > To verify try playing testsuite/movies.all/zoomhenge.swf
> > 
> > --strk;
> _______________________________________________
> Gnash-dev mailing list
> address@hidden


 /"\    ASCII Ribbon Campaign
 \ /    Respect for low technology.
  X     Keep e-mail messages readable by any computer system.
 / \    Keep it ASCII. 

reply via email to

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