aboutsummaryrefslogtreecommitdiff
path: root/woff2/font.h
diff options
context:
space:
mode:
Diffstat (limited to 'woff2/font.h')
-rw-r--r--woff2/font.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/woff2/font.h b/woff2/font.h
index dd003fb..01da720 100644
--- a/woff2/font.h
+++ b/woff2/font.h
@@ -25,11 +25,6 @@
namespace woff2 {
-// Tags of popular tables.
-static const uint32_t kGlyfTableTag = 0x676c7966;
-static const uint32_t kHeadTableTag = 0x68656164;
-static const uint32_t kLocaTableTag = 0x6c6f6361;
-
// Represents an sfnt font file. Only the table directory is parsed, for the
// table data we only store a raw pointer, therefore a font object is valid only
// as long the data from which it was parsed is around.
@@ -76,6 +71,9 @@ int NumGlyphs(const Font& font);
bool GetGlyphData(const Font& font, int glyph_index,
const uint8_t** glyph_data, size_t* glyph_size);
+// Removes the digital signature (DSIG) table
+bool RemoveDigitalSignature(Font* font);
+
} // namespace woff2
#endif // WOFF2_FONT_H_