[cff] Explicitly set StandardEncoding or ExpertEncoding offsets.
Fixes #1097. * src/cff/cffload.c (cff_encoding_load): Set special offset values.
This commit is contained in:
parent
fce74b7365
commit
6e1ef98a04
|
@ -1818,7 +1818,8 @@
|
||||||
/* Construct code to GID mapping from code to SID mapping */
|
/* Construct code to GID mapping from code to SID mapping */
|
||||||
/* and charset. */
|
/* and charset. */
|
||||||
|
|
||||||
encoding->count = 0;
|
encoding->offset = offset; /* used in cff_face_init */
|
||||||
|
encoding->count = 0;
|
||||||
|
|
||||||
error = cff_charset_compute_cids( charset, num_glyphs,
|
error = cff_charset_compute_cids( charset, num_glyphs,
|
||||||
stream->memory );
|
stream->memory );
|
||||||
|
|
Loading…
Reference in New Issue