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

Unified Diff: third_party/ots/src/post.cc

Issue 1487543005: Update OTS to revision 99a3b7f (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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
« no previous file with comments | « third_party/ots/src/ots.cc ('k') | third_party/ots/src/vhea.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/ots/src/post.cc
diff --git a/third_party/ots/src/post.cc b/third_party/ots/src/post.cc
index e7ed92b4a699d9a15b0b9d1e875a2a133c9644b8..a110b2dea3c4958186067106ebc338b92c39df29 100644
--- a/third_party/ots/src/post.cc
+++ b/third_party/ots/src/post.cc
@@ -128,7 +128,7 @@ bool ots_post_serialise(OTSStream *out, Font *font) {
const OpenTypePOST *post = font->post;
// OpenType with CFF glyphs must have v3 post table.
- if (font->post && font->cff && font->post->version != 0x00030000) {
+ if (post && font->cff && post->version != 0x00030000) {
return OTS_FAILURE_MSG("Bad post version %x", post->version);
}
« no previous file with comments | « third_party/ots/src/ots.cc ('k') | third_party/ots/src/vhea.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698