How to get good quality of text in Core Animation


Dear Master,

I have a question about Core Animation.

I just put an NSTextField on content view of Window.

if contentView setWantsLayer:YES the NSTextField got low quality of text.
if contextView setWantsLayer:NO the NSTextField’s quality is back to normal.

Thanks for help.

The code please refer to following

  • (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
    // Insert code here to initialize your application

     [color=#FF0000][[[self window] contentView] setWantsLayer:YES];[/color]