CoreText in pango for OSX 64-bit



Hi list,

I recently managed to make gtk+ working natively (e.g. without using X11) on my SL machine, many thanks to all that made this happening (and I know the pango team made a big effort for implementing the atsui module) !

However, with this native gtk, I had big performance issues, and some analysis showed that the culprit was the use of ATSUI in pango (in particular ATSUDirectGetLayoutDataArrayPtrFromTextLayout seem to take ages to complete).

I understand that supporting ATSUI is important for Tiger suppoirt, however this API is deprecated and is very, very slow (at least on my Snow Leopard, 64bit machine).

I thus modified pango to switch to CoreText with a 64bit compiler, for which the necessary API should always be present.

Attached is the patch of this modification, applied to pango-1.28.3.

If another procedure is required to submit patches, please tell me so, I would be glad to follow this procedure.

Regards,
- Jerome

Attachment: pango-1.28.3.diff
Description: Binary data



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