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

Details

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

    Description

      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

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes