lexrus/LTMorphingLabel

Morphing animation messes up San Francisco Display font

Open

#61 创建于 2016年7月25日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)Swift (8,150 star) (780 fork)batch import
enhancementhelp wanted

描述

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?

贡献者指南