mirror of
https://github.com/michaelrsweet/pdfio.git
synced 2024-12-26 05:18:21 +01:00
Fix name of ZapfDingbats.
This commit is contained in:
parent
62fdf48ff9
commit
3d6d9e3e3e
@ -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,
|
||||||
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,
|
||||||
|
@ -1171,8 +1171,8 @@ pdfioContentTextMeasure(
|
|||||||
widths = times_italic_widths;
|
widths = times_italic_widths;
|
||||||
else if (!strcmp(basefont, "Times-Roman"))
|
else if (!strcmp(basefont, "Times-Roman"))
|
||||||
widths = times_roman_widths;
|
widths = times_roman_widths;
|
||||||
else if (!strcmp(basefont, "Zapf-Dingbats"))
|
else if (!strcmp(basefont, "ZapfDingbats"))
|
||||||
widths = zapf_dingbats_widths;
|
widths = zapfdingbats_widths;
|
||||||
else
|
else
|
||||||
return (0.0);
|
return (0.0);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user