title: UILabel clipping italic (oblique) text at left and right edges of content ( iOS 6+)
body: <p><strong>Problem:</strong>
  <code>UILabel</code> may clip italic (oblique) characters and even scripts at the left and right edges. The following screenshot displays the issue. At the left edge, the descender of the 'j' is clipped; at the right edge, the ascender of the 'l' is clipped. I realize this is subtle, and not everyone is going to care (however, the issue gets worse with larger font sizes). </p>
  
  <p><img src="https://i.stack.imgur.com/9SAjx.png" alt="enter image description here"></p>
  
  <p>Here's a less subtle example using Zapfino, size 22. Note the 'j' in jupiter looks almost like an 'i':</p>
  
  <p><img src="https://i.stack.imgur.com/8GTka.png" alt="enter image description here"></p>
  
  <p>In the examples above, the background color of the label is orange, the text is left aligned, and the label maintains its intrinsic content size. </p>
  
  <p>This is the default behavior of a <code>UILabel</code> and its been that way for multiple versions of iOS (so I'm not expecting a fix from Apple).</p>
  
  <p><strong>What I have tried:</strong>
  Setting the label's <code>clipsToBounds</code> property to <code>NO</code> does not resolve the issue. I'm also aware that I could set a fixed width constraint on the label to give the text more room at the trailing edge. However, a fixed width constraint would not give the 'j', in the example above, more room. </p>
  
  <p>I'm going to answer my own question using a solution that leverages <em>Auto Layout</em> and the label's <code>alignmentRectInsets</code>. </p>