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
11
class
TestFonts
{
12
public
:
13
TestFonts
();
14
~
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_
EmbedderTestEnvironment
Definition
embedder_test_environment.h:14
EmbedderTestEnvironment::SetUp
void SetUp() override
Definition
embedder_test_environment.cpp:40
EmbedderTestEnvironment::write_pngs
bool write_pngs() const
Definition
embedder_test_environment.h:29
EmbedderTestEnvironment::EmbedderTestEnvironment
EmbedderTestEnvironment()
Definition
embedder_test_environment.cpp:24
EmbedderTestEnvironment::AddFlags
void AddFlags(int argc, char **argv)
Definition
embedder_test_environment.cpp:67
EmbedderTestEnvironment::TearDown
void TearDown() override
Definition
embedder_test_environment.cpp:63
EmbedderTestEnvironment::GetInstance
static EmbedderTestEnvironment * GetInstance()
Definition
embedder_test_environment.cpp:36
EmbedderTestEnvironment::~EmbedderTestEnvironment
~EmbedderTestEnvironment() override
Definition
embedder_test_environment.cpp:30
EmbedderTest
Definition
embedder_test.h:39
EmbedderTest::TearDown
void TearDown() override
Definition
embedder_test.cpp:282
FXGETextEmbedderTest
Definition
fx_ge_text_embeddertest.cpp:10
FXGETextEmbedderTest::TearDown
void TearDown() override
Definition
fx_ge_text_embeddertest.cpp:12
TestFonts
Definition
test_fonts.h:11
TestFonts::TestFonts
TestFonts()
Definition
test_fonts.cpp:95
TestFonts::font_paths
const char ** font_paths()
Definition
test_fonts.h:16
TestFonts::~TestFonts
~TestFonts()
TestFonts::RenameFont
static std::string RenameFont(const char *face)
Definition
test_fonts.cpp:112
TestFonts::InstallFontMapper
void InstallFontMapper()
Definition
test_fonts.cpp:105
TEST_F
TEST_F(FXGETextEmbedderTest, BadItalic)
Definition
fx_ge_text_embeddertest.cpp:23
std
Definition
qfloat16.h:493
qtwebengine
src
3rdparty
chromium
third_party
pdfium
testing
test_fonts.h
Generated on Thu Nov 14 2024 00:59:54 for Qt by
1.12.0