XFA: Use fonts from font dictionary

This commit is contained in:
Jakub Melka
2022-01-26 20:06:23 +01:00
parent 354b4cc69b
commit 4035b26615
3 changed files with 88 additions and 9 deletions

View File

@ -819,11 +819,7 @@ void PDFPrecompiledPage::finalize(qint64 compilingTimeNS, QList<PDFRenderError>
};
for (const PathPaintData& data : m_paths)
{
// Texts are shared from the font
if (!data.isText)
{
m_memoryConsumptionEstimate += calculateQPathMemoryConsumption(data.path);
}
m_memoryConsumptionEstimate += calculateQPathMemoryConsumption(data.path);
}
for (const ClipData& data : m_clips)
{