diff --git a/pdfio-base-font-widths.h b/pdfio-base-font-widths.h index f311da9..ce5d854 100644 --- a/pdfio-base-font-widths.h +++ b/pdfio-base-font-widths.h @@ -284,7 +284,7 @@ static short times_roman_widths[256] = }; -static short zapf_dingbats_widths[256] = +static short zapfdingbats_widths[256] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, diff --git a/pdfio-content.c b/pdfio-content.c index a3ee04a..3eb421b 100644 --- a/pdfio-content.c +++ b/pdfio-content.c @@ -1171,8 +1171,8 @@ pdfioContentTextMeasure( widths = times_italic_widths; else if (!strcmp(basefont, "Times-Roman")) widths = times_roman_widths; - else if (!strcmp(basefont, "Zapf-Dingbats")) - widths = zapf_dingbats_widths; + else if (!strcmp(basefont, "ZapfDingbats")) + widths = zapfdingbats_widths; else return (0.0);