lexrus/LTMorphingLabel

Morphing animation messes up San Francisco Display font

Open

#61 aperta il 25 lug 2016

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)Swift (780 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (8150 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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?

Guida contributor