Index: src/cff_type2_charstring.h |
diff --git a/src/cff_type2_charstring.h b/src/cff_type2_charstring.h |
old mode 100644 |
new mode 100755 |
index dbaea75b21dfec6ff2d0d45875ef0db1d01b4b6c..673234257bd57f454f1189333a9154351309e949 |
--- a/src/cff_type2_charstring.h |
+++ b/src/cff_type2_charstring.h |
@@ -35,6 +35,7 @@ namespace ots { |
// cff_table: A buffer which contains actual byte code of charstring, global |
// subroutines and local subroutines. |
bool ValidateType2CharStringIndex( |
+ OpenTypeFile *file, |
const CFFIndex &char_strings_index, |
const CFFIndex &global_subrs_index, |
const std::map<uint16_t, uint8_t> &fd_select, |
@@ -67,6 +68,7 @@ enum Type2CharStringOperator { |
kCallGSubr = 29, |
kVHCurveTo = 30, |
kHVCurveTo = 31, |
+ kDotSection = 12 << 8, |
kAnd = (12 << 8) + 3, |
kOr = (12 << 8) + 4, |
kNot = (12 << 8) + 5, |
@@ -91,8 +93,7 @@ enum Type2CharStringOperator { |
kFlex = (12 << 8) + 35, |
kHFlex1 = (12 << 8) + 36, |
kFlex1 = (12 << 8) + 37, |
- // Operators that are obsoleted or undocumented, such as 'blend', will be |
- // rejected. |
+ // Operators that are undocumented, such as 'blend', will be rejected. |
}; |
} // namespace ots |