diff --git a/src/cff/cffload.c b/src/cff/cffload.c index 9996fa70a..9a9e0b9d8 100644 --- a/src/cff/cffload.c +++ b/src/cff/cffload.c @@ -1818,7 +1818,8 @@ /* Construct code to GID mapping from code to SID mapping */ /* and charset. */ - encoding->count = 0; + encoding->offset = offset; /* used in cff_face_init */ + encoding->count = 0; error = cff_charset_compute_cids( charset, num_glyphs, stream->memory );