• 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: Subclassing NSTypesetter: NSRunStorage exception
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Subclassing NSTypesetter: NSRunStorage exception


  • Subject: Re: Subclassing NSTypesetter: NSRunStorage exception
  • From: Douglas Davidson <email@hidden>
  • Date: Tue, 1 Oct 2002 09:50:50 -0700

On Tuesday, October 1, 2002, at 03:45 AM, Jirtme Laurens wrote:

glyphRange = NSMakeRange(0, end);

I'm not sure exactly what is going wrong here, but one thing that stands out is that you seem to be assuming a one-to-one correspondence of characters to glyphs. That may actually be the case for your text, but you need to at least ask the layout manager to convert between character and glyph indexes. The layout manager is lazy about its glyph generation, so if you never ask then it may never have generated the glyphs you need.

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.

  • Follow-Ups:
    • Re: Subclassing NSTypesetter: NSRunStorage exception (solved)
      • From: Jérôme Laurens <email@hidden>
References: 
 >Subclassing NSTypesetter: NSRunStorage exception (From: Jérôme Laurens <email@hidden>)

  • Prev by Date: MEETING: MacOS Developer Meeting Davis, CA Fri. 10/11/02
  • Next by Date: Re: C++ mixed with Cocoa
  • Previous by thread: Subclassing NSTypesetter: NSRunStorage exception
  • Next by thread: Re: Subclassing NSTypesetter: NSRunStorage exception (solved)
  • Index(es):
    • Date
    • Thread