On Sep 26, 2012, at 2:34 AM, Glenn Adams <gl...@skynav.com> wrote:

> Where can I find the source for WKCreateCTLineWithUniCharProvider? I'm 
> working on a bug [1] in which I will need to at least understand and perhaps 
> modify its behavior.
> 
> Basically, to fix this bug, I need to pass character context from adjacent 
> text runs (or adjacent inline text nodes) that will be used to affect the 
> shaping substitutions but not otherwise participate in width or drawing 
> behavior.
> 
> Or is this functionality only exposed to Apple staffers? [If so, then I will 
> instead approach doing a trial fix on one of the platforms that uses 
> harfbuzz.]
> 
> Regards,
> Glenn
> 
> [1] https://bugs.webkit.org/show_bug.cgi?id=6148

WKCreateCTLineWithUniCharProvider is a wrapper around Core Text private API. It 
does the same thing that the public function CTLineCreateWithAttributedString 
does, except that instead of taking an attributed string as a parameter, it 
takes a pointer to a callback function that returns runs of characters and 
attributes.

Core Text source code is not published.
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to