aboutsummaryrefslogtreecommitdiff
path: root/woff2/font.h
diff options
context:
space:
mode:
Diffstat (limited to 'woff2/font.h')
-rw-r--r--woff2/font.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/woff2/font.h b/woff2/font.h
index 01da720..08c414c 100644
--- a/woff2/font.h
+++ b/woff2/font.h
@@ -66,6 +66,9 @@ bool WriteFont(const Font& font, uint8_t* dst, size_t dst_size);
// zero for CFF-flavored fonts.
int NumGlyphs(const Font& font);
+// Returns the index format of the font
+int IndexFormat(const Font& font);
+
// Sets *glyph_data and *glyph_size to point to the location of the glyph data
// with the given index. Returns false if the glyph is not found.
bool GetGlyphData(const Font& font, int glyph_index,