mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-18 07:30:12 +01:00
🎨 Export PDF and add watermarks no longer covered by images https://github.com/siyuan-note/siyuan/issues/10818
This commit is contained in:
parent
cafc4ea38b
commit
50faacd129
1 changed files with 1 additions and 0 deletions
|
|
@ -1057,6 +1057,7 @@ func processPDFWatermark(pdfCtx *pdfcpu.Context, watermark bool) {
|
||||||
return
|
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)
|
err = pdfCtx.AddWatermarks(nil, wm)
|
||||||
if nil != err {
|
if nil != err {
|
||||||
logging.LogErrorf("add watermark failed: %s", err)
|
logging.LogErrorf("add watermark failed: %s", err)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue