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

Unified Diff: third_party/ots/src/vhea.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/post.cc ('k') | third_party/ots/src/vmtx.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/ots/src/vhea.cc
diff --git a/third_party/ots/src/vhea.cc b/third_party/ots/src/vhea.cc
index fa898a8b5c528cebcf5d51638f2a8e71b23a64ed..e721b971e25d7a874f0c248fce7d48f6e8706b37 100644
--- a/third_party/ots/src/vhea.cc
+++ b/third_party/ots/src/vhea.cc
@@ -4,7 +4,6 @@
#include "vhea.h"
-#include "gsub.h"
#include "head.h"
#include "maxp.h"
@@ -37,10 +36,7 @@ bool ots_vhea_parse(Font *font, const uint8_t *data, size_t length) {
bool ots_vhea_should_serialise(Font *font) {
// vhea should'nt serialise when vmtx doesn't exist.
- // Firefox developer pointed out that vhea/vmtx should serialise iff GSUB is
- // preserved. See http://crbug.com/77386
- return font->vhea != NULL && font->vmtx != NULL &&
- ots_gsub_should_serialise(font);
+ return font->vhea != NULL && font->vmtx != NULL;
}
bool ots_vhea_serialise(OTSStream *out, Font *font) {
« no previous file with comments | « third_party/ots/src/post.cc ('k') | third_party/ots/src/vmtx.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698