adding font and fontSize support

This commit is contained in:
Chris Cochrun 2022-09-26 10:35:44 -05:00
parent 2711bde130
commit ed632e0733
10 changed files with 128 additions and 7 deletions

View file

@ -1,6 +1,5 @@
#include "slide.h"
#include "serviceitemmodel.h"
// #include <QPdfDocument>
#include <podofo/podofo.h>
#include <QDebug>
@ -225,6 +224,9 @@ void Slide::changeSlide(QVariantMap item)
setImageBackground("");
}
setFont(m_serviceItem.value("font").toString());
setFontSize(m_serviceItem.value("fontSize").toInt());
if (type() == "presentation") {
qDebug() << "#$#$#$#$ THIS PDF $#$#$#$#";
int pageCount;