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

// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

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

#include "third_party/blink/renderer/platform/fonts/opentype/open_type_caps_support.h"

namespace blink {

namespace {

bool activationSelectorPresent(
    hb_face_t* hb_face,
    const hb_aat_layout_feature_type_t feature_type,
    const hb_aat_layout_feature_selector_t enabled_selector_expectation) {}
}  // namespace

OpenTypeCapsSupport::OpenTypeCapsSupport()
    :{}

OpenTypeCapsSupport::OpenTypeCapsSupport(
    const HarfBuzzFace* harfbuzz_face,
    FontDescription::FontVariantCaps requested_caps,
    FontDescription::FontSynthesisSmallCaps font_synthesis_small_caps,
    hb_script_t script)
    :{}

FontDescription::FontVariantCaps OpenTypeCapsSupport::FontFeatureToUse(
    SmallCapsIterator::SmallCapsBehavior source_text_case) {}

bool OpenTypeCapsSupport::NeedsRunCaseSplitting() {}

bool OpenTypeCapsSupport::NeedsSyntheticFont(
    SmallCapsIterator::SmallCapsBehavior run_case) {}

CaseMapIntend OpenTypeCapsSupport::NeedsCaseChange(
    SmallCapsIterator::SmallCapsBehavior run_case) {}

OpenTypeCapsSupport::FontFormat OpenTypeCapsSupport::GetFontFormat() const {}

bool OpenTypeCapsSupport::SupportsFeature(hb_script_t script,
                                          uint32_t tag) const {}

bool OpenTypeCapsSupport::SupportsAatFeature(uint32_t tag) const {}

void OpenTypeCapsSupport::DetermineFontSupport(hb_script_t script) {}

bool OpenTypeCapsSupport::SyntheticSmallCapsAllowed() const {}

}  // namespace blink