[TD]fix rich text font size in pdf

This commit is contained in:
wandererfan
2023-07-13 10:37:41 -04:00
committed by WandererFan
parent 4688582de3
commit f83a3fbb6a
6 changed files with 74 additions and 110 deletions

View File

@@ -288,9 +288,9 @@ void MDIViewPage::printPdf()
Gui::WaitCursor wc;
std::string utf8Content = fn.toUtf8().constData();
m_scene->setExporting(true);
m_scene->setExportingPdf(true);
printPdf(utf8Content);
m_scene->setExporting(false);
m_scene->setExportingPdf(false);
}
void MDIViewPage::printPdf(std::string file)