From 50faacd1291a67cca78be38279607334d296e87c Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Wed, 3 Apr 2024 10:24:51 +0800 Subject: [PATCH] :art: Export PDF and add watermarks no longer covered by images https://github.com/siyuan-note/siyuan/issues/10818 --- kernel/model/export.go | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/model/export.go b/kernel/model/export.go index 38b39563f6a..be8fd4a4ada 100644 --- a/kernel/model/export.go +++ b/kernel/model/export.go @@ -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)