title: iOS 7 custom fonts alignment
body: <p>I've used a custom TTF font (Gotham) when implementing the layout of an app on iOS 6. I've noticed its baseline was always a bit higher than regular fonts, but just nudged things around to fit.</p>
  
  <p>Now that I've updated to the iOS 7 SDK, the font placement is closer to that of regular fonts when running on iOS 7 devices, but still looks nudged on iOS 6 devices.</p>
  
  <p>So it looks like Apple fixed what caused that vertical shifting on the baseline when interpreting the font metrics for iOS 7, but left iOS 6 untouched. </p>
  
  <p>I've already tried modifying the actual TTF ascender, descender and line gap properties using Apple's Font Tools suits according to <a href="http://www.andyyardley.com/2012/04/24/custom-ios-fonts-and-how-to-fix-the-vertical-position-problem/" rel="nofollow">this</a> blog post and many answers here on stackoverflow, it does help on iOS 6 but doesn't change much on iOS 7.</p>
  
  <p>My question is: is there something I can do to use a custom font on iOS 6 and 7 without needing to tweak each label depending on the running iOS version?</p>
  
  <p>I know this has been mentioned on the iOS 7 release notes, but I don't want to add tons of conditional clauses on my code to nudge the labels differently for iOS 6 or iOS 7 devices.</p>