Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
font_renamer.h
Go to the documentation of this file.
1
// Copyright 2022 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_FONT_RENAMER_H_
6
#
define
TESTING_FONT_RENAMER_H_
7
8
#
include
"core/fxcrt/unowned_ptr.h"
9
#
include
"public/fpdf_sysfontinfo.h"
10
11
class
FontRenamer
final
:
public
FPDF_SYSFONTINFO {
12
public
:
13
FontRenamer
();
14
~
FontRenamer
();
15
16
FPDF_SYSFONTINFO*
impl
() {
return
impl_; }
17
18
private
:
19
UnownedPtr
<FPDF_SYSFONTINFO> impl_;
20
};
21
22
#
endif
// TESTING_FONT_RENAMER_H_
FontRenamer::~FontRenamer
~FontRenamer()
Definition
font_renamer.cpp:89
FontRenamer::impl
FPDF_SYSFONTINFO * impl()
Definition
font_renamer.h:16
FontRenamer::FontRenamer
FontRenamer()
Definition
font_renamer.cpp:76
TestFonts
Definition
test_fonts.h:11
TestFonts::RenameFont
static std::string RenameFont(const char *face)
Definition
test_fonts.cpp:112
fxcrt::UnownedPtr
Definition
unowned_ptr.h:76
FPDF_SetSystemFontInfo
FPDF_EXPORT void FPDF_CALLCONV FPDF_SetSystemFontInfo(FPDF_SYSFONTINFO *pFontInfoExt)
Definition
fpdf_sysfontinfo.cpp:161
std
[33]
Definition
src_corelib_tools_qhash.cpp:421
_FPDF_SYSFONTINFO::GetFontData
unsigned long(*) GetFontData(struct _FPDF_SYSFONTINFO *pThis, void *hFont, unsigned int table, unsigned char *buffer, unsigned long buf_size)
Definition
fpdf_sysfontinfo.h:158
_FPDF_SYSFONTINFO::GetFaceName
unsigned long(*) GetFaceName(struct _FPDF_SYSFONTINFO *pThis, void *hFont, char *buffer, unsigned long buf_size)
Definition
fpdf_sysfontinfo.h:179
_FPDF_SYSFONTINFO::GetFontCharset
int(*) GetFontCharset(struct _FPDF_SYSFONTINFO *pThis, void *hFont)
Definition
fpdf_sysfontinfo.h:195
_FPDF_SYSFONTINFO::Release
void(*) Release(struct _FPDF_SYSFONTINFO *pThis)
Definition
fpdf_sysfontinfo.h:65
_FPDF_SYSFONTINFO::GetFont
void *(*) GetFont(struct _FPDF_SYSFONTINFO *pThis, const char *face)
Definition
fpdf_sysfontinfo.h:136
_FPDF_SYSFONTINFO::EnumFonts
void(*) EnumFonts(struct _FPDF_SYSFONTINFO *pThis, void *pMapper)
Definition
fpdf_sysfontinfo.h:83
_FPDF_SYSFONTINFO::DeleteFont
void(*) DeleteFont(struct _FPDF_SYSFONTINFO *pThis, void *hFont)
Definition
fpdf_sysfontinfo.h:208
_FPDF_SYSFONTINFO::MapFont
void *(*) MapFont(struct _FPDF_SYSFONTINFO *pThis, int weight, FPDF_BOOL bItalic, int charset, int pitch_family, const char *face, FPDF_BOOL *bExact)
Definition
fpdf_sysfontinfo.h:114
qtwebengine
src
3rdparty
chromium
third_party
pdfium
testing
font_renamer.h
Generated on
for Qt by
1.18.0