| Index: Source/web/win/WebFontRendering.cpp
|
| diff --git a/Source/web/win/WebFontRendering.cpp b/Source/web/win/WebFontRendering.cpp
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a171a4127b564b35b6a4348544c99eb5432171ad
|
| --- /dev/null
|
| +++ b/Source/web/win/WebFontRendering.cpp
|
| @@ -0,0 +1,24 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "config.h"
|
| +#include "public/web/win/WebFontRendering.h"
|
| +
|
| +#include "platform/fonts/FontCache.h"
|
| +
|
| +namespace blink {
|
| +
|
| +// static
|
| +void WebFontRendering::setUseDirectWrite(bool useDirectWrite)
|
| +{
|
| + WebCore::FontCache::setUseDirectWrite(useDirectWrite);
|
| +}
|
| +
|
| +// static
|
| +void WebFontRendering::setUseSubpixelPositioning(bool useSubpixelPositioning)
|
| +{
|
| + WebCore::FontCache::setUseSubpixelPositioning(useSubpixelPositioning);
|
| +}
|
| +
|
| +} // namespace blink
|
|
|