Requirements for Japanese Text Layout
w3.org
w3.org
https://www.w3.org/TR/jlreq/#japanese_and_western_mixed_text...
I wonder if there are considerations for other combinations, such as mixing Japanese with right-to-left text. Maybe the other combinations are not nearly as common?
Japanese can flow top to bottom and right to left as well with in books that are read left to right.
Apple has some janky old UIKit and less-so AppKit support for Japanese that's portable to use from SwiftUI so I get by without needing web views for every label. However it's still nice to just use a web view for primary content.
There's zero input support for advanced Japanese features on native Apple platforms basically, like ruby text editing, but they can be bolted on cleverly with work. Or just use a web view.
I'm using Firefox ESR with the (recommended) Auto Tab Discard [1] extension to save memory for idle background tabs. Unlike prior extensions AFAIU this should be using largely native browser code paths.
When I return to the jlreq page after it has idled out, all the Japanese text comes back and the "English" button is inoperative until I click one of the other language options.
Whose bug is this?
[1]: https://addons.mozilla.org/en-US/firefox/addon/auto-tab-disc...
ATD might be useful as a way of triggering this behavior more reliably by exercising the discard and reload tabs.
This site also nicely demonstrates how poorly web browsers break japanese text
????
Until I get a plain and simple C99 implementation in the worse case scenario, I would stay away from those.
But the right way to avoid like hell those c++ abominations (there are still people thinking coding c++ makes them smart, at best toxic, but no less worse) and start with roman script and incrementally add supported languages. I did venture in harfbuzz, there is no salvation, the coding is so much c++ brainf*cked better start clean and lean.