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

QFontDatabase::addApplicationFontFromData does not mention OpenType being supported

    XMLWordPrintable

Details

    • 08b0a63a0ffd5e3b4aeb0a789663d5200fd217bb (qt/qtbase/dev) 2a36dbce7dc9556d1f7dd273119d458d680a82e0 (qt/qtbase/6.2) 595b0f520455b8671d69d4989109b5fa3fe630fd (qt/tqtc-qtbase/5.15)

    Description

      addApplicationFontFromData documentation says:
      https://doc.qt.io/qt-6/qfontdatabase.html#addApplicationFontFromData

      Currently only TrueType fonts and TrueType font collections are supported.
      

      However the code used to load a font is basically identical to addApplicationFont, which does say OpenType is supported:
      https://doc.qt.io/qt-6/qfontdatabase.html#addApplicationFont

      Attachments

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

        Activity

          People

            agolubev Andrei Golubev
            poikelin Joni Poikelin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes