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

Issue 16494: Add dynamic web font support to Chrome's port of Webkit. ... (Closed)

Created:
11 years, 11 months ago by jungshik at Google
Modified:
9 years, 7 months ago
Reviewers:
Nicolas Sylvain, eroman
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Add dynamic web font support to Chrome's port of Webkit. Moving OpenTypeUtilities.{cpp,h} from platform/graphics/win to platform/graphics/opentype was sent upstream (pending review at https://bugs.webkit.org/show_bug.cgi?id=23028 ) This CL obsoletes http://codereview.chromium.org/14084/show because FontCustomPlatformData.{cpp,h} were moved out of webkit/port. BUG=1303 http://crbug.com/1303 TEST=LayoutTests/fast/css/font-face-remote.html Besides, go to http://www.alistapart.com/articles/cssatten and click on 'html' links for various test cases. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=7592

Patch Set 1 #

Total comments: 7

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 1

Messages

Total messages: 5 (0 generated)
jungshik at Google
11 years, 11 months ago (2008-12-30 22:02:18 UTC) #1
Nicolas Sylvain
I give full LGTM power to eroman on this one.
11 years, 11 months ago (2008-12-30 22:29:40 UTC) #2
eroman
* Please add the corresponding build file changes * Are there any corresponding layout-tests that ...
11 years, 11 months ago (2009-01-03 06:05:51 UTC) #3
jungshik at Google
On 2009/01/03 06:05:51, eroman wrote: > * Please add the corresponding build file changes > ...
11 years, 11 months ago (2009-01-05 21:24:11 UTC) #4
eroman
11 years, 11 months ago (2009-01-06 02:17:05 UTC) #5
LGTM

> It's in http://codereview.chromium.org/17036/show
> Can I merge it with this CL? I'm a bit confused as to how to deal with
> third_party/WebKit and webkit/*?

You are correct, those edits can't be part of this change since they spans
modules. Your current approach is good: (a) commit to third_party/WebKit, (b)
make a change which updates DEPS, the build files, the layout test list.

I just wanted to see what the sister changes looked like.

> Yes, there is. It's LayoutTests/fast/css/font-face-remote.html. SVG test
> still fails (but in a different way from without this patch). Again,
> can/should I add the test list change to this CL?

That is fine, see above.

http://codereview.chromium.org/16494/diff/213/28
File
third_party/WebKit/WebCore/platform/graphics/chromium/FontCustomPlatformData.cpp
(right):

http://codereview.chromium.org/16494/diff/213/28#newcode71
Line 71: if (m_name.length() >= LF_FACESIZE) {
I think this check should be against m_name.length() + 1, since it must also
accomodate the null-terminator.

Powered by Google App Engine
This is Rietveld 408576698