FROM : Douglas Davidson
DATE : Tue Oct 01 18:50:50 2002
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_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
DATE : Tue Oct 01 18:50:50 2002
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_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
| Related mails | Author | Date |
|---|---|---|
| Jérôme Laurens | Sep 30, 09:04 | |
| Douglas Davidson | Sep 30, 19:25 | |
| Jérôme Laurens | Oct 1, 12:45 | |
| Douglas Davidson | Oct 1, 18:50 | |
| Jérôme Laurens | Oct 3, 09:33 |






Cocoa mail archive

