diff options
Diffstat (limited to 'libparsepcf_get_glyph_indices.c')
-rw-r--r-- | libparsepcf_get_glyph_indices.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libparsepcf_get_glyph_indices.c b/libparsepcf_get_glyph_indices.c index a1e7ed6..c30e148 100644 --- a/libparsepcf_get_glyph_indices.c +++ b/libparsepcf_get_glyph_indices.c @@ -9,7 +9,7 @@ libparsepcf_get_glyph_indices(const char *file, size_t size, size_t *out, size_t first, size_t count) { int msb = table->format & LIBPARSEPCF_BYTE; - size_t pos = 14 + first * 2; + size_t pos = table->offset + 14 + first * 2; size_t i; (void) size; |