lexrus/LTMorphingLabel

Morphing animation messes up San Francisco Display font

Open

#61 aberto em 25 de jul. de 2016

Ver no GitHub
 (2 comments) (0 reactions) (0 assignees)Swift (780 forks)batch import
enhancementhelp wanted

Métricas do repositório

Stars
 (8.150 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 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?

Guia do colaborador