Skip to content

Commit

Permalink
Merge pull request 'Fix bug 72489' (#158) from fix/bug-72489 into rel…
Browse files Browse the repository at this point in the history
  • Loading branch information
K0R0L committed Jan 14, 2025
2 parents ca77113 + 2098c72 commit 321e0de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PdfFile/PdfWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ int CPdfWriter::SaveToFile(const std::wstring& wsPath)
if (!IsValid())
return 1;

if (!m_pFont && !m_pFont14)
if (!m_pFont && !m_pFont14 && !m_pDocument->IsPDFA())
{
m_bNeedUpdateTextFont = false;
m_pFont14 = m_pDocument->CreateFont14(L"Helvetica", 0, PdfWriter::EStandard14Fonts::standard14fonts_Helvetica);
Expand Down

0 comments on commit 321e0de

Please sign in to comment.