Changeset 1204
- Timestamp:
- 11/22/09 17:53:38 (8 months ago)
- Files:
-
- 1 modified
-
trunk/Subtitles/SubATSUIRenderer.m (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Subtitles/SubATSUIRenderer.m
r1189 r1204 1042 1042 SetATSULayoutOther(layout, kATSUCGContextTag, sizeof(CGContextRef), &c); 1043 1043 1044 CGContextSetLineCap(c, kCGLineCapRound); 1044 CGContextSetLineCap(c, kCGLineCapRound); // these two are needed to avoid spiky outlines on some fonts 1045 1045 CGContextSetLineJoin(c, kCGLineJoinRound); 1046 CGContextSetInterpolationQuality(c, kCGInterpolationHigh); 1047 CGContextSetShouldSmoothFonts(c, NO); //disables subpixel AA for some reason 1046 CGContextSetInterpolationQuality(c, kCGInterpolationLow); 1047 CGContextSetShouldSmoothFonts(c, NO); // disables subpixel AA which suddenly appeared in some version of 10.5 1048 // note that it's not documented as doing this, but does the right thing anyway. 1048 1049 1049 1050 for (i = 0; i < div_count; i++) {
