Hi, In the resource directory of my application bundle, there is a directory named "Fonts", which includes all the fonts I can use. I means that the other uncontained fonts which come from the system or third party application will be invalid in my application. when the users use my application to draw text, only the fonts contained in the bundle should be valid. This is the backgroud of my question. After getting the font name from the font used by the user, need to check whether this font is valid, so, how to get the font information from my font files. I have read NSFontManager, it can get all the fonts in the system, I just to want to get the font name from my .ttf font file. I also have read ATS relalted, but failed to find a solution, there is no such interface to get detailed information from a ttf file.
Hope the list can help me, the point of my question is how to get the information from the ttf font file? Thanks. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com