Bug 103129 - [FreeType] FT backend rounds requested pixel size to ints
Summary: [FreeType] FT backend rounds requested pixel size to ints
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Depends on:
Blocks: 89458
  Show dependency treegraph
Reported: 2012-11-23 05:38 PST by Dominik Röttsches (drott)
Modified: 2012-11-30 05:45 PST (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Dominik Röttsches (drott) 2012-11-23 05:38:00 PST
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.
Comment 1 Dominik Röttsches (drott) 2012-11-30 05:45:45 PST
Won't fix for now, since Cairo does not support subpixel font sizes.