Skip to content

Conversation

rbuetzer
Copy link
Contributor

This pull request fixes an issue introduced by #773

When filling a text field with a lot of content, the content is cropped. This was not the case before #773. I fixed this issue by setting the font size in the default appearance stream to auto.

See also http://partners.adobe.com/public/developer/en/pdf/PDFReference.pdf p. 535:

A zero value for size means that the font is to be auto-sized: its size is computed as a function of the height of the annotation rectangle.

@schmijos
Copy link

👍

@MrRio
Copy link
Member

MrRio commented Sep 25, 2016

Awesome! Thanks :)

@MrRio MrRio merged commit a4de02e into parallax:master Sep 25, 2016
@schmijos schmijos deleted the fix/acroform-auto-text-size branch September 25, 2016 20:43
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.

3 participants