On Fri, Aug 22, 2014, at 10:57 PM, Raglan T. Tiger wrote: > > > NSFont *font = [NSFont systemFontOfSize:288]; > NSGlyph glyph = [font glyphWithName:glyphName]; > > > if glyphName is @“A” for example I get A > > if the glyphName is @“&” I get nothing > > if the glyphName is @“ampersand” I get & > > I cannot find a list that tells me the names of these non-alphabet > characters. > > Where should I look for this list and will the names be the same > regardless of font?
You should probably ask this question on the coretext-dev to get an answer from an authoritative source. But I would wager that the valid glyph names come from this table: <https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6post.html> Obviously 258 names can't cover modern fonts that can span the dozens of thousands of Unicode codepoints. The documentation on the 'Zapf` table implies that font designers can name their glyphs whatever the hell they want: <https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6Zapf.html> (see section "The GlyphIdentifier Structure"). So the question I have is: what are you actually trying to do? --Kyle Sluder _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
