Re: drawGlyphsForGlyphRange layout issue
Re: drawGlyphsForGlyphRange layout issue
- Subject: Re: drawGlyphsForGlyphRange layout issue
- From: Ross Carter <email@hidden>
- Date: Fri, 21 Sep 2012 12:12:52 -0400
On Sep 21, 2012, at 6:54 AM, "email@hidden" <email@hidden> wrote:
> The following is used to draw a glyph representing a tab character in an NSLayoutManager subclass.
> When using say the Monaco font everything looks fine.
> When switching to Menlo however the glyphs drawn in the method below are positioned lower on the line than those drawn by the super implementation.
Not sure this will help, but you might compare the descender value for the 2 fonts and see if the difference is equal to the positioning problem.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden