Thanks Hironori, I thought so too at the beginning but it turns out that they are available, just not declared in public headers. The WebKit bug I linked to has a patch that switches us to Core Text on 10.5 & 10.6.
I'll do some perf tests and then we can make a decision based on that. Best regards, Jeremy 2009/11/24 Hironori Bono (坊野 博典) <hb...@chromium.org> > Greetings Jeremy, > > This is just for your information. > It seems "WebCore/platform/graphics/mac/ComplexTextControllerCoreText.cpp" > uses CTRunGetAdvancesPtr() and CTRunGetAdvances(), which are available > only on 10.6 or later. (This might be a reason why WebKit doesn't use > Core Text for Leopard?) > > (*1) < > http://developer.apple.com/mac/library/documentation/Carbon/Reference/CTRunRef/Reference/reference.html#//apple_ref/c/func/CTRunGetAdvancesPtr > > > > Best regards, > > Hironori Bono > E-mail: hb...@chromium.org > > On Tue, Nov 24, 2009 at 6:17 AM, Jeremy Moskovich <jer...@chromium.org> > wrote: > > Thanks Nico, > > I'll run some numbers. > > Best regards, > > Jeremy > > > > On Mon, Nov 23, 2009 at 11:15 PM, Nico Weber <tha...@chromium.org> > wrote: > >> > >> Did you do measuring if it's actually slower on 10.5? The CoreText > backend > >> for MacVim is much faster than the ATSUI backend from what I've heard > (then > >> again, MacVim doesn't do very complex text rendering). > >> > >> (Source: > http://groups.google.com/group/vim_mac/browse_thread/thread/b93c6dd5183bdc5e > ) > >> On Mon, Nov 23, 2009 at 12:58 PM, Jeremy Moskovich <jer...@chromium.org > > > >> wrote: > >>> > >>> Re http://crbug.com/27195 & > https://bugs.webkit.org/show_bug.cgi?id=31802 > >>> : > >>> > >>> Dan Bernstein says that Core Text on Leopard has performance issues vs > >>> ATSUI so I'm going to look into switching APIs at runtime rather than > >>> compile time. > >>> > >>> So we'd use ATSUI < 10.6 & Core Text >= 10.6 . > >>> > >>> Best regards, > >>> Jeremy > >>> > >>> > >>> -- > >>> Chromium Developers mailing list: chromium-dev@googlegroups.com > >>> View archives, change email options, or unsubscribe: > >>> http://groups.google.com/group/chromium-dev > > > > -- > > Chromium Developers mailing list: chromium-dev@googlegroups.com > > View archives, change email options, or unsubscribe: > > http://groups.google.com/group/chromium-dev > -- Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev