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

Issue 13918002: [OTS] Integrate WOFF 2.0 algorithm into OTS (Closed)

Created:
7 years, 8 months ago by Kunihiko Sakamoto
Modified:
7 years, 7 months ago
Reviewers:
Yusuke Sato
CC:
chromium-reviews, raph, agl
Visibility:
Public.

Description

[OTS] Integrate WOFF 2.0 algorithm into OTS Add woff2.h and woff2.cc from the WOFF 2.0 reference implementation (https://code.google.com/p/font-compression-reference/). WOFF2 support is disabled by default and is enabled by ots::EnableWOFF2(). Patch originally by bashi@chromium.org. BUG=122603 R=yusukes@chromium.org Committed: 100

Patch Set 1 #

Total comments: 90

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1135 lines, -33 lines) Patch
M include/opentype-sanitiser.h View 1 chunk +3 lines, -0 lines 0 comments Download
M ots.gyp View 2 chunks +2 lines, -0 lines 0 comments Download
M ots-common.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M src/gpos.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M src/gsub.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M src/ots.h View 1 2 chunks +17 lines, -0 lines 0 comments Download
M src/ots.cc View 1 2 13 chunks +50 lines, -29 lines 0 comments Download
A src/woff2.h View 1 2 1 chunk +20 lines, -0 lines 0 comments Download
A src/woff2.cc View 1 2 3 1 chunk +1037 lines, -0 lines 0 comments Download
M test/ot-sanitise.cc View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Kunihiko Sakamoto
Yusuke-san, could you take a look?
7 years, 8 months ago (2013-04-09 04:39:41 UTC) #1
Yusuke Sato
qq: Do we really want to maintain two sets of woff2.cc/h files (one in OTS, ...
7 years, 8 months ago (2013-04-09 05:22:08 UTC) #2
Kunihiko Sakamoto
[+Raph] Looking at https://code.google.com/p/font-compression-reference/source/browse/cpp, it looks like the cpp part of font-compression-reference is a kind ...
7 years, 8 months ago (2013-04-09 09:58:55 UTC) #3
Kunihiko Sakamoto
Friendly ping for raph :)
7 years, 8 months ago (2013-04-12 03:52:05 UTC) #4
raph
Absolutely, I'm happy for the decompression code to live in OTS as the authoritative source. ...
7 years, 8 months ago (2013-04-12 06:30:58 UTC) #5
Yusuke Sato
ksakamoto: I guess src/woff2.* have already been reviewed by someone else since they're already in ...
7 years, 8 months ago (2013-04-12 06:41:56 UTC) #6
Kunihiko Sakamoto
[+agl] In my understanding, woff2.{h,cc} were initially submitted to font-compression-reference without review, but afterwards reviewed ...
7 years, 8 months ago (2013-04-12 07:49:29 UTC) #7
Yusuke Sato
initial review. sorry for the delay! https://codereview.chromium.org/13918002/diff/1/src/ots.cc File src/ots.cc (right): https://codereview.chromium.org/13918002/diff/1/src/ots.cc#newcode415 src/ots.cc:415: std::vector<uint8_t> decompressed_buffer(decompressed_size); * ...
7 years, 8 months ago (2013-04-17 18:38:46 UTC) #8
Kunihiko Sakamoto
Thank you for the thorough review! And sorry for the slow response. https://codereview.chromium.org/13918002/diff/1/src/ots.cc File src/ots.cc ...
7 years, 8 months ago (2013-04-23 06:36:26 UTC) #9
Kunihiko Sakamoto
Yusuke-san, could you take another look? Thanks!
7 years, 7 months ago (2013-05-07 01:49:43 UTC) #10
Yusuke Sato
LGTM Please ask the security team to review the code before enabling this on Chrome. ...
7 years, 7 months ago (2013-05-07 06:11:27 UTC) #11
Kunihiko Sakamoto
Thanks for your review! https://codereview.chromium.org/13918002/diff/1/src/ots.cc File src/ots.cc (right): https://codereview.chromium.org/13918002/diff/1/src/ots.cc#newcode415 src/ots.cc:415: std::vector<uint8_t> decompressed_buffer(decompressed_size); On 2013/05/07 06:11:27, ...
7 years, 7 months ago (2013-05-07 10:17:22 UTC) #12
Yusuke Sato
LGTM still stands. https://codereview.chromium.org/13918002/diff/1/src/woff2.cc File src/woff2.cc (right): https://codereview.chromium.org/13918002/diff/1/src/woff2.cc#newcode839 src/woff2.cc:839: uint32_t total_length; On 2013/05/07 10:17:23, ksakamoto ...
7 years, 7 months ago (2013-05-07 16:56:44 UTC) #13
Kunihiko Sakamoto
7 years, 7 months ago (2013-05-08 01:20:43 UTC) #14
Message was sent while issue was closed.
Committed patchset #4 manually as r100 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698