diff options
Diffstat (limited to 'xfa/fwl/theme/cfwl_widgettp.cpp')
-rw-r--r-- | xfa/fwl/theme/cfwl_widgettp.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/xfa/fwl/theme/cfwl_widgettp.cpp b/xfa/fwl/theme/cfwl_widgettp.cpp index 8a2754b4ad..3113d24546 100644 --- a/xfa/fwl/theme/cfwl_widgettp.cpp +++ b/xfa/fwl/theme/cfwl_widgettp.cpp @@ -57,6 +57,10 @@ void CFWL_WidgetTP::DrawText(CFWL_ThemeText* pParams) { pParams->m_rtPart); } +const RetainPtr<CFGAS_GEFont>& CFWL_WidgetTP::GetFont() const { + return m_pFDEFont; +} + void CFWL_WidgetTP::InitializeArrowColorData() { if (m_pColorData) return; @@ -286,6 +290,10 @@ bool CFWL_FontData::LoadFont(const WideStringView& wsFontFamily, return !!m_pFont; } +RetainPtr<CFGAS_GEFont> CFWL_FontData::GetFont() const { + return m_pFont; +} + CFWL_FontManager* CFWL_FontManager::s_FontManager = nullptr; CFWL_FontManager* CFWL_FontManager::GetInstance() { if (!s_FontManager) |