pdf-to-png-converter icon indicating copy to clipboard operation
pdf-to-png-converter copied to clipboard

Form checkmark icon not converted

Open froston opened this issue 2 years ago • 3 comments

When a PDF form with checkboxes checked is converted to an image, those checkmarks icons are missing. I tried to combine disableFontFace and useSystemFonts options but without success. Any solution to this? Thanks!

froston avatar Jul 16 '22 19:07 froston

When a PDF form with checkboxes checked is converted to an image, those checkmarks icons are missing. I tried to combine disableFontFace and useSystemFonts options but without success. Any solution to this? Thanks!

Could you share such file with me?

dichovsky avatar Jul 17 '22 08:07 dichovsky

Sorry but I can't share the file itself for property reasons, however I can share some more details. Seem to be related to a missing standard font FoxitDingbats.

This is how the character looks like in the PDF: image

Log: Warning: fetchStandardFontData: failed to fetch file "FoxitDingbats.pfb" with "UnknownErrorException: The standard font "baseUrl" parameter must be specified, ensure that the "standardFontDataUrl" API parameter is provided.".

Whe I tried to set standardFontDataUrl following messages: Warning: fetchStandardFontData: failed to fetch file "foxitDingbats.pfb" with "UnknownErrorException: Unable to load font data at https://unpkg.com/[email protected]/standard_fonts/.

Warning: fetchStandardFontData: failed to fetch file "foxitDingbats.pfb" with "UnknownErrorException: Unable to load font data at ../node_modules/pdfjs-dist/standard_fonts/.

froston avatar Jul 17 '22 21:07 froston

Please try v3.3.0

dichovsky avatar Aug 30 '24 21:08 dichovsky