Hi,

I am working on a project that uses a lot of fonts.

To be more precise. I have an object tree consisting of many small objects that draw themselves to a view. Each object can either use a default font setup or make local variations to the default font setup. By local variations, I mean weight and italic style.

I can now decide to have only one instance of the default fonts and then create local variations, which are stored in each object in the tree. I can also decide to store the local font (variations) globally and make som kind of lookup system. This of course requires a lot more business-logic, and hope to avoid this.

My problem is, that I do not know much a about fonts and how they are handled by the system.

Is a font a large object that requires a lot of memory usage and CPU time for initial loading, etc. ??? or should I just think of it, as an small object pointer.

(my object tree will in average contain about 100-300 objects).


I hope someone can help on this.


Anders Lassen
_______________________________________________

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