Chromium Code Reviews
DescriptionReplace subpixel font size heuristics with using OpenType gasp table
Respect the gasp table settings in fonts for smoothing and DirectWrite
rendering mode, i.e. activating rendering mode
DWRITE_RENDERING_MODE_CLEARTYPE_NATURAL_SYMMETRIC when the gasp table
instructs to do so.
This should allow us to remove the custom minSizeForSubpixel and
minSizeForAntiAlias cut-off thresholds and rendering mode overrides.
Multi-layer GIMP image files attached to the bug help illustrate the
rendering differences between Chrome stable and Chrome with
gasp table controlled rendering. In these files, significant
readability improvements especially with regards to Simsun and PMingLiu
fonts at low font sizes can be observed.
Thanks to Ben Wagner for the enabling Skia fix in
https://skia-review.googlesource.com/c/8268/
BUG=645055
Patch Set 1 #Patch Set 2 : Rethinkg subpixel positioning logic #Patch Set 3 : No subpixel without smoothing, not even for layout tests #
Total comments: 1
Messages
Total messages: 20 (15 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||