4 ms·
> Is CJK support any special compared to "Western" font rendering except that the font files are much bigger? I'm mostly thinking about the composing. For exam
by pcr910303 7y ago
> Is CJK support any special compared to "Western" font rendering except that the font files are much bigger?
I'm mostly thinking about the composing. For example, the character '한' is composed with 'ㅎ', 'ㅏ', 'ㄴ'.
There are multiple unicode representations for each character, which means there's a one code point '한' representation and it's also allowed to have a 'ㅎ+ㅏ+ㄴ' representation. If the program is just naively searching through the code points the font is supporting, 'ㅎ+ㅏ+ㄴ' won't be rendered properly. (In the real world, most non-Korean companies that implement custom text rendering, even big ones like Adobe get this wrong.)
- flohofwoe 7y agoAh ok, IFIR for Korean we "prebaked" the required combinations offline needed in our displayed text, and (I guess) the most common combinations needed for user names. This only works if the text is (mostly) known upfront of course. As far as I know this isn't needed for the Chinese and Japanese writing systems we are using though, only for Korean.
- userbinator 7y ago"Unicode support" is subtly different from "CJK support". The former is far messier than the latter.