chromium/third_party/blink/renderer/platform/fonts/web_font_render_style.cc

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/public/platform/web_font_render_style.h"

#include "build/build_config.h"
#include "third_party/blink/renderer/platform/fonts/font_cache.h"
#include "third_party/blink/renderer/platform/fonts/font_description.h"
#include "third_party/blink/renderer/platform/web_test_support.h"
#include "third_party/skia/include/core/SkFont.h"

namespace blink {

namespace {

SkFontHinting g_skia_hinting =;
bool g_use_skia_auto_hint =;
bool g_use_skia_bitmaps =;
bool g_use_skia_anti_alias =;
bool g_use_skia_subpixel_rendering =;

}  // namespace

// static
void WebFontRenderStyle::SetSkiaFontManager(sk_sp<SkFontMgr> font_mgr) {}

// static
void WebFontRenderStyle::SetHinting(SkFontHinting hinting) {}

// static
void WebFontRenderStyle::SetAutoHint(bool use_auto_hint) {}

// static
void WebFontRenderStyle::SetUseBitmaps(bool use_bitmaps) {}

// static
void WebFontRenderStyle::SetAntiAlias(bool use_anti_alias) {}

// static
void WebFontRenderStyle::SetSubpixelRendering(bool use_subpixel_rendering) {}

// static
void WebFontRenderStyle::SetSubpixelPositioning(bool use_subpixel_positioning) {}

// static
void WebFontRenderStyle::SetSystemFontFamily(const WebString& name) {}

// static
WebFontRenderStyle WebFontRenderStyle::GetDefault() {}

void WebFontRenderStyle::OverrideWith(const WebFontRenderStyle& other) {}

void WebFontRenderStyle::ApplyToSkFont(SkFont* font) const {}

}  // namespace blink