문제

I've got NSToolbar with Fonts item. Is it possible to set filter for fonts in Fonts table? For example I don't want Arial in font family table.

Or second way - Is it possible to make own group in Fonts as Collection? Thx 4 reply.

도움이 되었습니까?

해결책

You can filter the fonts displayed in the Font Panel by using a Font Manager delegate and implementingfontManager:willIncludeFont: to filter the fonts displayed by the Font Panel.

You might find additional infos here:
Using NSFontPanel in Cocoa

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top