Re: glyphWithName: broken on Tiger ?
Re: glyphWithName: broken on Tiger ?
- Subject: Re: glyphWithName: broken on Tiger ?
- From: John Stiles <email@hidden>
- Date: Wed, 1 Jun 2005 14:58:56 -0700
On Jun 1, 2005, at 2:42 PM, Robert Clair wrote: "Glyph names in fonts do not always accurately identify the glyph" (and the docs have said that for quite some time - this isn't a Tiger change)
"do not *always* accurately identify the glyph" - but in fact in most simple cases they do ... or did.
Note that this isn't a warning that the routine is deprecated or unsupported - it is just a warning that some fonts have odd namings and it may not give the result you want for those fonts.
You're correct that this isn't a Tiger change in the docs. It's a Tiger change in the code. My fonts didn't suddenly develop amnesia - someone took a working bit of code and changed it somehow and now it doesn't work. Since there was no mention of this going away I would certainly consider it a bug.
To each one their own goat.
It sounds to me like you were relying on something that the documentation clearly stated was not a guarantee, and now you're being bitten by it and you want to blame someone else. Sorry, but that's your bug. If the docs say that glyph names can be arbitrary, expect the unexpected.
I don't have your original code on hand any more, but I used NSLayoutManager's getGlyphs:range: in the past and had good results. |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden