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

Issue 542603004: [DirectWrite] Add support for font-weight suffixes (Closed)

Created:
6 years, 3 months ago by eae
Modified:
6 years, 3 months ago
CC:
blink-reviews, jamesr, krit, jbroman, danakj, Rik, Stephen Chennney, pdr., rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

[DirectWrite] Add support for font-weight suffixes Add support for font family names with a font-weight suffix (such as Light, Semibold, Black etc). If the full name fails to match an installed font check for a font-weight suffix and if so strip it and set the weight according to the prefix. The current implementation matches IE when it comes to picking or overriding the weight based on the suffix. TEST=fast/text/font-weight-variant.html BUG=335323, 410333, 410865, 408260 R=cpu@chromium.org, dglazkov@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181493

Patch Set 1 : #

Total comments: 6

Patch Set 2 : Addressing cpu's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+130 lines, -7 lines) Patch
M LayoutTests/TestExpectations View 1 chunk +5 lines, -0 lines 0 comments Download
A LayoutTests/fast/text/font-weight-variant.html View 1 chunk +70 lines, -0 lines 0 comments Download
M Source/platform/fonts/win/FontCacheSkiaWin.cpp View 1 1 chunk +55 lines, -7 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
eae
6 years, 3 months ago (2014-09-05 21:37:28 UTC) #3
cpu_(ooo_6.6-7.5)
lgtm https://codereview.chromium.org/542603004/diff/20001/Source/platform/fonts/win/FontCacheSkiaWin.cpp File Source/platform/fonts/win/FontCacheSkiaWin.cpp (right): https://codereview.chromium.org/542603004/diff/20001/Source/platform/fonts/win/FontCacheSkiaWin.cpp#newcode227 Source/platform/fonts/win/FontCacheSkiaWin.cpp:227: { L" heavy", 6, FontWeight900 } I don't ...
6 years, 3 months ago (2014-09-05 22:23:27 UTC) #4
eae
Thanks Carlos! https://codereview.chromium.org/542603004/diff/20001/Source/platform/fonts/win/FontCacheSkiaWin.cpp File Source/platform/fonts/win/FontCacheSkiaWin.cpp (right): https://codereview.chromium.org/542603004/diff/20001/Source/platform/fonts/win/FontCacheSkiaWin.cpp#newcode227 Source/platform/fonts/win/FontCacheSkiaWin.cpp:227: { L" heavy", 6, FontWeight900 } On ...
6 years, 3 months ago (2014-09-05 22:32:05 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eae@chromium.org/542603004/40001
6 years, 3 months ago (2014-09-05 22:33:39 UTC) #7
commit-bot: I haz the power
Exceeded time limit waiting for builds to trigger.
6 years, 3 months ago (2014-09-06 04:34:30 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eae@chromium.org/542603004/40001
6 years, 3 months ago (2014-09-06 15:04:28 UTC) #11
commit-bot: I haz the power
6 years, 3 months ago (2014-09-06 15:05:22 UTC) #12
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as 181493

Powered by Google App Engine
This is Rietveld 408576698