Re: Custom NSTypesetter problems
Re: Custom NSTypesetter problems
- Subject: Re: Custom NSTypesetter problems
- From: Douglas Davidson <email@hidden>
- Date: Fri, 23 Jul 2004 08:40:58 -0700
On Jul 22, 2004, at 7:18 AM, Gian Luca Cannata wrote:
I'm using a subclass of NSTypesetter for a fast text layout but in
some circumstances the application crash in
characterIndexForGlyphAtIndex. This method is called in my typesetter
first time to retrieve the corresponding caracter to startGlyphIndex.
In order to prevent the crash which control I would have to make? And
because the app crash with EXC_BAD_ACCESS?
Try it in gdb; at the crash point, find out the glyph index you are
passing to characterIndexForGlyphAtIndex, and po the layout manager.
Douglas Davidson
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.