Fix bug 68532

This commit is contained in:
Svetlana Kulikova
2024-06-11 11:39:04 +03:00
parent 819e568a35
commit 14b66e2bb3
4 changed files with 6 additions and 6 deletions

View File

@ -1110,7 +1110,7 @@ bool CPdfEditor::EditAnnot(int nPageIndex, int nID)
pAnnot = new PdfWriter::CPolygonLineAnnotation(pXref);
else if (oType.isName("FreeText"))
{
std::map<std::wstring, std::wstring> mapFont = pReader->AnnotFonts(&oAnnotRef);
std::map<std::wstring, std::wstring> mapFont = pReader->GetAnnotFonts(&oAnnotRef);
m_mFonts.insert(mapFont.begin(), mapFont.end());
pAnnot = new PdfWriter::CFreeTextAnnotation(pXref);
}