Merge pull request 'Fix bug 80333' (#761) from fix/bug-80333 into release/v9.4.0

Reviewed-on: https://git.onlyoffice.com/ONLYOFFICE/core/pulls/761
This commit is contained in:
Oleg Korshul
2026-05-14 07:45:04 +00:00

View File

@ -2559,7 +2559,7 @@ HRESULT CPdfWriter::AddAnnotField(NSFonts::IApplicationFonts* pAppFonts, CAnnotF
pFont = m_pFontEmbedded;
else if (m_pFont)
pFont = m_pDocument->CreateTrueTypeFont(m_pFont);
else
else if (!pWidgetAnnot->GetObjOwnValue("DA"))
{
dFontSize = oInfo.GetWidgetAnnotPr()->GetFontSize();
put_FontName(wsFontName);