Hello all,

I'm trying to understand how the FontManager interfaces with WebView. to alter the behavior and replicate in other ways. Does anyone know how FontManager doe s its magic with WebView? What methods are called, etc.? Looking at Blot.app for example, the "Bold" menu item targets FontManager addFontTrait method. After that how does the WebView end up inserting " <SPAN class="Apple-style-span" style="font- weight: bold;"></SPAN>" wrapped around the selectedDOMRange? I imagine much of this happens in the black-box of the FontManager, but what method finally get called in the WebKit APIs?

Any pointers would be appreciated.

Best wishes,
Rob
_______________________________________________
webkit-dev mailing list
webkit-dev@opendarwin.org
http://www.opendarwin.org/mailman/listinfo/webkit-dev

Reply via email to