aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar bungeman <bungeman@google.com>2014-12-01 15:04:53 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-12-01 15:04:54 -0800
commitc6b8b02882a092f2ab58894956d3ac457d5c8607 (patch)
tree9a6b7ff6c336dfb265abe9e1cbdacaab89280ada
parentce547f4cee103d8faddf72e36dbafe042928b578 (diff)
Remove support for OSX 10.5.
No user supports OSX 10.5 at this point, so remove the last support for building there. Review URL: https://codereview.chromium.org/768133005
-rwxr-xr-xsrc/ports/SkFontHost_mac.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/ports/SkFontHost_mac.cpp b/src/ports/SkFontHost_mac.cpp
index dea72c7358..c19df196b3 100755
--- a/src/ports/SkFontHost_mac.cpp
+++ b/src/ports/SkFontHost_mac.cpp
@@ -195,22 +195,6 @@ static unsigned CGRGBPixel_getAlpha(CGRGBPixel pixel) {
return pixel & 0xFF;
}
-// The calls to support subpixel are present in 10.5, but are not included in
-// the 10.5 SDK. The needed calls have been extracted from the 10.6 SDK and are
-// included below. To verify that CGContextSetShouldSubpixelQuantizeFonts, for
-// instance, is present in the 10.5 CoreGraphics libary, use:
-// cd /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/
-// cd ApplicationServices.framework/Frameworks/CoreGraphics.framework/
-// nm CoreGraphics | grep CGContextSetShouldSubpixelQuantizeFonts
-
-#if !defined(MAC_OS_X_VERSION_10_6) || (MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_6)
-CG_EXTERN void CGContextSetAllowsFontSmoothing(CGContextRef context, bool value);
-CG_EXTERN void CGContextSetAllowsFontSubpixelPositioning(CGContextRef context, bool value);
-CG_EXTERN void CGContextSetShouldSubpixelPositionFonts(CGContextRef context, bool value);
-CG_EXTERN void CGContextSetAllowsFontSubpixelQuantization(CGContextRef context, bool value);
-CG_EXTERN void CGContextSetShouldSubpixelQuantizeFonts(CGContextRef context, bool value);
-#endif
-
static const char FONT_DEFAULT_NAME[] = "Lucida Sans";
// See Source/WebKit/chromium/base/mac/mac_util.mm DarwinMajorVersionInternal for original source.