Bug 42140

Summary: [Win XP] [@font-face] Incorrect rendering of downloadable fonts (opentype) with text-rendering: optimizeLegibility;
Product: WebKit Reporter: Philippe Wittenbergh <phiw2>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED ---    
Severity: Normal CC: bdakin, mitz, simon.fraser
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows XP   
URL: http://dev.l-c-n.com/webkit/otf_failure.html
Attachments:
Description Flags
screenshot of testcase none

Description Philippe Wittenbergh 2010-07-12 22:07:32 PDT
Created attachment 61325 [details]
screenshot of testcase

When text-rendering: optimizeLegibility; is specified, Safari 5 cannot render opentype downloadable fonts correctly. Truetype fonts work correctly.

@font-face {
	font-family: 'Graublau Web';
	src:  url(./GraublauWeb.otf) format("opentype");
}

html {text-rendering: optimizeLegibility;}

test case in URL field

- this works correctly on Windows Vista and Windows 7.
- Google Chrome apppears not to be affected (not unexpected, different code path for those fonts).

In the attached screenshot: Safari 5 vs Minefield (gecko) recent nightly (background window).