New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improving compatibility with Windows 10 by adding a specific <gasp> table. #128
Comments
@ShikiSuen have you tried adding this table to any of the current Source Han Sans fonts? |
@miguelsousa I am going to try. But my experiences told me that Source Han Sans (till current build) shown in Windows build of Google Chrome (using DirectWrite) still looks like it uses ClearType hinting. DirectWrite is wonderful, but could be awful if used with ClearType Hinting together. Esp. for CJK fonts. |
@ShikiSuen I was going to post the same thing that @miguelsousa wrote. In any case, please keep us posted. |
@kenlunde The most recent test on Windows 10 proved that adding such table onto SHS makes no difference. Topic closed. |
P.S.: If under the same LowDPI mode, SHS looks worse on Windows 8 / 10 comparing to what it looks like under OS X while using the same 9px or 12px small size. |
OS X uses a completely different rendering engine than Windows. In many ways, OpenType/CFF remains a second class citizen on Windows, perhaps because Microsoft deploys only TrueType fonts on Windows, but Apple deploys OpenType/CFF and TrueType fonts on OS X. |
This suggestion is recommended to be addressed onto Source Han Sans 2.00 and later versions.
Windows 10 now reads the following table. If such table with such content exists, Windows 10 won't read hinting data while rendering texts with DirectWrite.
In such case, the rendered CJK glyphs (without reading hinting data) will be looked similar as what they appear on Mac OS X. I suggest you to attach such table with further releases of Source Han Sans.
Sampled Screenshots (using Microsoft YaHei hacked with such table):
Under Retina Display (200% Hi-DPI):
Reference:
http://bbs.themex.net/showthread.php?t=16903935
The text was updated successfully, but these errors were encountered: