Hello list, I am trying to do quite simple thing - add a popup with all fonts, available on system. Each item of menu, should be displayed in corresponding font. As an example could be all iWork apps. When you dealing with text, you have a popup with fonts, and each font name is displayed with "preview" of that font.
I have tried to do that in very usual way: - iterating over available fonts - creating a NSMenuItem for each font, setting it up - setting menuItem's attributedTitle with corresponding NSFontAttributeName - adding menuItem to the popup. This works as expected, but after app launch, when I click on that popup for the first time, delay until menu is shown is unacceptable. Usually it takes a few seconds. All following times I click on the popup, the menu is displayed immediately. Until relaunch of the app.. Shark has not provided any useful information. So I am wondering - I have missed something, or should I use some "tricks" to avoid that delay? Any thoughts are very welcome. Regards, Rimas M. _______________________________________________ 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