title: Rotated QML Text: Position with baseline anchor
body: <p>I need to position rotated <code>Text</code> elements relative to a rectangle. Here an example:</p>
  
  <pre><code>import QtQuick 2.7
  import QtQuick.Controls 2.0
  import QtQuick.Layouts 1.0
  import QtQuick.Window 2.2
  
  ApplicationWindow {
    visible: true
    width: 640
    height: 480
    title: qsTr("Hello World")
  
    Rectangle {
      id: rectangle
      x: 180
      y: 99
      width: 200
      height: 200
      color: "#b73131"
  
      Text {
        id: text1
        x: -112
        y: 85
        text: qsTr("Text")
        rotation: -90
        anchors.right: parent.left
        anchors.rightMargin: 20
        font.pixelSize: 12
      }
  
      Text {
          id: text2
          x: -46
          y: 160
          text: qsTr("Textg")
          font.pixelSize: 12
          rotation: -90
          anchors.right: parent.left
          anchors.rightMargin: 20
      }
    }
  }
  </code></pre>
  
  <p>However, I would like that <code>text1</code> and <code>text2</code> share the same baseline (which does not happen in the above example because the <code>g</code> character goes below the baseline and thus the right edge is different for the two texts). How can I use the <code>baseline</code> anchor for rotated texts?</p>