• 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: Problem: how to get glyph descent and ascent
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem: how to get glyph descent and ascent


  • Subject: Re: Problem: how to get glyph descent and ascent
  • From: Anders Lassen <email@hidden>
  • Date: Tue, 23 Jun 2009 18:44:42 +0200

Hi,

I have read:

TrueType Reference Manual:
http://developer.apple.com/textfonts/TTRefMan/

FontHandling:
http://developer.apple.com/documentation/Cocoa/Conceptual/FontHandling/FontHandling.pdf

and

About drawing text with Cocoa NSString and NSAtrributedString, etc.

and

"Introduction to Quartz 2D Porgramming Guide"

but with no luck.

I have also seached the internet for "descent for glyphs"

but with no luck.

To clarify this and my original question: It is easy to find infomation about how to get a fonts ascent and descent, but I cant find any info about getting ascent/descent fot individual glyphs.


On Jun 23, 2009, at 6:21 PM, I. Savant wrote:

On Jun 23, 2009, at 12:14 PM, Anders Lassen wrote:

I need to know the descent and ascent for individual glyphs.

I have looked in several document sets -- both cocoa and carbon, but I did not have any luck.

Hope someone can help,

What specific documentation did you read? What did you not understand about it? What have you tried on your own?


 Suggested reading:

How to Ask Questions the Smart Way
http://catb.org/~esr/faqs/smart-questions.html

--
I.S.



_______________________________________________

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: Problem: how to get glyph descent and ascent
      • From: "I. Savant" <email@hidden>
    • Re: Problem: how to get glyph descent and ascent
      • From: "I. Savant" <email@hidden>
References: 
 >Problem: how to get glyph descent and ascent (From: Anders Lassen <email@hidden>)
 >Re: Problem: how to get glyph descent and ascent (From: "I. Savant" <email@hidden>)

  • Prev by Date: Re: Realtime, GC and ObjC (Was Re: Opinion on managed memory and garbage collection)
  • Next by Date: Re: Short-circuit evaluation
  • Previous by thread: Re: Problem: how to get glyph descent and ascent
  • Next by thread: Re: Problem: how to get glyph descent and ascent
  • Index(es):
    • Date
    • Thread