🎨 Export PDF and add watermarks no longer covered by images https://github.com/siyuan-note/siyuan/issues/10818

This commit is contained in:
Daniel 2024-04-03 10:24:51 +08:00
parent cafc4ea38b
commit 50faacd129
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -1057,6 +1057,7 @@ func processPDFWatermark(pdfCtx *pdfcpu.Context, watermark bool) {
return
}
wm.OnTop = true // Export PDF and add watermarks no longer covered by images https://github.com/siyuan-note/siyuan/issues/10818
err = pdfCtx.AddWatermarks(nil, wm)
if nil != err {
logging.LogErrorf("add watermark failed: %s", err)