[webkit-dev] WebKit Text Rendering
eric at webkit.org
Tue Apr 19 07:56:17 PDT 2011
Line breaking is done in findNextLineBreak in RenderBlockLineLayout.
There is a talk on Youtube from me which touches on some of this.
The RenderTexts get broken into lines, then the bidi algorithm is run and
then line boxes are created. The text contents of the line boxes are passed
individually to the paint functions at paint time.
On Tue, Apr 19, 2011 at 7:48 AM, Soheil Servati Beiragh
<sservati at yahoo.com>wrote:
> I'm working on text rendering of WebKit. I tried to find my path through it
> and I was a bit successful but I'm wondering in a gtk build when there is a
> large paragraph of text to be shown on screen where does the length of each
> line decided? I know that to show text a drawText function in the Font.cpp
> is called but the issue is it gets a string for each line, my question is
> for a large paragraph where does the code cuts the text in lines and decides
> the length and prepare it for drawText function?
> *Soheil Servati Beiragh*
> *PhD Candidate, ECE Department,
> *Research Center for Integrated Microsystems,*
> *University of Windsor.*
> Room 268 Essex Hall
> 401 Sunset Avenue
> Windsor, Ontario
> Canada, N9B 3P4
> Phone: 519-253-3000 Ext 3396
> Email: servati at uwindsor.ca
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev