NEW 151651
[Win] Some fonts aren't rendered due to a failure of Uniscribe
https://bugs.webkit.org/show_bug.cgi?id=151651
Summary [Win] Some fonts aren't rendered due to a failure of Uniscribe
Jinyoung Hur
Reported 2015-11-29 22:55:04 PST
Created attachment 266236 [details] simple web page showing the problem On Windows, some web fonts(e.g. Droid Serif, Titillium Web) aren't rendered with 'text-rendering: optimizelegibility' CSS value. [1][2] After some debugging, I found that ScriptShape(), which is in UniscribeController::shape(), returns E_FAIL[1] with those problematic fonts. (I couldn't find any reasons for the failure) It seems that when it fails, there is no fallback mechanism, so no texts are displayed on the screen. It would be helpful if somebody look into this. [1] http://vimawesome.com/ [2] http://www.dotcss.io/
Attachments
simple web page showing the problem (27.32 KB, application/zip)
2015-11-29 22:55 PST, Jinyoung Hur
no flags
visual studio project showing the uniscribe bug (66.00 KB, application/x-zip-compressed)
2015-12-01 19:31 PST, Jinyoung Hur
no flags
Jinyoung Hur
Comment 1 2015-11-29 22:56:59 PST
E_FAIL[1] -> E_FAIL
Myles C. Maxfield
Comment 2 2015-12-01 17:03:33 PST
The best course of action would be to create a reduced test case and submit a bug report to Microsoft for Uniscribe.
Jinyoung Hur
Comment 3 2015-12-01 17:12:46 PST
I agree. I'm finding a way how to file a bug for Windows.
Jinyoung Hur
Comment 4 2015-12-01 19:31:32 PST
Created attachment 266425 [details] visual studio project showing the uniscribe bug A simple Windows program that displays "AB" using Uniscribe. You can change the font through the menu, "View>Font". Make sure install "Droid Serif.ttf", "Titillium Web.ttf" so that they can be displayed on the font-pickup dialog.
Jinyoung Hur
Comment 5 2015-12-01 19:54:49 PST
Note You need to log in before you can comment on or make changes to this bug.