Open bananowysong opened 1 year ago
Thank you for posting the issue. The rotation code is handled here:
The numbers should be easy enough to fix. The punctuation we should look at a little more carefully. Some fonts rotates the punctuation themselves. If we change the behavior, this could potentially break some currently working apps.
It might also be nice to allow developers to manually rotate specific characters. I'm not sure exactly what that would look like for the API, though. Maybe wrapping the character in a custom TextSpan.
Expected behavior ?、! and 1234567890 should be rotated like other Japanese characters like kanji, hiragana, and katakana. Instead, they behave like English characters.
By the way, awsome work.
Mongol version: mongol: ^3.0.2