summaryrefslogtreecommitdiff
path: root/sfntly/table/bitmap/index_sub_table.h
diff options
context:
space:
mode:
Diffstat (limited to 'sfntly/table/bitmap/index_sub_table.h')
-rw-r--r--sfntly/table/bitmap/index_sub_table.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sfntly/table/bitmap/index_sub_table.h b/sfntly/table/bitmap/index_sub_table.h
index c2be7d1..0993e76 100644
--- a/sfntly/table/bitmap/index_sub_table.h
+++ b/sfntly/table/bitmap/index_sub_table.h
@@ -45,6 +45,11 @@ class IndexSubTable : public SubTable {
virtual int32_t NumGlyphs() = 0;
+ // Gets the glyph info for the specified glyph id.
+ // @param glyphId the glyph id to look up
+ // @return the glyph info
+ CALLER_ATTACH virtual BitmapGlyphInfo* GlyphInfo(int32_t glyph_id);
+
// Gets the full offset of the glyph within the EBDT table.
// @param glyphId the glyph id
// @return the glyph offset