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

Issue 74413002: Make -webkit-font-kerning actually work. (Closed)

Created:
7 years, 1 month ago by efidler1
Modified:
7 years, 1 month ago
CC:
blink-reviews, jamesr, krit, dsinclair, danakj, Rik, Stephen Chennney, pdr., rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Make -webkit-font-kerning actually work. Right now, the complex text path always kerns, even with -webkit-font-kerning:none. This is technically tested by fast/text/font-kerning.html, but the default font often only has TrueType kerning, which isn't supported yet (bug 41990). I've changed the test to prefer some fonts that are widely available and actually get kerned. BUG=165643 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=162485

Patch Set 1 #

Total comments: 1

Patch Set 2 : address behdad's comments and add vkrn #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -5 lines) Patch
M LayoutTests/StaleTestExpectations View 1 1 chunk +0 lines, -3 lines 0 comments Download
M LayoutTests/fast/text/font-kerning.html View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/text/font-kerning-expected.html View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/platform/graphics/harfbuzz/HarfBuzzShaper.cpp View 1 2 chunks +14 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
efidler1
ptal
7 years, 1 month ago (2013-11-15 21:47:20 UTC) #1
jamesr
why do we have a vendor-prefixed CSS hook for this? Is there anything standard to ...
7 years, 1 month ago (2013-11-15 21:48:57 UTC) #2
efidler1
font-kerning is standard (http://dev.w3.org/csswg/css-fonts/#propdef-font-kerning), we've just never unprefixed it.
7 years, 1 month ago (2013-11-15 21:50:46 UTC) #3
jamesr
If the vendor prefixed version is a no-op maybe we should just remove it and ...
7 years, 1 month ago (2013-11-15 21:52:48 UTC) #4
behdad_google
https://codereview.chromium.org/74413002/diff/1/Source/core/platform/graphics/harfbuzz/HarfBuzzShaper.cpp File Source/core/platform/graphics/harfbuzz/HarfBuzzShaper.cpp (right): https://codereview.chromium.org/74413002/diff/1/Source/core/platform/graphics/harfbuzz/HarfBuzzShaper.cpp#newcode517 Source/core/platform/graphics/harfbuzz/HarfBuzzShaper.cpp:517: m_features.append(kern); No need to explicitly turn on. Default is ...
7 years, 1 month ago (2013-11-15 22:16:37 UTC) #5
efidler1
Yes, apologies. You already told me that. I'll fix.
7 years, 1 month ago (2013-11-15 22:17:17 UTC) #6
behdad_google
On 2013/11/15 22:17:17, efidler1 wrote: > Yes, apologies. You already told me that. I'll fix. ...
7 years, 1 month ago (2013-11-15 22:17:40 UTC) #7
efidler1
Ok, new version addresses Behdad's comments. I'd like to fix this, and then address unprefixing ...
7 years, 1 month ago (2013-11-15 23:27:22 UTC) #8
behdad_google
lgtm
7 years, 1 month ago (2013-11-15 23:36:34 UTC) #9
efidler1
On 2013/11/15 23:36:34, behdad_google wrote: > lgtm thanks. jamesr, are you ok with landing this?
7 years, 1 month ago (2013-11-18 13:33:38 UTC) #10
jamesr
I don't think it's worthwhile to improve a vendor-prefixed property when we could instead ship ...
7 years, 1 month ago (2013-11-19 21:02:36 UTC) #11
efidler1
FWIW, -webkit-font-kerning does work (to some extent) on Chrome for Mac. It's a total no-op ...
7 years, 1 month ago (2013-11-20 22:15:05 UTC) #12
eseidel
I spoke with Eli in person just now. Although I 100% agree with James that ...
7 years, 1 month ago (2013-11-20 23:51:03 UTC) #13
jamesr
That sounds fine. Having numbers makes it easier to make this call. I think we ...
7 years, 1 month ago (2013-11-20 23:53:24 UTC) #14
efidler1
Ok, thanks all. Can someone land this for me?
7 years, 1 month ago (2013-11-21 18:04:06 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/efidler@blackberry.com/74413002/170001
7 years, 1 month ago (2013-11-21 18:10:11 UTC) #16
commit-bot: I haz the power
7 years, 1 month ago (2013-11-21 19:04:47 UTC) #17
Message was sent while issue was closed.
Change committed as 162485

Powered by Google App Engine
This is Rietveld 408576698