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

Issue 275913005: Remove usePrinterFont() property of FontDescription (Closed)

Created:
6 years, 7 months ago by Dominik Röttsches
Modified:
6 years, 6 months ago
CC:
blink-reviews, jamesr, krit, blink-reviews-css, ed+blinkwatch_opera.com, jbroman, danakj, dglazkov+blink, Rik, apavlov+blink_chromium.org, darktears, Stephen Chennney, rune+blink, pdr., rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Remove usePrinterFont() property of FontDescription Since we have subpixel positioning, we can permanently switch to using so called "printer fonts" on Mac and remove the platform specific property from FontDescription. This permanently disables hinting, as discussed with eseidel and behdad. For LayoutTests, as on other platforms, we keep hinted fonts, only disable hinting for a group of subpixel positioning tests, as previously done on Windows for DirectWrite testing. BUG=373240, 377696 R=eae,dglazkov,leviw Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=174930

Patch Set 1 #

Patch Set 2 : Compile Fix for ComplexTextController #

Patch Set 3 : Keep hinting for LayoutTests, except antialiased ones. #

Patch Set 4 : Keeping hinting for non-subpixel Layout Tests, comment rephrased #

Patch Set 5 : Keep hinting for non subpixel Layout Tests, update code in _both_ places #

Patch Set 6 : Keeping hinting in complex case when the font mode is set accordingly #

Patch Set 7 : Rebaselinining small caps cases, and subpixel virtual set #

Unified diffs Side-by-side diffs Delta from patch set Stats (+251 lines, -61 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 6 2 chunks +221 lines, -0 lines 0 comments Download
M Source/core/css/resolver/FontBuilder.cpp View 3 chunks +0 lines, -3 lines 0 comments Download
M Source/platform/fonts/FontDescription.h View 5 chunks +1 line, -9 lines 0 comments Download
M Source/platform/fonts/FontDescription.cpp View 1 chunk +6 lines, -7 lines 0 comments Download
M Source/platform/fonts/FontPlatformData.h View 5 chunks +3 lines, -11 lines 0 comments Download
M Source/platform/fonts/FontPlatformData.cpp View 6 chunks +0 lines, -16 lines 0 comments Download
M Source/platform/fonts/cocoa/FontPlatformDataCocoa.mm View 2 chunks +1 line, -2 lines 0 comments Download
M Source/platform/fonts/mac/ComplexTextController.cpp View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/fonts/mac/ComplexTextControllerCoreText.mm View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/fonts/mac/FontCacheMac.mm View 1 2 3 4 3 chunks +11 lines, -4 lines 0 comments Download
M Source/platform/fonts/mac/SimpleFontDataMac.mm View 2 chunks +6 lines, -7 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
Dominik Röttsches
6 years, 7 months ago (2014-05-14 11:11:00 UTC) #1
eae
This is great! LGTM
6 years, 7 months ago (2014-05-14 11:15:22 UTC) #2
eae
The CQ bit was checked by eae@chromium.org
6 years, 7 months ago (2014-05-14 11:15:26 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dominik.rottsches@intel.com/275913005/1
6 years, 7 months ago (2014-05-14 11:15:48 UTC) #4
Dominik Röttsches
On 2014/05/14 11:15:22, eae wrote: > This is great! LGTM Thx! - Still some issues, ...
6 years, 7 months ago (2014-05-14 15:05:22 UTC) #5
Dominik Röttsches
Elliot, could you perhaps help. Looks like I am hitting an ancient FIXME in Document.cpp ...
6 years, 7 months ago (2014-05-16 12:46:58 UTC) #6
esprehn
On 2014/05/16 12:46:58, Dominik Röttsches wrote: > Elliot, could you perhaps help. Looks like I ...
6 years, 7 months ago (2014-05-19 21:31:22 UTC) #7
Dominik Röttsches
On 2014/05/19 21:31:22, esprehn wrote: > > Could this printing dependent font change perhaps be ...
6 years, 7 months ago (2014-05-23 15:45:54 UTC) #8
eae
On 2014/05/23 15:45:54, Dominik Röttsches wrote: > Elliot, Emil - what do you think? Can ...
6 years, 7 months ago (2014-05-23 17:21:06 UTC) #9
Dominik Röttsches
Emil, could you take a quick look again, there's been still a few changes after ...
6 years, 7 months ago (2014-05-27 19:14:40 UTC) #10
eae
LGTM
6 years, 7 months ago (2014-05-27 19:17:40 UTC) #11
eae
The CQ bit was checked by eae@chromium.org
6 years, 7 months ago (2014-05-27 19:18:06 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dominik.rottsches@intel.com/275913005/100001
6 years, 7 months ago (2014-05-27 19:18:44 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_gpu_triggered_tests on tryserver.chromium.gpu ...
6 years, 7 months ago (2014-05-27 21:45:20 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-27 21:46:12 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: win_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu_triggered_tests/builds/11042)
6 years, 7 months ago (2014-05-27 21:46:13 UTC) #16
Dominik Röttsches
The CQ bit was checked by dominik.rottsches@intel.com
6 years, 6 months ago (2014-05-28 04:39:14 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dominik.rottsches@intel.com/275913005/100001
6 years, 6 months ago (2014-05-28 04:39:29 UTC) #18
commit-bot: I haz the power
6 years, 6 months ago (2014-05-28 04:40:04 UTC) #19
Message was sent while issue was closed.
Change committed as 174930

Powered by Google App Engine
This is Rietveld 408576698