Closed serene closed 8 months ago
The appearance generator tries to mimic the behaviour of Adobe Acrobat and other tools so that the generated appearance streams look similar. Therefore it is not intended to be customizable. If you want to change how the appearance generator works, please subclass it and override the needed methods.
Furthermore, the @widget
object is a PDF object. This means it should not be abused like in this pull request because the key-value pair will appear in the PDF output.
Thanks for finding the typo - I have fixed with a separate commit.
Pass in a padding value or default to the border size.