#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 {
float HarfBuzzUnitsToFloat(hb_position_t value) { … }
}
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() { … }
}