On 17 Oct 2009, at 03:52, XiaoGang Li wrote:

Your solution is good. At first, I think it is simple to list all the
limited fonts in the plist file, and it is easy to enumerate these fonts.
But, I think, when other font files are added to the bundle by other
engineer, I will update my plist file at the same time. this solution seems
unrobust.

If you're loading the fonts from inside your bundle yourself (e.g. using CGFontCreateWithDataProvider), then it's pretty straightforward to use CGFontCopyTableForTag() or the other CGFont APIs to access the font data.

Kind regards,

Alastair.

--
http://alastairs-place.net



_______________________________________________

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

Reply via email to