• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Custom NSTypesetter problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Custom NSTypesetter problems (From: Gian Luca Cannata <email@hidden>)

  • Prev by Date: Re: Re: Memory management, when mixing C and Obj C
  • Next by Date: Re: Memory management, when mixing C and ObjC
  • Previous by thread: Custom NSTypesetter problems
  • Next by thread: replaceCharactersInRange withRTF line break problem
  • Index(es):
    • Date
    • Thread