I'm passing some strings into -[NSString sizeWithFont:]. These strings have both Western and Japanese characters.

The only way these strings can be displayed are with two fonts: the Western font I'm using, and a Japanese font that is used as a fallback because those characters aren't present in the Western font.

The problem: it seems like -[NSString sizeWithFont:] isn't ever taking into consideration the Japanese font, just the Western font that I'm passing in. And that makes calculating the size of these strings tricky at best.

Does anyone know how to handle this situation?

0

There are 0 best solutions below