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

Unified Diff: third_party/ots/src/metrics.h

Issue 1252363005: Update OTS to revision a7a3b94 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « third_party/ots/src/maxp.cc ('k') | third_party/ots/src/metrics.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/ots/src/metrics.h
diff --git a/third_party/ots/src/metrics.h b/third_party/ots/src/metrics.h
index f0b4ee8c68ade0f79c53aa9ddc5ffb275937f87a..767be2fdb4d84f4d0d14cc0c2a6ccc4a682c0f67 100644
--- a/third_party/ots/src/metrics.h
+++ b/third_party/ots/src/metrics.h
@@ -33,18 +33,18 @@ struct OpenTypeMetricsTable {
std::vector<int16_t> sbs;
};
-bool ParseMetricsHeader(OpenTypeFile *file, Buffer *table,
+bool ParseMetricsHeader(Font *font, Buffer *table,
OpenTypeMetricsHeader *header);
-bool SerialiseMetricsHeader(const ots::OpenTypeFile *file,
+bool SerialiseMetricsHeader(const ots::Font *font,
OTSStream *out,
const OpenTypeMetricsHeader *header);
-bool ParseMetricsTable(const ots::OpenTypeFile *file,
+bool ParseMetricsTable(const ots::Font *font,
Buffer *table,
const uint16_t num_glyphs,
const OpenTypeMetricsHeader *header,
OpenTypeMetricsTable *metrics);
-bool SerialiseMetricsTable(const ots::OpenTypeFile *file,
+bool SerialiseMetricsTable(const ots::Font *font,
OTSStream *out,
const OpenTypeMetricsTable *metrics);
« no previous file with comments | « third_party/ots/src/maxp.cc ('k') | third_party/ots/src/metrics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698