mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-10 23:03:14 +08:00
For bug 80007
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user