SIGN IN SIGN UP

add CJK auto-wrap support for text watermarks (#1427)

* add CJK auto-wrap support for text watermarks

# Conflicts:
#	pkg/pdfcpu/model/text.go
#	pkg/pdfcpu/stamp.go

* fix CJK text overflow causing font size shrinkage by breaking oversized words via wrapLine; add CJK line-breaking tests; update MaxWidth field comment

* pre-wrap text with WordWrap so maxWidth no longer affects font scaling or bounding box
* adapt CJK watermark changes to latest upstream APIs and fix swallowed errors
H
hourinX committed
a2c33719c6aa55593d0316e50247388a3763b5f2
Parent: ef9ddad
Committed by GitHub <noreply@github.com> on 8/4/2026, 11:00:31 AM