diff options
author | Mattias Andrée <maandree@kth.se> | 2021-10-30 00:35:08 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-10-30 00:35:37 +0200 |
commit | 0fe690ba5a23e7d0962b0a1a868df293a3bbe425 (patch) | |
tree | 17ef16b564c13f66127d5f7600c2542a502db39e /libparsepcf_get_glyph_indices.c | |
parent | First commit (diff) | |
download | libparsepcf-0fe690ba5a23e7d0962b0a1a868df293a3bbe425.tar.gz libparsepcf-0fe690ba5a23e7d0962b0a1a868df293a3bbe425.tar.bz2 libparsepcf-0fe690ba5a23e7d0962b0a1a868df293a3bbe425.tar.xz |
Second commit
Signed-off-by: Mattias Andrée <maandree@kth.se>
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; |