For your questions:
• Does ATSUDrawText crash when you pass it the same objects and settings?
Yes
• What font and text are you using when it crashes?
Tahoma,the string is "aemnnxEM"
• Does it crash every time?
Yes, it always crashed in one certain call.
Sorry, I think we can hardly provide the sample test code at that time.
Thanks for your help again!
Daniel Fenwick <email@hidden>
Daniel Fenwick <email@hidden>
2007-10-31 23:30
To
Shuang Qin/China/IBM@IBMCN
cc
email@hidden
Subject
Re: Crash at ATSUI API: ATSUDirectGetLayoutDataArrayPtrFromTextLayout()
There was not anything in particular that had been changed in this routine or deeper in the ApplyKerning between the builds you noted. So a few questions:
• Does ATSUDrawText crash when you pass it the same objects and settings?
• What font and text are you using when it crashes?
• Does it crash every time?
If you can file a bug, preferably with your example test that demonstrates the crash, that would be a good start (or just send me the answers to the above questions at least). I'll investigate it further for you.
Dan Fenwick
On Oct 30, 2007, at 10:25 PM, Shuang Qin wrote:
Hi,
Our carbon application works well at Mac OS X 10.4, 10.5(9A527), but from 10.5(9A559), it will crash on a ATSUI API call: ATSUDirectGetLayoutDataArrayPtrFromTextLayout(), but not all calls for this API will crash. We want to know, what is the difference of ATSUI in these versions? Does it a bug with Mac OS X? Can you give us some suggestions? Thanks in advance!
code segment:
short utf16 = 0;
ItemCount glyphCount;
ATSLayoutRecord *layoutRecords;
ATSUTextLayout textLayout;
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden
This email sent to email@hidden