Re: Pango CoreText/ATSUI (was:Intricate changes to Quartz/OSX backend)




On Oct 26, 2009, at 8:34 AM, Kristian Rietveld wrote:

On Oct 26, 2009, at 4:23 PM, John Ralls wrote:
Oh, and unstable won't build without intervention on Tiger, because the latest Pango uses CoreText instead of ATSUI; CoreText wasn't supported before Leopard.

They didn't really port the backend to CoreText. It is still using the ATSUI API and they changed two function calls. I have an easy patch that puts the old calls (which were removed) back and then it builds and works fine on Tiger. I will try to clean this patch up and push it soon (and also test it on Leopard, which I was not able to do before).

The real challenge will be to write a proper, real, CoreText backend for Pango. I might tackle that in the future.

True, "switch" would have been a better term...

ISTM that a configure option and a macro that selects either the ATSUI or CoreText function is the way to go, so that Pango will build both for Tiger and x86_64. Cairo needs the same treatment; right now they just skip the ATSUI functions when building in 64-bit.

Regards,
John Ralls



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]