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/134135. |
+ if (start > end || (last_end && start < last_end)) { |
OTS_WARNING("glyph range is overlapping."); |
return OTS_FAILURE(); |
} |