Stirling-PDF icon indicating copy to clipboard operation
Stirling-PDF copied to clipboard

[Feature Request]: Support line breaks with stamps

Open DogeAmazed opened this issue 1 year ago • 1 comments

Feature Description

The stamp feature should support line breaks (e.g. \n) instead of printing them as "\n"

Why is this feature valuable?

With line breaks implemented, overflow of the text can be manually avoided

Suggested Implementation

The behaviour should be the same as watermarks, which already implements line breaks.

Additional Information

https://github.com/Stirling-Tools/Stirling-PDF/blob/d832a90de0ea3373de21f71c298230d27195de70/src/main/java/stirling/software/SPDF/controller/api/security/WatermarkController.java#L178-L223

No Duplicate of the Feature

  • [X] I have verified that there are no existing features requests similar to my request.

DogeAmazed avatar Nov 27 '24 09:11 DogeAmazed

Hi @DogeAmazed

This feature has been successfully implemented, and the corresponding PR has been merged.

Feel free to test it out and let us know if you encounter any issues or have further suggestions.

saikumarjetti avatar Dec 03 '24 11:12 saikumarjetti