Skip to content
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

fixes display problems (randomly disappearing text) with textfields #1699

Merged
merged 1 commit into from
Jul 18, 2024

Conversation

ilaurillard
Copy link
Contributor

Hello!

I recently had an issue with TextFields in PDFs.
Often, when defocussing a field after changing the text, the text would just disappear (in several PDF-Viewers).

When i compared the PDF to another one (with functioning fields) i detected that the other document referred to a font in the /AcroForm section

After adding the font-refs, the display problems seemed to be fixed.

/AcroForm <<
    /SigFlags 0
    /Fields [
      [7 0 R]
    ]
    /DR <<
      /Font <<
        /F5 [5 0 R]
      >>
    >>
  >>

@DavBfr
Copy link
Owner

DavBfr commented Jul 18, 2024

Looks good, Thanks.

@DavBfr DavBfr merged commit 4c3dccf into DavBfr:master Jul 18, 2024
5 of 6 checks passed
@ilaurillard ilaurillard deleted the fix_textfield_render_issue branch November 8, 2024 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants