flutter_flutter/runtime/test_font_data.h
Jason Simmons 6f4eb92020 libtxt: support the use_test_font flag required by framework tests (#4216)
This registers a test font manager that maps all fonts to the Ahem font
2017-10-13 11:31:35 -07:00

21 lines
516 B
C++

// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_RUNTIME_TEST_FONT_DATA_H_
#define FLUTTER_RUNTIME_TEST_FONT_DATA_H_
#include <memory>
#include <string>
#include "third_party/skia/include/core/SkStream.h"
namespace blink {
std::unique_ptr<SkStreamAsset> GetTestFontData();
std::string GetTestFontFamilyName();
} // namespace blink
#endif // FLUTTER_RUNTIME_TEST_FONT_DATA_H_