Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
test_fonts.h
Go to the documentation of this file.
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
11class TestFonts {
12 public:
13 TestFonts();
15
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_
void AddFlags(int argc, char **argv)
static EmbedderTestEnvironment * GetInstance()
void TearDown() override
const char ** font_paths()
Definition test_fonts.h:16
static std::string RenameFont(const char *face)
void InstallFontMapper()
TEST_F(FXGETextEmbedderTest, BadItalic)