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

Unified Diff: third_party/ots/src/vmtx.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/vhea.cc ('k') | third_party/ots/src/woff2.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/ots/src/vmtx.cc
diff --git a/third_party/ots/src/vmtx.cc b/third_party/ots/src/vmtx.cc
index 0944e598baca6811d118d2c307a4f00b630767d8..64a706148245ad9c988168165790e57e9ba26d37 100644
--- a/third_party/ots/src/vmtx.cc
+++ b/third_party/ots/src/vmtx.cc
@@ -4,7 +4,6 @@
#include "vmtx.h"
-#include "gsub.h"
#include "maxp.h"
#include "vhea.h"
@@ -33,10 +32,8 @@ bool ots_vmtx_parse(Font *font, const uint8_t *data, size_t length) {
}
bool ots_vmtx_should_serialise(Font *font) {
- // vmtx should serialise when vhea and GSUB are preserved.
- // See the comment in ots_vhea_should_serialise().
- return font->vmtx != NULL && font->vhea != NULL &&
- ots_gsub_should_serialise(font);
+ // vmtx should serialise when vhea is preserved.
+ return font->vmtx != NULL && font->vhea != NULL;
}
bool ots_vmtx_serialise(OTSStream *out, Font *font) {
« no previous file with comments | « third_party/ots/src/vhea.cc ('k') | third_party/ots/src/woff2.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698