Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1227)

Issue 5379041: [PDF] Optimize W-array generation with respect to subsetted fonts and add test. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 5 months ago by Steve VanDeBogart
Modified:
12 years, 5 months ago
Reviewers:
arthurhsu
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlecode.com/svn/trunk
Visibility:
Public.

Description

[PDF] Optimize W-array generation with respect to subsetted fonts and add test. Testing framework originally from http://codereview.appspot.com/4916044 Committed: http://code.google.com/p/skia/source/detail?r=2667

Patch Set 1 #

Patch Set 2 : Fix some bugs and add more tests #

Patch Set 3 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+361 lines, -34 lines) Patch
M gyp/tests.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M src/core/SkAdvancedTypefaceMetrics.cpp View 1 2 3 chunks +141 lines, -34 lines 0 comments Download
A tests/WArrayTest.cpp View 1 2 1 chunk +219 lines, -0 lines 0 comments Download

Messages

Total messages: 6
Steve VanDeBogart
12 years, 5 months ago (2011-11-09 21:44:17 UTC) #1
arthurhsu
On 2011/11/09 21:44:17, Steve VanDeBogart wrote: Data {1, 0, 0, 0, 0, 2, 3, 3, ...
12 years, 5 months ago (2011-11-09 23:28:33 UTC) #2
Steve VanDeBogart
On 2011/11/09 23:28:33, arthurhsu wrote: > On 2011/11/09 21:44:17, Steve VanDeBogart wrote: > > Data ...
12 years, 5 months ago (2011-11-10 22:56:09 UTC) #3
arthurhsu
On 2011/11/10 22:56:09, Steve VanDeBogart wrote: > On 2011/11/09 23:28:33, arthurhsu wrote: > > On ...
12 years, 5 months ago (2011-11-10 23:19:53 UTC) #4
Steve VanDeBogart
On 2011/11/10 23:19:53, arthurhsu wrote: > On 2011/11/10 22:56:09, Steve VanDeBogart wrote: > > On ...
12 years, 5 months ago (2011-11-11 19:37:26 UTC) #5
arthurhsu
12 years, 5 months ago (2011-11-11 19:39:10 UTC) #6
On 2011/11/11 19:37:26, Steve VanDeBogart wrote:
> On 2011/11/10 23:19:53, arthurhsu wrote:
> > On 2011/11/10 22:56:09, Steve VanDeBogart wrote:
> > > On 2011/11/09 23:28:33, arthurhsu wrote:
> > > > On 2011/11/09 21:44:17, Steve VanDeBogart wrote:
> > > > 
> > > > Data {1, 0, 0, 0, 0, 2, 3, 3, 3, 3, 4, 5, 5, 5, 5, 5}
> > > > subset {5, 7, 9, 11}
> > > > 
> > > > causes assertion error.  You may want to add my test cases in
> > > > http://codereview.appspot.com/4916044/diff/19002/tests/WArrayTest.cpp to
> > > > WArrayTest.cpp.
> > > 
> > > I fixed this case and a couple more I found by running the code in Chrome.

> I
> > > added tests for the cases that I fixed.  Adding the older tests doesn't
make
> > > sense because they are based on different assumptions about optimization. 
> > > However, I did run them all and they all gave new expected output.
> > 
> > LGTM with nits.
> > 
> > Comments for test cases shall provide some mappings to the statements made
in
> > getAdvanceData.  For example, "Removing 4 0's or don't care's is a win" is
> > validated in test case data 5.
> 
> Done.

lgtm++
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b