Index: third_party/ots/src/cmap.cc |
diff --git a/third_party/ots/src/cmap.cc b/third_party/ots/src/cmap.cc |
index d9ca9fa8ac41e347fa6d7340decc6948974c0287..b1bf5fd159f664f6e9a0385c35917bab3e7c2076 100644 |
--- a/third_party/ots/src/cmap.cc |
+++ b/third_party/ots/src/cmap.cc |
@@ -684,11 +684,11 @@ bool ots_cmap_parse(OpenTypeFile *file, const uint8_t *data, size_t length) { |
+ (subtable_headers[i].encoding << 16) |
+ subtable_headers[i].language; |
if ((i != 0) && (last_id >= current_id)) { |
- return OTS_FAILURE_MSG("subtable %d with platform ID %d, encoding ID %d, language ID %d " |
- "following subtable with platform ID %d, encoding ID %d, language ID %d", |
- i, |
- (uint8_t)(current_id >> 24), (uint8_t)(current_id >> 16), (uint8_t)(current_id), |
- (uint8_t)(last_id >> 24), (uint8_t)(last_id >> 16), (uint8_t)(last_id)); |
+ OTS_WARNING("subtable %d with platform ID %d, encoding ID %d, language ID %d " |
+ "following subtable with platform ID %d, encoding ID %d, language ID %d", |
+ i, |
+ (uint8_t)(current_id >> 24), (uint8_t)(current_id >> 16), (uint8_t)(current_id), |
+ (uint8_t)(last_id >> 24), (uint8_t)(last_id >> 16), (uint8_t)(last_id)); |
} |
last_id = current_id; |
} |