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

[REG] macOS: Font weight ignored when font family does not exist

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P1: Critical
    • None
    • 5.13.2
    • GUI: Font handling
    • None
    • macOS

    Description

      Bold and other font weights will show up as regular if the font family is not found in the system.

      Text {
              id: t
              font.family: "NotAFont"
              anchors.centerIn: parent
              text: "foobar"
              font.bold: true
          }
      

      The text here will not be bold, but removing the "font.family" line (or replacing it with a font family that exists) will fix it.

      This seems to be related to c9eff4.

      Attachments

        Issue Links

          Activity

            People

              esabraha Eskil Abrahamsen Blomfeldt
              esabraha Eskil Abrahamsen Blomfeldt
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: