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

Re: [MiNT] VDI clipping



Hi,

On tiistai 15 maaliskuu 2011, Peter Persson wrote:
> If you really really need to do that - I advice you not to (see if you
> can optimize other stuff instead, if possible) - have a look at Zorros
> code (zDesk sources).
> 
> He has a fairly efficient text rout which generates text in a monochrome
> buffer which is then blitted to screen. It can be optimized further, but
> imo the code looks nice.

AFAIK typically all modern browsers' HTML engines (Mozilla's Gecko, WebKit,
Opera's internal one) do their own layout as no system provided text
renderer will render the text as it's required by www-standards today
(different languages with glyph composition, left<->right direction, CSS
v1, 2, 3... etc).  Also because they need to be portable.

But typically text rendering is one of the main bottlenecks in Browser
speed.  And with all the extra information attached to the text, in memory
it can take hugely more than the rendered html file itself, even if
the HTML would contain just text... 


	- Eero