New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: PDF Output: Text using OTF fonts is converted into vector graphics, blowing up file size. #7963
Comments
@carstenschwede , Do we have same issue on linux also ? |
We're marking this issue as unconfirmed because it has not had recent activity and we weren't able to confirm it yet. It will be closed if no further activity occurs within the next 30 days. |
Bump, still valid. |
@carstenschwede , Please update here as its blocker for us as we are using puppeteer but size is too large and its blocker for us to proceed further. |
Likely duplicate of #7401. |
We're marking this issue as unconfirmed because it has not had recent activity and we weren't able to confirm it yet. It will be closed if no further activity occurs within the next 30 days. |
Bump |
Please provide a test URL and a test script! Generally, we would likely need to file this to crbug.com as the PDF generation is done completely in the browser. |
Seems like this was reported already in #2440 back in 2018 which led to a Chrome bug report here (still unresolved): https://bugs.chromium.org/p/chromium/issues/detail?id=838168 |
Bug description
While exporting to PDF, text that uses OTF fonts is converted to vector graphics, which massively increases the file size.
Converting fonts to TTF instead prevents vectorization, the text is left as text and PDF file size becomes reasonable.
Puppeteer version
13.1.3
Node.js version
12.18.2
npm version
7.0.0-beta.9
What operating system are you seeing the problem on?
macOS
Relevant log output
No response
The text was updated successfully, but these errors were encountered: