Bug 103129
| Summary: | [FreeType] FT backend rounds requested pixel size to ints | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Dominik Röttsches (drott) <d-r> |
| Component: | Platform | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED WONTFIX | ||
| Severity: | Normal | CC: | gyuyoung.kim, mrobinson |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | |||
| Bug Blocks: | 89458 | ||
Dominik Röttsches (drott)
In the Freetype backend FontCache::createFontPlatformData the pixel size is requested rounded to pixels, even though freetype supports returning a font scaled to a double value here.
Also, the computedPixelSize() value is used as initializer for FontPlatformData's m_size, we should use computedSize() in both cases to allow uniformly scaled fonts without rounding.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Dominik Röttsches (drott)
Won't fix for now, since Cairo does not support subpixel font sizes.