7#ifndef XFA_FGAS_FONT_FGAS_FONTUTILS_H_
8#define XFA_FGAS_FONT_FGAS_FONTUTILS_H_
12#include "core/fxcrt/fx_codepage_forward.h"
13#include "core/fxcrt/widestring.h"
CFGAS_DefaultFontManager(const CFGAS_DefaultFontManager &)=delete
static RetainPtr< CFGAS_GEFont > GetDefaultFont(uint32_t dwFontStyles)
CFGAS_DefaultFontManager()=delete
static RetainPtr< CFGAS_GEFont > GetFont(WideString wsFontName, uint32_t dwFontStyles)
CFGAS_DefaultFontManager & operator=(const CFGAS_DefaultFontManager &)=delete
RetainPtr< CFGAS_GEFont > LoadFont(const wchar_t *pszFontFamily, uint32_t dwFontStyles, FX_CodePage wCodePage)
static CFGAS_GEModule * Get()
CFGAS_FontMgr * GetFontMgr()
const wchar_t * c_str() const
static WideString FromASCII(ByteStringView str)
WideString FGAS_FontNameToEnglishName(const WideString &wsLocalName)
const FGAS_FONTUSB * FGAS_GetUnicodeBitField(wchar_t wUnicode)
const FGAS_FontInfo * FGAS_FontInfoByFontName(WideStringView wsFontName)
bool FontStyleIsItalic(uint32_t style)
#define FXFONT_FORCE_BOLD
bool FontStyleIsForceBold(uint32_t style)
static constexpr uint16_t kNoBitField
const char * pReplaceFont