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

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

XMLWordPrintable

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

      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.

        For Gerrit Dashboard: QTBUG-79669
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes