-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
Content in some text widgets are not visible #14301
Comments
The naive solution would be to just decrease the vertical padding to e.g. pdf.js/web/annotation_layer_builder.css Line 65 in 70fc30d
However, without running tests I suppose that could break other things and we may perhaps need to limit that to only textWidgetAnnotation -elements and/or even just "short" fields!?
|
And very likely, at some point, in a particular case, 3px was a good value so setting it to 1px will fix this issue and likely will break another pdf. |
Given that this issue seems to be (somewhat of) a special-case, how about simply using a CSS-class to set the padding to e.g. |
@timvandermeij, do you have an idea on what could be a good solution ? and maybe you could remember why you chose this |
I see that I introduced the |
- right now we're using the font size from the pdf itself but we use an other font in the annotation layer. So this size doesn't really make sense and leads to bad rendering (see pdf in mozilla#14928); - use a sans-serif font for the fields containing text (fix issue mozilla#14736); - remove useless padding in text-based fields (fix issue mozilla#14301); - text fields allow/disallow scrolling bars (see bit 24 in Ff entry), so use this value to hide/show scrollbars in annotation layer.
- right now we're using the font size from the pdf itself but we use an other font in the annotation layer. So this size doesn't really make sense and leads to bad rendering (see pdf in mozilla#14928); - use a sans-serif font for the fields containing text (fix issue mozilla#14736); - remove useless padding in text-based fields (fix issue mozilla#14301); - text fields allow/disallow scrolling bars (see bit 24 in Ff entry), so use this value to hide/show scrollbars in annotation layer.
- right now we're using the font size from the pdf itself but we use an other font in the annotation layer. So this size doesn't really make sense and leads to bad rendering (see pdf in mozilla#14928); - use a sans-serif font for the fields containing text (fix issue mozilla#14736); - remove useless padding in text-based fields (fix issue mozilla#14301); - text fields allow/disallow scrolling bars (see bit 24 in Ff entry), so use this value to hide/show scrollbars in annotation layer.
- right now we're using the font size from the pdf itself but we use an other font in the annotation layer. So this size doesn't really make sense and leads to bad rendering (see pdf in mozilla#14928); - use a sans-serif font for the fields containing text (fix issue mozilla#14736); - remove useless padding in text-based fields (fix issue mozilla#14301); - text fields allow/disallow scrolling bars (see bit 24 in Ff entry), so use this value to hide/show scrollbars in annotation layer.
- right now we're using the font size from the pdf itself but we use an other font in the annotation layer. So this size doesn't really make sense and leads to bad rendering (see pdf in mozilla#14928); - use a sans-serif font for the fields containing text (fix issue mozilla#14736); - remove useless padding in text-based fields (fix issue mozilla#14301); - text fields allow/disallow scrolling bars (see bit 24 in Ff entry), so use this value to hide/show scrollbars in annotation layer.
- right now we're using the font size from the pdf itself but we use an other font in the annotation layer. So this size doesn't really make sense and leads to bad rendering (see pdf in mozilla#14928); - use a sans-serif font for the fields containing text (fix issue mozilla#14736); - remove useless padding in text-based fields (fix issue mozilla#14301); - text fields allow/disallow scrolling bars (see bit 24 in Ff entry), so use this value to hide/show scrollbars in annotation layer.
- right now we're using the font size from the pdf itself but we use an other font in the annotation layer. So this size doesn't really make sense and leads to bad rendering (see pdf in mozilla#14928); - use a sans-serif font for the fields containing text (fix issue mozilla#14736); - remove useless padding in text-based fields (fix issue mozilla#14301); - text fields allow/disallow scrolling bars (see bit 24 in Ff entry), so use this value to hide/show scrollbars in annotation layer.
Attach (recommended) or Link to PDF file here:
formulairecerfa90nov00-1.pdf
or here: http://mdph.cotesdarmor.fr/pdf/formulaires/formulairecerfa90nov00.pdf
Configuration:
Steps to reproduce the problem:
Enter a number in each fields (the input is supposed to be a single number)
What is the expected behavior? (add screenshot)
What went wrong? (add screenshot)
The text was updated successfully, but these errors were encountered: