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

Issue 119993002: Makes gfx::FontList carry UNDERLINE flag. (Closed)

Created:
7 years ago by Yuki
Modified:
6 years, 12 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Makes gfx::FontList carry UNDERLINE flag. I found that gfx::FontList doesn't carry UNDERLINE flag properly. Even though gfx::RenderText draws underline in a speciall manner, gfx::FontList should properly hold the underline flag. Otherwise, underline info will be dropped somewhere. TEST=Run ui_unittests. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=242486

Patch Set 1 #

Total comments: 2

Patch Set 2 : Found an issue in GetFonts() and fixed it. #

Total comments: 2

Patch Set 3 : Fixed a comment. #

Patch Set 4 : Synced. #

Patch Set 5 : Disabled FontListTest.FontDescString_DeriveFontListWithSizeDeltaAndStyle on Android. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -8 lines) Patch
M build/android/pylib/gtest/filter/ui_unittests_disabled View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M ui/gfx/font_list.cc View 1 2 1 chunk +8 lines, -1 line 0 comments Download
M ui/gfx/font_list_unittest.cc View 1 5 chunks +22 lines, -7 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Yuki
Could you review this CL? I found this fix is necessary for clean-up of gfx::Font ...
7 years ago (2013-12-20 15:01:21 UTC) #1
Alexei Svitkine (slow)
https://codereview.chromium.org/119993002/diff/1/ui/gfx/font_list.cc File ui/gfx/font_list.cc (right): https://codereview.chromium.org/119993002/diff/1/ui/gfx/font_list.cc#newcode47 ui/gfx/font_list.cc:47: else if (!styles_size[i].compare("Underline")) So the description string comes from ...
7 years ago (2013-12-20 16:28:09 UTC) #2
Yuki
Thanks for the comment. Could you take another look? https://codereview.chromium.org/119993002/diff/1/ui/gfx/font_list.cc File ui/gfx/font_list.cc (right): https://codereview.chromium.org/119993002/diff/1/ui/gfx/font_list.cc#newcode47 ui/gfx/font_list.cc:47: ...
7 years ago (2013-12-20 17:34:52 UTC) #3
Alexei Svitkine (slow)
lgtm with a nit https://codereview.chromium.org/119993002/diff/130001/ui/gfx/font_list.cc File ui/gfx/font_list.cc (right): https://codereview.chromium.org/119993002/diff/130001/ui/gfx/font_list.cc#newcode257 ui/gfx/font_list.cc:257: // It's possible that gfx::Font::UNDERLINE ...
7 years ago (2013-12-20 17:52:19 UTC) #4
Yuki
https://codereview.chromium.org/119993002/diff/130001/ui/gfx/font_list.cc File ui/gfx/font_list.cc (right): https://codereview.chromium.org/119993002/diff/130001/ui/gfx/font_list.cc#newcode257 ui/gfx/font_list.cc:257: // It's possible that gfx::Font::UNDERLINE is specified and it ...
6 years, 12 months ago (2013-12-24 05:55:17 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yukishiino@chromium.org/119993002/220001
6 years, 12 months ago (2013-12-24 06:44:36 UTC) #6
commit-bot: I haz the power
The commit queue went berserk retrying too often for a seemingly flaky test on builder ...
6 years, 12 months ago (2013-12-24 13:22:59 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yukishiino@chromium.org/119993002/220001
6 years, 12 months ago (2013-12-24 15:33:25 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yukishiino@chromium.org/119993002/630001
6 years, 12 months ago (2013-12-25 05:33:29 UTC) #9
commit-bot: I haz the power
6 years, 12 months ago (2013-12-25 07:55:20 UTC) #10
Message was sent while issue was closed.
Change committed as 242486

Powered by Google App Engine
This is Rietveld 408576698