[PDF] Fix ending condition for font advance construction.
authorvandebo@chromium.org <vandebo@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 10 May 2011 23:25:03 +0000 (23:25 +0000)
committervandebo@chromium.org <vandebo@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 10 May 2011 23:25:03 +0000 (23:25 +0000)
commit34dae877941d1010fafa358a5ebcaebb9a23594a
tree9f833ac487f159708274be379005a4974b1fb537
parent246bd0f2718fb17f18bd3fd4bc5e99fdd0560a82
[PDF] Fix ending condition for font advance construction.

The old code always ended (the last sequence of glyphs) on a range, even if there was a very long run at the end.  This fixes that.

Review URL: http://codereview.appspot.com/4539045

git-svn-id: http://skia.googlecode.com/svn/trunk@1293 2bbb7eff-a529-9590-31e7-b0007b416f81
src/core/SkAdvancedTypefaceMetrics.cpp