Separate GetFontPath

This commit is contained in:
Svetlana Kulikova
2024-09-23 13:15:39 +03:00
parent 6b4b645180
commit 1b8c59ff87
3 changed files with 8 additions and 1 deletions

View File

@ -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)