title: QML not using Thin font weight
body: <p>I have a QML app using the freely-available <a href="https://www.fontsquirrel.com/fonts/encode-sans" rel="nofollow noreferrer">Encode Sans font</a>, which comes in 9 weights that match <a href="http://doc.qt.io/qt-5/qml-font.html" rel="nofollow noreferrer">Qt 5.6's font weights</a>.</p>
  
  <p>I have added all .ttf to my project, and am using a <code>FontLoader</code> to load them. Everything works perfectly, except for the Thin weight of the font.</p>
  
  <p>In addition to the code below I have tried providing a unique <code>id</code> on the FontLoader for Thin, to ensure that the family name is the same (it is). How can I debug this problem and get Thin working?</p>
  
  <p><a href="https://i.stack.imgur.com/sgdjV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sgdjV.png" alt="Screenshot of all weights being used. The Thin weight is listed first, and shows the same result as the Normal weight. All other weights vary as expected and look correct."></a></p>
  
  <pre class="lang-qml prettyprint-override"><code>### main.qml
  FontLoader { source:"qrc:/fonts/encodesans/EncodeSans-Thin.ttf" }
  FontLoader { source:"qrc:/fonts/encodesans/EncodeSans-ExtraLight.ttf" }
  FontLoader { source:"qrc:/fonts/encodesans/EncodeSans-Light.ttf" }
  FontLoader { id:mainFont; source:"qrc:/fonts/encodesans/EncodeSans-Regular.ttf" }
  FontLoader { source:"qrc:/fonts/encodesans/EncodeSans-Medium.ttf" }
  FontLoader { source:"qrc:/fonts/encodesans/EncodeSans-SemiBold.ttf" }
  FontLoader { source:"qrc:/fonts/encodesans/EncodeSans-Bold.ttf" }
  FontLoader { source:"qrc:/fonts/encodesans/EncodeSans-ExtraBold.ttf" }
  FontLoader { source:"qrc:/fonts/encodesans/EncodeSans-Black.ttf" }
  
  Column {
    TextLine { weight:"Thin"       }
    TextLine { weight:"ExtraLight" }
    TextLine { weight:"Light"      }
    TextLine { weight:"Normal"     }
    TextLine { weight:"Medium"     }
    TextLine { weight:"DemiBold"   }
    TextLine { weight:"Bold"       }
    TextLine { weight:"ExtraBold"  }
    TextLine { weight:"Black"      }
  }
  </code></pre>
  
  <pre class="lang-qml prettyprint-override"><code>### TextLine.qml
  import QtQuick 2.0
  Text {
    property string weight
  
    text: "1 2 3 4 font.weight: Font."+weight
    color:"white"
    font {
      weight: Font[weight]
      family: mainFont.name
      pixelSize: 36
    }
  }
  </code></pre>
  
  <p><sub><em>Using Qt 5.6 on Ubuntu, if it matters.</em></sub></p>