You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run the attached PDF through the pdf2png.js example.
What is the expected behavior? (add screenshot)
My company works with PDFs that come from publishers which sometimes use the 14 standard fonts. When they do, they are referenced using the "TrueType" format, instead of the "Type1" that PDF.js implementation in #12726 expects.
If I remove the if (type === "Type1") from this line and rebuild, this issue is resolved. I suspect the exclusion of "TrueType" is just an oversight and that this is an easily fixed bug?
The text was updated successfully, but these errors were encountered:
Attach (recommended) or Link to PDF file here: helloworld-ttf.pdf
Configuration:
Steps to reproduce the problem:
pdf2png.js
example.What is the expected behavior? (add screenshot)
My company works with PDFs that come from publishers which sometimes use the 14 standard fonts. When they do, they are referenced using the "TrueType" format, instead of the "Type1" that PDF.js implementation in #12726 expects.
What went wrong? (add screenshot)
Prints warnings and visible text is not rendered:
If I remove the
if (type === "Type1")
from this line and rebuild, this issue is resolved. I suspect the exclusion of "TrueType" is just an oversight and that this is an easily fixed bug?The text was updated successfully, but these errors were encountered: