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

Issue 3027049: Addressed Tavis's comments in http://codereview.chromium.org/3023041/.... (Closed)

Created:
10 years, 4 months ago by Yusuke Sato
Modified:
9 years, 7 months ago
Reviewers:
agl, taviso
CC:
chromium-reviews
Visibility:
Public.

Description

Addressed Tavis's comments in http://codereview.chromium.org/3023041/. - Modified 4-bytes 16.16 Fixed-point number decoder in ReadNextNumberFromType2CharString(). - Fixed off-by-one error in ExecuteType2CharStringOperator(). - Fixed checks of 'div' and 'endchar' operators. They were not strict enough. - Wrote ~1600 lines of test to verify if the modification above is valid. - Moved Type2CharStringOperator enum definition from cff_type2_charstriung.cc tocff_type2_charstriung.h to write the unit tests. BUG=51070 TEST=http://code.google.com/p/ots/wiki/HowToTestOts (Verified that the modified OTS rejects all malformed fonts, and does not reject all non-malformed fonts. I tested ~3400 TrueType and ~450 OpenType fonts.) TEST=ran cff_type2_charstring_test.

Patch Set 1 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1762 lines, -165 lines) Patch
M src/cff_type2_charstring.h View 1 chunk +53 lines, -0 lines 0 comments Download
M src/cff_type2_charstring.cc View 30 chunks +118 lines, -163 lines 0 comments Download
M test/SConstruct View 2 chunks +3 lines, -2 lines 0 comments Download
A test/cff_type2_charstring_test.cc View 1 chunk +1588 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Yusuke Sato
10 years, 4 months ago (2010-08-09 03:28:13 UTC) #1
agl
LGTM
10 years, 4 months ago (2010-08-09 14:20:39 UTC) #2
taviso
LGTM
10 years, 4 months ago (2010-08-09 17:31:20 UTC) #3
Yusuke Sato
10 years, 4 months ago (2010-08-10 01:59:44 UTC) #4
landed in r35. thanks.

Powered by Google App Engine
This is Rietveld 408576698