#include "platform/fonts/Font.h"
#include "platform/LayoutTestSupport.h"
+#include "platform/fonts/FontPlatformFeatures.h"
#include "platform/fonts/FontSmoothingMode.h"
#include "platform/fonts/GlyphBuffer.h"
#include "platform/fonts/SimpleFontData.h"
namespace WebCore {
-bool Font::canReturnFallbackFontsForComplexText()
+bool FontPlatformFeatures::canReturnFallbackFontsForComplexText()
{
return true;
}
-bool Font::canExpandAroundIdeographsInComplexText()
+bool FontPlatformFeatures::canExpandAroundIdeographsInComplexText()
{
return true;
}
break;
}
- if (!shouldUseSmoothing() || isRunningLayoutTest()) {
+ if (isRunningLayoutTest()) {
shouldSmoothFonts = false;
shouldAntialias = false;
}