Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(292)

Side by Side Diff: third_party/WebKit/Source/web/win/WebFontRendering.cpp

Issue 1883483002: Add code to call skia's matchFamilyStyleCharacter API, which uses the (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fallbackproxy
Patch Set: Add expectation for font-fallback failure on Win7 and revert DEPS change Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "public/web/win/WebFontRendering.h" 5 #include "public/web/win/WebFontRendering.h"
6 6
7 #include "platform/fonts/FontCache.h" 7 #include "platform/fonts/FontCache.h"
8 8
9 namespace blink { 9 namespace blink {
10 10
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 { 68 {
69 FontCache::setAntialiasedTextEnabled(enabled); 69 FontCache::setAntialiasedTextEnabled(enabled);
70 } 70 }
71 71
72 // static 72 // static
73 void WebFontRendering::setLCDTextEnabled(bool enabled) 73 void WebFontRendering::setLCDTextEnabled(bool enabled)
74 { 74 {
75 FontCache::setLCDTextEnabled(enabled); 75 FontCache::setLCDTextEnabled(enabled);
76 } 76 }
77 77
78 // static
79 void WebFontRendering::setUseSkiaFontFallback(bool useSkiaFontFallback)
80 {
81 FontCache::setUseSkiaFontFallback(useSkiaFontFallback);
82 }
83
78 } // namespace blink 84 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698