lexrus/LTMorphingLabel

Morphing animation messes up San Francisco Display font

Open

#61 opened on Jul 25, 2016

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Swift (780 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (8,150 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

I really like how the colon character (:) is a little bit raised up and not touching the baseline in the San Francisco Display font introduced in WWDC 2015. Here is how it is supposed to look like:

However, once I changed the text of the label to something else with the .Fall animation, the colon dropped onto the baseline:

I believe that this is caused by the way you draw the text using Core Text. Can you fix it?

Contributor guide