Skip to content

Commit

Permalink
🎨 Export PDF and add watermarks no longer covered by images #10818
Browse files Browse the repository at this point in the history
  • Loading branch information
88250 committed Apr 3, 2024
1 parent cafc4ea commit 50faacd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel/model/export.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 50faacd

Please sign in to comment.