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

Calibri bold text is not render at all on Windows with FreeType

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • None
    • 5.3.2, 5.4.2, 5.5.1
    • GUI: Font handling
    • None

    Description

      With FreeType enabled on Windows, text in Calibri bold is not rendered in all versions of Qt.

      The fix in QTBUG-42898 only took care of normal style of the font.

      Run the following code with -platform windows:fontengine=freetype

      #include <QtWidgets>
      #include <QtWebKitWidgets>
      
      int main(int argc , char * argv[])
      {
          QApplication a(argc, argv);
      
          QWebView w;
          w.setHtml("<p style='font-family:Calibri'>Some random text in Calibri<br><b>Some random bold text in Calibri</b></p><p style='font-family:Arial'>Some random text in Arial<br><b>Some random bold text in Arial</b></p>");
          w.show();
      
          return a.exec();
      }
      

      Attachments

        Issue Links

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

          Activity

            People

              esabraha Eskil Abrahamsen Blomfeldt
              stephenju Stephen Chu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes