I have an issue with QTextCharFormat::setFont() and QTextEdit::zoomIn(), the issue is, when I set the font with:

Qt Code:
  1. format.setFont(font);
  2. Notepad::Tab->TextEdit->mergeCurrentCharFormat(format);
To copy to clipboard, switch view to plain text mode 

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

What am I doing wrong?