• 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: drawGlyphsForGlyphRange layout issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: drawGlyphsForGlyphRange layout issue
      • From: "email@hidden" <email@hidden>
References: 
 >drawGlyphsForGlyphRange layout issue (From: "email@hidden" <email@hidden>)

  • Prev by Date: Re: Autosave in place - common use case that makes me hate it
  • Next by Date: Re: NSDocument -close called multiple times?
  • Previous by thread: drawGlyphsForGlyphRange layout issue
  • Next by thread: Re: drawGlyphsForGlyphRange layout issue
  • Index(es):
    • Date
    • Thread