Skip to content

Improve export PDF watermark font #14693

Closed
@88250

Description

@88250
Member

Activity

self-assigned this
on Apr 24, 2025
added this to the 3.1.29 milestone on Apr 24, 2025
88250

88250 commented on Apr 24, 2025

@88250
MemberAuthor

这个问题如果要完全支持的话开发工作量有点大,v3.1.29 发布后实现半自动:

  1. 下载 pdfcpu
  2. 通过 pdfcpu fonts install 命令手动安装字体,比如 pdfcpu fonts install ./simkai.ttf,安装好以后在 pdfcpu 配置路径下找到安装好的字体(安装命令执行完以后会打印配置路径),比如楷体:KaiTi.gob
  3. 将其拷贝到思源的配置路径下 C:\Users\用户名\.config\siyuan\fonts\KaiTi.gob
  4. 在 思源 - 设置 - 导出 - 导出 PDF 水印 - 水印位置、大小和样式等 中指定 fontname: KaiTi
added a commit that references this issue on Apr 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @88250

      Issue actions

        Improve export PDF watermark font · Issue #14693 · siyuan-note/siyuan