lexrus/LTMorphingLabel

Morphing animation messes up San Francisco Display font

Open

#61 ouverte le 25 juil. 2016

Voir sur GitHub
 (2 commentaires) (0 réactions) (0 assignés)Swift (780 forks)batch import
enhancementhelp wanted

Métriques du dépôt

Stars
 (8 150 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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?

Guide contributeur