mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-20 03:08:28 +08:00
Separate GetFontPath
This commit is contained in:
@ -425,6 +425,12 @@ BYTE* CPdfFile::GetAnnotStandardFonts()
|
||||
return NULL;
|
||||
return m_pInternal->pReader->GetFonts(true);
|
||||
}
|
||||
std::wstring CPdfFile::GetFontPath(const std::wstring& wsFontName)
|
||||
{
|
||||
if (!m_pInternal->pReader)
|
||||
return L"";
|
||||
return m_pInternal->pReader->GetFontPath(wsFontName, false);
|
||||
}
|
||||
std::wstring CPdfFile::GetEmbeddedFontPath(const std::wstring& wsFontName)
|
||||
{
|
||||
if (!m_pInternal->pReader)
|
||||
|
||||
Reference in New Issue
Block a user