Skip to content

Instantly share code, notes, and snippets.

@hisasann
Created August 2, 2018 16:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hisasann/d6c7d023a0518ff1b96f09ad84befdf0 to your computer and use it in GitHub Desktop.
Save hisasann/d6c7d023a0518ff1b96f09ad84befdf0 to your computer and use it in GitHub Desktop.

文字の幅確認

iOS

全角 - 6文字(湖湖湖湖湖湖) 半角英字 - 10文字(AAAAAAAAAA) 半角カタカナ - 12文字(ママママママママママママ)

Android

全角 - 10文字(湖湖湖湖湖湖湖湖湖湖) 半角英字 - 半角文字を間に入れるなら17文字(AAAAAAAA AAAAAAAA) 半角カタカナ - 半角文字を間に入れるなら21文字(ママママママママママ ママママママママママ)

ちなみにサロゲートペアだが、ホッケという感じもなかなかよい。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment