title: SwiftUI: Why does a certain Text tracking value truncate the label?
body: <p>When using a certain combination of text attributes (smallCaps, tracking, weight) in SwiftUI, the label text gets truncated.</p>
  
  <p>I'm just wondering whether this is a bug, or if I'm doing something wrong here.</p>
  
  <p>Please see the following Playground example:</p>
  
  <pre class="lang-swift prettyprint-override"><code>import SwiftUI
  import PlaygroundSupport
  
  struct MyView: View {
  
      var body: some View {
  
          VStack {
  
              // This works as expected.
              Text("Longer Text")
              .font(Font.system(.largeTitle).smallCaps())
              .fontWeight(.semibold)
              .tracking(15)
  
              // Here, the text gets truncated, even though there is
              // a smaller tracking value set, and there would be enough
              // space to show the complete text.
              Text("Longer Text")
              .font(Font.system(.largeTitle).smallCaps())
              .fontWeight(.semibold)
              .tracking(10)
  
              // This works as expected.
              Text("Longer Text")
              .font(Font.system(.largeTitle).smallCaps())
              .fontWeight(.semibold)
              .kerning(15)
  
              // This works as expected.
              Text("Longer Text")
              .font(Font.system(.largeTitle).smallCaps())
              .fontWeight(.semibold)
              .kerning(10)
          }
      }
  }
  
  PlaygroundPage.current.setLiveView(MyView())
  </code></pre>
  
  <p>Result:</p>
  
  <p><a href="https://i.stack.imgur.com/evuxE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/evuxE.png" alt="enter image description here"></a></p>
  
  <p>I'm using Xcode 11.4, Swift 5.2, and tested in a Playground, on simulators (iOS 13.4), and an iPad (iOS 13.3.1).</p>