aboutsummaryrefslogtreecommitdiff
path: root/freetype/src/cff/cffobjs.c
diff options
context:
space:
mode:
Diffstat (limited to 'freetype/src/cff/cffobjs.c')
-rw-r--r--freetype/src/cff/cffobjs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/freetype/src/cff/cffobjs.c b/freetype/src/cff/cffobjs.c
index b881055eb..bc9778c97 100644
--- a/freetype/src/cff/cffobjs.c
+++ b/freetype/src/cff/cffobjs.c
@@ -678,7 +678,7 @@
/* compute number of glyphs */
if ( dict->cid_registry != 0xFFFFU )
- cffface->num_glyphs = cff->charset.max_cid;
+ cffface->num_glyphs = cff->charset.max_cid + 1;
else
cffface->num_glyphs = cff->charstrings_index.count;