PDA

View Full Version : QTextCharFormat setFont & QTextEdit zoomIn



MathFurious
16th September 2017, 22:29
I have an issue with QTextCharFormat::setFont() and QTextEdit::zoomIn(), the issue is, when I set the font with:



QTextCharFormat format;
format.setFont(font);
Notepad::Tab->TextEdit->mergeCurrentCharFormat(format);


When I zoom, there are no effect. Whereas before with the default font there are no problem.

What am I doing wrong?