-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
PDF Font Autosize Not Working On Firefox #2551
Comments
I suspect the way you generate writer.
|
I just tried your code and it did not fix the issue unfortunately. The policy number is still not complete on firefox |
this is my test code:
|
The points deals with the font size. From my interpretation Firefox is in accordance with the standard. Further, pypdf does not have yet a capability to change the height of the font (see #2064 still in progress). |
@kyl293 |
I close this issue as solved. Feel free to send update to reopen-it |
What happened? What were you trying to achieve?
PDF's that are generated do not auto size font for inputs on Firefox but look normal on Microsoft Edge and Google Chrome. If I then save it using acrobat it fixes the font size issue. If there is a way (code wise) to fix the scaling issue?
Environment
Which environment were you using when you encountered the problem?
I am running the software on AWS Lambda (Put pypdf in a layer so that Lambda can access it)
Code + PDF
This is a minimal, complete example that shows the issue:
Share here the PDF file(s) that cause the issue. The smaller they are, the
better. Let us know if we may add them to our tests!
Card with filled dummy data
1182_insert_id_card.pdf
Card with unfilled data
insert_id_card (1).pdf
The text was updated successfully, but these errors were encountered: