Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-27130

QFontDatabase does not return fontlist for Simplified and Traditional Chinese languages on Mac OS X

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.0.0
    • 4.8.2, 5.0.0
    • GUI: Font handling
    • None
    • Mac OS X
    • macOS
    • edfb24009cf22a0f0277be5d595b48ef9af9c3bf, 58c69289f2800ee9fbd3964b25f3b6cd0e103c6a

      Qt does not return corresponding font list for Simplified and Traditional Chinese languages.

      Code which can reproduce this issue:

      int main(int argc, char *argv[])
      {
          QApplication a(argc, argv);
          QFontDatabase fdb;
          qDebug() << fdb.families(QFontDatabase::TraditionalChinese );
          qDebug() << fdb.families(QFontDatabase::SimplifiedChinese );
          return a.exec();
      }
      

      Expected result: list of fonts
      Actual result : empty fontlist is returned

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            liaqi Liang Qi
            qtcomsupport Qt Support
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes