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

Bold Font MacOS Qt Quick Bug

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.15, 6.4, 6.5, 6.6, 6.7, 6.8, 6.9
    • GUI: Text handling
    • None
    • macOS
    • macOS

    Description

      Qt Quick is unable to render bold text in MacOS when said text has a font.family assigned to it.

      Code to replicate this bug (bellow) shows a grid with Text, TextEdit and TextArea components. Whenever there's both bold and font.family are specified, the bold quality stops displaying despite being a part of the formatting.

      This bug affects MacOS only, and all currently maintained versions of Qt, from Qt 5 through Qt 6. This bug does not affect Qt Widgets, only Qt Quick is affected.

      Example Qt Quick code: bold-font-on-mac-bug.zip

      Attachments

        1. bold-font-on-mac-bug.zip
          32 kB
          Javier Cordero
        2. Screenshot 2025-04-27 at 9.19.59 PM.png
          201 kB
          Javier Cordero
        3. Screenshot 2025-04-27 at 9.20.28 PM.png
          184 kB
          Javier Cordero
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            cuperino Javier Cordero
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes