For bug 80007

This commit is contained in:
Svetlana Kulikova
2026-02-12 18:29:43 +03:00
parent 4f9c229f77
commit cf44441645
2 changed files with 2 additions and 5 deletions

View File

@ -3623,7 +3623,7 @@ bool CPdfWriter::GetEmbeddedFont(const std::wstring& wsFontName)
{
std::wstring wsFontPath = m_oFont.GetPath();
LONG lFaceIndex = m_oFont.GetFaceIndex();
if (!FindFontPath(wsFontName, m_oFont.IsBold(), m_oFont.IsItalic(), wsFontPath, lFaceIndex))
if (!FindFontPath(wsFontName, false, false, wsFontPath, lFaceIndex))
return false;
if (m_bSplit)
return false;