Chromium Code Reviews| Index: src/layout.cc |
| =================================================================== |
| --- src/layout.cc (revision 92) |
| +++ src/layout.cc (working copy) |
| @@ -394,7 +394,12 @@ |
| !subtable.ReadU16(&start_coverage_index)) { |
| return OTS_FAILURE(); |
| } |
| - if (start > end || (last_end && start <= last_end)) { |
| + |
| + // Some of the Adobe Pro fonts have ranges that overlap by one element: the |
| + // start of one range is equal to the end of the previous range. Therefore |
| + // the < in the following condition should be <= were it not for this. |
| + // See crbug.com/29937. |
|
bashi
2012/06/25 22:23:31
crbug.com/134135 ?
agl
2012/06/26 14:43:27
Done. Thanks, that was the other bug that I was lo
|
| + if (start > end || (last_end && start < last_end)) { |
| OTS_WARNING("glyph range is overlapping."); |
| return OTS_FAILURE(); |
| } |