[webkit-dev] WKCreateCTLineWithUniCharProvider

Dan Bernstein mitz at apple.com
Thu Sep 27 10:09:31 PDT 2012


On Sep 26, 2012, at 2:34 AM, Glenn Adams <glenn at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20120927/5aa2374b/attachment.html>


More information about the webkit-dev mailing list