Changeset 940

Show
Ignore:
Timestamp:
09/26/08 00:33:35 (2 months ago)
Author:
astrange
Message:

Fix subpixel AA being enabled in the subtitle CGContext in recent OS X versions.
This is somewhat of a hack since the API function being called is badly named and is supposed to do something else. I'll file a bug someday.
Closes #358.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/perian-1.1/Perian.xcodeproj/project.pbxproj

    r933 r940  
    483483                11D4EFA10A3CE8C10066D45F /* libavcodec.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libavcodec.a; path = build/Universal/libavcodec.a; sourceTree = "<group>"; }; 
    484484                11D4EFA20A3CE8C10066D45F /* libavutil.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libavutil.a; path = build/Universal/libavutil.a; sourceTree = "<group>"; }; 
    485                 11D4EFA30A3CE8C10066D45F /* libpostproc.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libpostproc.a; path = build/Universal/libpostproc.a; sourceTree = "<group>"; }; 
    486485                11F28DAB0B52EB75000AF78C /* SUUpdateAlert.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUUpdateAlert.h; sourceTree = "<group>"; }; 
    487486                11F28DAC0B52EB75000AF78C /* SUUpdateAlert.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUUpdateAlert.m; sourceTree = "<group>"; }; 
     
    784783                                8F483B540A642644002CCA73 /* libavformat.a */, 
    785784                                11D4EFA20A3CE8C10066D45F /* libavutil.a */, 
    786                                 11D4EFA30A3CE8C10066D45F /* libpostproc.a */, 
    787785                                11D4EEFC0A3CE7FA0066D45F /* Carbon.framework */, 
    788786                                11D4EED50A3CE7EC0066D45F /* QuickTime.framework */, 
  • branches/perian-1.1/Subtitles/SubATSUIRenderer.m

    r923 r940  
    999999        CGContextSetLineJoin(c, kCGLineJoinRound); 
    10001000        CGContextSetInterpolationQuality(c, kCGInterpolationHigh); 
     1001        CGContextSetShouldSmoothFonts(c, NO); //disables subpixel AA for some reason 
    10011002         
    10021003        for (i = 0; i < div_count; i++) {