How to display text in top-down languages (Japanese, Chinese, etc.) on iOS and Android?
For iOS, I've found this:
https://github.com/novi/LTCoreText
... Any other alternative for iOS?
For Android, I cannot find any library/framework. Does anyone know?
You may use a custom view to draw text on it vertically, just like below screenshot, these are traditional Mongolian script.
public class DrawTextView extends View {
@Override
protected void onDraw(Canvas canvas) {
.....
}
}
Simple answer: don't. Chinese and Japanese are only written top-down in traditional books. Computer applications and websites are written left-to-right, like European languages. See for example http://www.asahi.com/ (renowned Japanese newspaper) and http://xinhuanet.com/ (renowned Chinese news agency). Even modern books in China are printed left-to-right (in Japan not yet). The only script that I know that has to be printed top-down is the traditional Mongolian script - and that doesn't matter because Mongolian is written using the Cyrillic alphabet now.