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

// Copyright 2021 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/open_type_cpal_lookup.h"

#include "third_party/blink/renderer/platform/fonts/shaping/harfbuzz_face_from_typeface.h"
#include "third_party/blink/renderer/platform/wtf/std_lib_extras.h"
#include "third_party/skia/include/core/SkStream.h"

// clang-format off
#include <hb.h>
#include <hb-cplusplus.hh>
#include <hb-ot.h>
// clang-format on

namespace {
SkFontTableTag kCpalTag =;

}  // namespace

namespace blink {

/* static */
std::optional<uint16_t> OpenTypeCpalLookup::FirstThemedPalette(
    sk_sp<SkTypeface> typeface,
    PaletteUse palette_use) {}

Vector<Color> OpenTypeCpalLookup::RetrieveColorRecords(
    sk_sp<SkTypeface> typeface,
    unsigned palette_index) {}

}  // namespace blink