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
cfgas_defaultfontmanager.h
Go to the documentation of this file.
1
// Copyright 2017 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
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7
#
ifndef
XFA_FGAS_FONT_CFGAS_DEFAULTFONTMANAGER_H_
8
#
define
XFA_FGAS_FONT_CFGAS_DEFAULTFONTMANAGER_H_
9
10
#
include
"core/fxcrt/retain_ptr.h"
11
#
include
"core/fxcrt/widestring.h"
12
13
class
CFGAS_GEFont;
14
15
class
CFGAS_DefaultFontManager
{
16
public
:
17
static
RetainPtr
<CFGAS_GEFont>
GetFont
(
WideString
wsFontName,
18
uint32_t dwFontStyles);
19
static
RetainPtr
<CFGAS_GEFont>
GetDefaultFont
(uint32_t dwFontStyles);
20
21
CFGAS_DefaultFontManager
() =
delete
;
22
CFGAS_DefaultFontManager
(
const
CFGAS_DefaultFontManager
&) =
delete
;
23
CFGAS_DefaultFontManager
&
operator
=(
const
CFGAS_DefaultFontManager
&) =
delete
;
24
};
25
26
#
endif
// XFA_FGAS_FONT_CFGAS_DEFAULTFONTMANAGER_H_
CFGAS_DefaultFontManager
Definition
cfgas_defaultfontmanager.h:15
CFGAS_DefaultFontManager::CFGAS_DefaultFontManager
CFGAS_DefaultFontManager(const CFGAS_DefaultFontManager &)=delete
CFGAS_DefaultFontManager::GetDefaultFont
static RetainPtr< CFGAS_GEFont > GetDefaultFont(uint32_t dwFontStyles)
Definition
cfgas_defaultfontmanager.cpp:62
CFGAS_DefaultFontManager::CFGAS_DefaultFontManager
CFGAS_DefaultFontManager()=delete
CFGAS_DefaultFontManager::GetFont
static RetainPtr< CFGAS_GEFont > GetFont(WideString wsFontName, uint32_t dwFontStyles)
Definition
cfgas_defaultfontmanager.cpp:19
CFGAS_DefaultFontManager::operator=
CFGAS_DefaultFontManager & operator=(const CFGAS_DefaultFontManager &)=delete
CFGAS_FontMgr
Definition
cfgas_fontmgr.h:88
CFGAS_FontMgr::LoadFont
RetainPtr< CFGAS_GEFont > LoadFont(const wchar_t *pszFontFamily, uint32_t dwFontStyles, FX_CodePage wCodePage)
Definition
cfgas_fontmgr.cpp:878
CFGAS_GEModule
Definition
cfgas_gemodule.h:12
CFGAS_GEModule::Get
static CFGAS_GEModule * Get()
Definition
cfgas_gemodule.cpp:31
CFGAS_GEModule::GetFontMgr
CFGAS_FontMgr * GetFontMgr()
Definition
cfgas_gemodule.h:18
fxcrt::RetainPtr
Definition
retain_ptr.h:28
fxcrt::WideString::FromASCII
static WideString FromASCII(ByteStringView str)
Definition
widestring.cpp:704
FX_CodePage
FX_CodePage
Definition
fx_codepage.h:19
FX_CodePage::kFailure
@ kFailure
Definition
fx_codepage.h:68
FXFONT_ITALIC
#define FXFONT_ITALIC
Definition
fx_font.h:35
FontStyleIsItalic
bool FontStyleIsItalic(uint32_t style)
Definition
fx_font.h:64
FXFONT_FORCE_BOLD
#define FXFONT_FORCE_BOLD
Definition
fx_font.h:38
FontStyleIsForceBold
bool FontStyleIsForceBold(uint32_t style)
Definition
fx_font.h:61
ByteStringView
fxcrt::ByteStringView ByteStringView
Definition
string_view_template.h:325
FGAS_FontInfo
Definition
fgas_fontutils.h:26
FGAS_FontInfo::pReplaceFont
const char * pReplaceFont
Definition
fgas_fontutils.h:29
WideString
fxcrt::WideString WideString
Definition
widestring.h:207
qtwebengine
src
3rdparty
chromium
third_party
pdfium
xfa
fgas
font
cfgas_defaultfontmanager.h
Generated on
for Qt by
1.18.0