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

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

#include <hb-ot.h>
#include <hb.h>

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

#include "third_party/blink/renderer/platform/fonts/font_platform_data.h"
#include "third_party/blink/renderer/platform/fonts/shaping/harfbuzz_face.h"

namespace {
// HarfBuzz' hb_position_t is a 16.16 fixed-point value.
float HarfBuzzUnitsToFloat(hb_position_t value) {}

}  // namespace

namespace blink {
OpenTypeBaselineMetrics::OpenTypeBaselineMetrics(HarfBuzzFace* harf_buzz_face,
                                                 FontOrientation orientation) {}

std::optional<float> OpenTypeBaselineMetrics::OpenTypeAlphabeticBaseline() {}

std::optional<float> OpenTypeBaselineMetrics::OpenTypeHangingBaseline() {}

std::optional<float> OpenTypeBaselineMetrics::OpenTypeIdeographicBaseline() {}

}  // namespace blink