// Copyright 2017 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/renderer/platform/fonts/bitmap_glyphs_block_list.h" #include "third_party/skia/include/core/SkTypeface.h" namespace blink { namespace { // Calibri is the only font we encountered which has embeded bitmaps and // vector outlines for Latin glyphs. We avoid using the bitmap glyphs // because they cause issues with uneven spacing when combined with // subpixel positioning, see // https://bugs.chromium.org/p/chromium/issues/detail?id=707713#c5 constexpr const char* kBitmapGlyphsBlockList[] = …; } // namespace bool BitmapGlyphsBlockList::ShouldAvoidEmbeddedBitmapsForTypeface( const SkTypeface& typeface) { … } } // namespace blink