You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
564 B

// Copyright 2021 The PDFium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef TESTING_TEST_FONTS_H_
#define TESTING_TEST_FONTS_H_
#include <memory>
#include <string>
class TestFonts {
public:
TestFonts();
~TestFonts();
const char** font_paths() const { return font_paths_.get(); }
void InstallFontMapper();
static std::string RenameFont(const char* face);
private:
std::string font_path_;
std::unique_ptr<const char*[]> font_paths_;
};
#endif // TESTING_TEST_FONTS_H_