freetype-envision
freetype-envision copied to clipboard
CJK characters rendering issue with sans-serif fonts
About
As stated in the issue title, rendering of some CJK (Chinese/Japanese/Korean) characters with sizes within the stem-darkening range will be partially corrupted with Sans-serif fonts. It is currently unknown what is causing this problem.
Suggestion
This issue can probably be solved by disabling the hinting for all CJK fonts with a special fontconfig entry, but this solution seems a bit hard-coded and would completely disable stem darkening for these fonts. There has to be a better way.
Screenshots
-
Sans-serif issues:
Replicate:
pango-view -t 你好 --font 'sans'
-
Serif:
Replicate:
pango-view -t 你好 --font 'serif'