You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
Since the frame of each character was calculated based on NSString.sizeWithAttributes method, I can't figure out the proper origin.y. To be lazy, place on the baseline is just a workaround. The TextKit may help, but I'm not familiar with it yet.
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?
The text was updated successfully, but these errors were encountered: