Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Unified Diff: src/cff_type2_charstring.h

Issue 658573004: Updating to new OTS repo from https://github.com/khaledhosny/ots.git (Closed) Base URL: https://chromium.googlesource.com/external/ots@master
Patch Set: Adding Colored Emoji changes from external/git repo Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« .gitmodules ('K') | « src/cff.cc ('k') | src/cff_type2_charstring.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« .gitmodules ('K') | « src/cff.cc ('k') | src/cff_type2_charstring.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698