Re:Why Python 3 Exists
by nostrademons on Thursday December 17, 2015 @02:46PM
(#10753948)
I'm speaking more to the idea that when you concatenate strings, various important properties might not change. To get the actual size in pixels, you'd do str.sizeWithAttributes([NSFontAttributeName: myFont]).width, which is a whole other can of worms.
So do fullwidth characters have a length of 2?
If not, how is this useful for finding the size of text in a text box anyway?