gnash-dev
[Top][All Lists]
Advanced

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

Re: [Gnash-dev] HTML markup in text


From: strk
Subject: Re: [Gnash-dev] HTML markup in text
Date: Mon, 20 Nov 2006 14:39:21 +0100

On Sun, Nov 19, 2006 at 10:58:17PM -0500, dolphinling wrote:
> gnash/server/edit_text_character.cpp line 824 says
>         // TODO: HTML markup
> 
> A website I visit a lot uses html markup in their text quite a bit, so I'd 
> be interested in seeing this supported. So, is anyone currently working on 
> it? If not, how hard do people think it would be? I'm only just learning 
> c++ (need to teach myself by january), would it be something I might be 
> able to do?

The text support in gnash needs a lot of cleanup (ie: shorter functions
body, more functional units).

> And if so, does anyone have any pointers for where to start? I found 
> http://sswf.sourceforge.net/SWFalexref.html#tag_defineedittext somewhere in 
> the code, which looks like it would be all that's needed for *what* to 
> implement, but anything like where to start in the code would be needed.

file: server/edit_text_character.cpp
function: format_text()

The function fills a m_text_glyph_records member, containing
the glyphs to be displaied.

--strk;




reply via email to

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