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

Unified Diff: third_party/sfntly/src/subsetter/subsetter_impl.h

Issue 8744002: Roll sfntly 111 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to master Created 9 years 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/sfntly/sfntly.gyp ('k') | third_party/sfntly/src/subsetter/subsetter_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sfntly/src/subsetter/subsetter_impl.h
diff --git a/third_party/sfntly/src/subsetter/subsetter_impl.h b/third_party/sfntly/src/subsetter/subsetter_impl.h
index 7f27250cf7cce96012bd16b7cc51e883729ad18c..ebb9203a5275a15d919d21e689b5a1f4370e8d16 100644
--- a/third_party/sfntly/src/subsetter/subsetter_impl.h
+++ b/third_party/sfntly/src/subsetter/subsetter_impl.h
@@ -19,6 +19,9 @@
#include "third_party/sfntly/src/sfntly/font.h"
#include "third_party/sfntly/src/sfntly/font_factory.h"
+#include "third_party/sfntly/src/sfntly/table/truetype/glyph_table.h"
+#include "third_party/sfntly/src/sfntly/table/truetype/loca_table.h"
+#include "third_party/sfntly/src/sfntly/tag.h"
namespace sfntly {
@@ -57,12 +60,8 @@ class SubsetterImpl {
unsigned char** output_buffer);
private:
- Font* FindFont(const char* font_name, const FontArray& font_array);
- bool HasName(const char* font_name, Font* font);
- bool ResolveCompositeGlyphs(const unsigned int* glyph_ids,
- size_t glyph_count,
- IntegerSet* glyph_id_processed);
- CALLER_ATTACH Font* Subset(const IntegerSet& glyph_ids);
+ CALLER_ATTACH Font* Subset(const IntegerSet& glyph_ids,
+ GlyphTable* glyf, LocaTable* loca);
FontFactoryPtr factory_;
FontPtr font_;
« no previous file with comments | « third_party/sfntly/sfntly.gyp ('k') | third_party/sfntly/src/subsetter/subsetter_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698