Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(399)

Issue 139203009: Re-land "Don't check lfQuality in LOGFONT as it has no effect on rendering"" (Closed)

Created:
6 years, 10 months ago by eae
Modified:
6 years, 10 months ago
CC:
blink-reviews, jamesr, krit, dsinclair, jbroman, danakj, Rik, Stephen Chennney, pdr., rwlbuis
Visibility:
Public.

Description

Re-land "Don't check lfQuality in LOGFONT as it has no effect on rendering"" Re-land change r163507, reverted as r166868 but include a cache for the text flags, as before the original change, to avoid the performance penalty that forced us to revert the original change in the first place. Remove the LOGFONT lfQuality check in computePaintTextFlags and instead base the textFlags entierly on the system ClearType settings (and whether a font is a web font). Skia will then use this information to pick the appropriate type of font smoothing to apply (if any). BUG=249099 R=bungeman@chromium.org, leviw@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=167045

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -44 lines) Patch
M Source/platform/fonts/skia/SkiaFontWin.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/fonts/win/FontPlatformDataWin.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M Source/platform/fonts/win/FontPlatformDataWin.cpp View 1 5 chunks +16 lines, -41 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
eae
6 years, 10 months ago (2014-02-11 04:51:04 UTC) #1
eae
On 2014/02/11 04:51:04, eae wrote: Merge fail, obviously m_paintTextFlags should stay. Will upload new patch ...
6 years, 10 months ago (2014-02-11 08:13:09 UTC) #2
bungeman-skia
https://codereview.chromium.org/139203009/diff/1/Source/platform/fonts/win/FontPlatformDataWin.cpp File Source/platform/fonts/win/FontPlatformDataWin.cpp (right): https://codereview.chromium.org/139203009/diff/1/Source/platform/fonts/win/FontPlatformDataWin.cpp#newcode118 Source/platform/fonts/win/FontPlatformDataWin.cpp:118: static int computePaintTextFlags() computePaintTextFlags(bool isWebFont) this is static, how ...
6 years, 10 months ago (2014-02-11 15:42:56 UTC) #3
eae
PTAL
6 years, 10 months ago (2014-02-12 07:51:36 UTC) #4
bungeman-chromium
lgtm (I'm an actual committer now, so this may actually be good for something.)
6 years, 10 months ago (2014-02-12 15:32:22 UTC) #5
eae
On 2014/02/12 15:32:22, bungeman2 wrote: > lgtm > > (I'm an actual committer now, so ...
6 years, 10 months ago (2014-02-12 21:42:21 UTC) #6
eae
The CQ bit was checked by eae@chromium.org
6 years, 10 months ago (2014-02-12 21:42:26 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eae@chromium.org/139203009/150001
6 years, 10 months ago (2014-02-12 21:42:36 UTC) #8
commit-bot: I haz the power
6 years, 10 months ago (2014-02-12 21:50:26 UTC) #9
Message was sent while issue was closed.
Change committed as 167045

Powered by Google App Engine
This is Rietveld 408576698