aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ports/SkFontHost_mac_coretext.cpp
diff options
context:
space:
mode:
authorGravatar reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2010-06-01 21:01:35 +0000
committerGravatar reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2010-06-01 21:01:35 +0000
commit7bea2972bbacd040e635e02cb2d7216ed626a1a7 (patch)
treec10b0c0edc33ca252a350066a47d97ddb7931682 /src/ports/SkFontHost_mac_coretext.cpp
parentfeda2f90a4ad9625e14d8cb02a90b9644d803dd4 (diff)
remove duplicate LCD functions (these are portable, and live in SkFontHost.cpp)
git-svn-id: http://skia.googlecode.com/svn/trunk@571 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/ports/SkFontHost_mac_coretext.cpp')
-rw-r--r--src/ports/SkFontHost_mac_coretext.cpp26
1 files changed, 1 insertions, 25 deletions
diff --git a/src/ports/SkFontHost_mac_coretext.cpp b/src/ports/SkFontHost_mac_coretext.cpp
index e54fb78b4b..328362beb5 100644
--- a/src/ports/SkFontHost_mac_coretext.cpp
+++ b/src/ports/SkFontHost_mac_coretext.cpp
@@ -19,7 +19,7 @@
#include "SkDescriptor.h"
#include "SkString.h"
#include "SkPaint.h"
-
+#include "SkFloatingPoint.h"
@@ -722,30 +722,6 @@ void SkFontHost::GetGammaTables(const uint8_t* tables[2])
///////////////////////////////////////////////////////////////////////////
-void SkFontHost::SetSubpixelOrientation(SkFontHost::LCDOrientation orientation)
-{
- SkASSERT(!"SkFontHost::SetSubpixelOrientation unimplemented");
-}
-
-SkFontHost::LCDOrientation SkFontHost::GetSubpixelOrientation(void)
-{
- SkASSERT(!"SkFontHost::GetSubpixelOrientation unimplemented");
- return kHorizontal_LCDOrientation;
-}
-
-void SkFontHost::SetSubpixelOrder(SkFontHost::LCDOrder order)
-{
- SkASSERT(!"SkFontHost::SetSubpixelOrder unimplemented");
-}
-
-SkFontHost::LCDOrder SkFontHost::GetSubpixelOrder(void)
-{
- SkASSERT(!"SkFontHost::GetSubpixelOrder unimplemented");
- return kRGB_LCDOrder;
-}
-
-///////////////////////////////////////////////////////////////////////////
-
int SkFontHost::CountTables(SkFontID fontID)
{ int numTables;
CFArrayRef cfArray;