I'm using QFontDialog on macOS 10.14 with Qt 5.11.1.  No matter what font family or point size I select, the QFont family() and toString() methods are returning only ".SF NS Text" for the family, and pointSize() only returns 13.  Under Windows, same code returns the correct family/point size.

I checked macOS 10.14 sing FontBook, and all the fonts listed are actually installed.

Bug in 5.11.1?  Or am I doing something wrong?  The code is really simple:

   ...
   bool ok = false;
   QFont font = QFontDialog::getFont(&ok, this);
   ...

The "ok" parameter is always true after the call.

_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to