chromium/third_party/blink/renderer/platform/fonts/opentype/font_format_check.cc

// 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/opentype/font_format_check.h"

// Include HarfBuzz to have a cross-platform way to retrieve table tags without
// having to rely on the platform being able to instantiate this font format.
#include <hb.h>

#include <hb-cplusplus.hh>

#include "base/containers/span.h"
#include "base/numerics/byte_conversions.h"
#include "third_party/blink/renderer/platform/wtf/vector.h"
#include "third_party/skia/include/core/SkTypeface.h"

namespace blink {

namespace {

FontFormatCheck::COLRVersion determineCOLRVersion(
    const FontFormatCheck::TableTagsVector& table_tags,
    const hb_face_t* face) {}

}  // namespace

FontFormatCheck::FontFormatCheck(sk_sp<SkData> sk_data) {}

bool FontFormatCheck::IsVariableFont() const {}

bool FontFormatCheck::IsCbdtCblcColorFont() const {}

bool FontFormatCheck::IsColrCpalColorFontV0() const {}

bool FontFormatCheck::IsColrCpalColorFontV1() const {}

bool FontFormatCheck::IsVariableColrV0Font() const {}

bool FontFormatCheck::IsSbixColorFont() const {}

bool FontFormatCheck::IsCff2OutlineFont() const {}

bool FontFormatCheck::IsColorFont() const {}

FontFormatCheck::VariableFontSubType FontFormatCheck::ProbeVariableFont(
    sk_sp<SkTypeface> typeface) {}

}  // namespace blink