[webkit-dev] Text display procedure in Webkit GtK

Martin Robinson mrobinson at webkit.org
Mon Apr 11 11:08:32 PDT 2011

On Mon, Apr 11, 2011 at 10:13 AM, Soheil Servati Beiragh
<sservati at yahoo.com> wrote:
> I'm working on the WebKit and Text placement. I did lots of back trace on webkit
> in Gtk to find out where actually does the webkit gives the string of text to the text
> handler like cairo to show it. Can you give me any help or advise on that?

There are two places:

1. Font::drawGlyphs in
Source/WebCore/platform/graphics/cairo/FontCairo.cpp for the simple
text placement path.
2. Font::drawComplexText in
Source/WebCore/platform/graphics/gtk/FontGtk.cpp for the complex text
placement path.


More information about the webkit-dev mailing list