Re: descender for glyph
Re: descender for glyph
- Subject: Re: descender for glyph
- From: Moray Taylor <email@hidden>
- Date: Wed, 4 Feb 2004 23:46:33 +0000
Hi,
You should be able to use NSFont's "afmDictionary", and then calculate
the descender yourself, I'm pretty sure that information is in the
font's AFM.
Cheers
Moray
Am 04.02.2004 um 22:55 schrieb email@hidden:
NSFont's boundingRectForGlyph: ignores everything below the baseline.
It does? According to the docs it shouldn't, I think.
If I use an NSAttributedString and get its bounds, they are for the
largest characters of its font, not for the characters of this
string.
And I haven't found a way to determine the base line inside that
bounds yet. :-(
Sorry, can't help. Looks like Font metrics and typography could use
some more documentation though ...
bye. Andreas.
_______________________________________________
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.
_______________________________________________
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.