7#ifndef XFA_FGAS_FONT_CFGAS_PDFFONTMGR_H_
8#define XFA_FGAS_FONT_CFGAS_PDFFONTMGR_H_
13#include "core/fxcrt/fx_string.h"
14#include "core/fxcrt/retain_ptr.h"
15#include "core/fxcrt/unowned_ptr.h"
16#include "xfa/fgas/font/cfgas_fontmgr.h"
21class CFGAS_PDFFontMgr
final {
27 uint32_t dwFontStyles,
37 std::map<std::pair<WideString, uint32_t>, RetainPtr<CFGAS_GEFont>> m_FontMap;
fxcrt::ByteString ByteString
RetainPtr< CFGAS_GEFont > GetFont(const WideString &wsFontFamily, uint32_t dwFontStyles, bool bStrictMatch)
CFGAS_PDFFontMgr(const CPDF_Document *pDoc)
std::map< ByteString, RetainPtr< CPDF_Object >, std::less<> > DictMap
bool operator==(const char *ptr) const
WideString(const WideString &other)=default
ByteString ToDefANSI() const
bool FontStyleIsItalic(uint32_t style)
bool FontStyleIsForceBold(uint32_t style)
fxcrt::ByteStringView ByteStringView
fxcrt::WideString WideString