Permalink
Browse files

Merge pull request #30 from github/indifferent-nstextview-antialiasing

Don't force antialiasing or SPAA one way or the other in NSTextView+TUIE...
  • Loading branch information...
2 parents 20f7192 + 1f83f00 commit 608c0424ea914eab249d61c6995dbd6cfc87c598 @joshaber joshaber committed Jul 26, 2012
Showing with 0 additions and 8 deletions.
  1. +0 −8 lib/Support/NSTextView+TUIExtensions.m
@@ -18,14 +18,6 @@ static void fixedDrawRect (NSTextView *self, SEL _cmd, NSRect rect) {
CGContextSetAllowsFontSubpixelPositioning(context, YES);
CGContextSetAllowsFontSubpixelQuantization(context, YES);
- CGContextSetShouldAntialias(context, YES);
-
- // TODO: SPAA seems to stop working when text fields and text views lose
- // focus, so it's disabled for now.
- CGContextSetShouldSmoothFonts(context, NO);
- CGContextSetShouldSubpixelPositionFonts(context, NO);
- CGContextSetShouldSubpixelQuantizeFonts(context, NO);
-
// NSTextView likes to fall on non-integral points sometimes -- fix that
if ([self.superview respondsToSelector:@selector(backingAlignedRect:options:)]) {
self.frame = [self.superview backingAlignedRect:self.frame options:NSAlignAllEdgesNearest];

0 comments on commit 608c042

Please sign in to comment.