• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2021 The PDFium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef TESTING_TEST_FONTS_H_
6 #define TESTING_TEST_FONTS_H_
7 
8 #include <string>
9 #include <vector>
10 
11 class TestFonts {
12  public:
13   TestFonts();
14   ~TestFonts();
15 
font_paths()16   const char** font_paths() { return font_paths_.data(); }
17   void InstallFontMapper();
18 
19   static std::string RenameFont(const char* face);
20 
21  private:
22   std::string font_path_;
23   std::vector<const char*> font_paths_;
24 };
25 
26 #endif  // TESTING_TEST_FONTS_H_
27