mirror of
				https://github.com/michaelrsweet/pdfio.git
				synced 2025-10-31 10:26:22 +01:00 
			
		
		
		
	Fix name of ZapfDingbats.
This commit is contained in:
		| @@ -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, | ||||
|   | ||||
| @@ -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); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user