3 ms·
So to make sure I got it right: The issue is - when there's no proper glyph it uses a fallback? Or... The context of what glyph will be rendered depends on th
by rock_artist 5y ago
So to make sure I got it right:
The issue is - when there's no proper glyph it uses a fallback?
Or...
The context of what glyph will be rendered depends on the document defined locale.
(If it's the latter. it means it's impossible to quote another Asian language text within the same paragraph?)
- needle0 5y agoThe latter. In HTML you can specify a specific DOM element as being in a specific language so the browser can render it properly, but if the place you want to quote text isn't as allowing (eg. comment sections with no HTML allowed), there may be no way to ensure correct glyphs.
- lifthrasiir 5y agoIdeographic variation selectors plus a very large pan-CJK font may solve this issue in the future, but CJK fonts have already reached the OpenType limit of 65,535 glyphs so we are already running into technical issues.
- iforgotpassword 5y agoYou need to embed the quoted text in eg a span and add the proper lang tag.
- deleted 5y ago[deleted]
- tasogare 5y agoIt's a web browser only issue. In other cases such as a text processor document or local app a font is explicitly used by any run of text so there is no problem. This issue is the web being what it is, most of the time there is no font explicitly specified for text and the browser use a Chinese-looking font to display any Chinese characters.
- eska 5y agoIt’s not just a web browser issue. For example I’m transferring data in multiple Asian languages through some network API. I always need to specify the locale of the text data in a separate data field so that some UI program at the end can display the text correctly. And even then that’s not perfect, because that’s just the system locale instead of the IME locale.