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

Qml font.styleName not working on windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.9.5
    • GUI: Font handling
    • None
    • Windows

       
      I have font(ttf) file , which I load in Qml using FontLoader. This font is successfully loaded. But when I use font.styleName. It is not changing font style

      Text 
      {
        text: "Client Name" 
        height: 23 
        font.pointSize: 20
        font.family: myLoadedFont.name 
        font.styleName: "Medium Oblique" 
      }
      

      On Mac, I am able to use font.styleName, but on windows it is not working. Is this windows platform specific issue in qt fonts.

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

            esabraha Eskil Abrahamsen Blomfeldt
            livingontheedge iliyas nadaf
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes