In Firefox pdf format, the β€œ4” flag is displayed (instead of a checkmark); Works fine in IE and Chrome

I am creating a pdf document (via ColdFusion), but when I look at the pdf rendering in Firefox, I get the number "4" where my checkmarks should be (see photo below). When I view the same pdf file in Chrome or IE, I see a checkmark and everything works fine!

I pre-populate the pdf form fields (via ColdFusion session variables), and then create the pdf using the following markup:

<cfpdfform source="82040.pdf" action="populate">
   <cfpdfformparam name="org" value="">
</cfpdfform>

Here is the resulting PDF form in Internet Explorer:

Pay attention to the correct display of the checkmark: the checkmark renders normally in IE

Here is the same form that was viewed in FireFox:

Please note that the checkbox has a β€œ4” flag, not a checkmark. In firefox I get a "4" instead of a checkmark

Any help would be greatly appreciated!

+4
2

, -, , github repo: ​​ . , , :

, , , , pdf.js. - , , PDF-, , , , .

, (, "4" , , , pdf.js , firefox pdf-viewer , "4" , , , "4".

, , , ( ), "N" , "N".

PDF- Firefox, Adobe Acrobat Reader PDF ( pdf), Chrome IE), , , , .

/, :

( )

  • pdf.js firefox, pdf.js PDF API- API- PDF .

  • HTML , , pdf , HTML, ( ). pdf PDF- , , - , , PDF- Firefox, PDF-, Adobe Acrobat).

  • , ZapfDingBats Font. , , , , , , ColdFusion, pdf Firefox.

  • , Firefox, , , , PDF- , .

  • HTML5 ( ), HTML5 shiv ( HTML5 ) CSS , . , , - - HTML5, , .

  • , , HTML ColdFusion HTML validator.

, , mozilla PDF. firefox, PDF , , , .

: PDF.js 19+ Firefox.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~

: pdf ( ZapDingbats) pdf, pdf.js. , pdf Dipbats Zapf Firefox ( pdf.js), ( "4" a20[x2714] firefox (a20[x2714]) Chrome.

ZapfDingbats not rendering in Firefox version 34.0.5 via pdf.js

+6

Firefox PDF Viewer. . , (pdf.js) . , - Mozilla , Firefox ( , ). .

, , , - pdf "", "", "/" . "" pdf , . (Adobe Reader ).

<cfheader name="Content-Disposition" value="attachment; filename=fileName.pdf">
<cfcontent type="application/pdf" .../>

Update:

+8

Source: https://habr.com/ru/post/1570732/


All Articles