Skip to content

Adjust PDF export footer font size #11203

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Achuan-2 opened this issue Apr 30, 2024 · 3 comments
Closed

Adjust PDF export footer font size #11203

Achuan-2 opened this issue Apr 30, 2024 · 3 comments
Assignees
Milestone

Comments

@Achuan-2
Copy link
Member

Achuan-2 commented Apr 30, 2024

pdf导出的页脚支持设置字体大小

In what scenarios do you need this feature?

看了下思源的源码,貌似pdf导出时,页脚只有8px字体大小,实在有点小了(我日常导出文字是17px)
Clip_2024-04-30_23-30-01
Clip_2024-04-30_23-33-38

Describe the optimal solution

建议能加一个选框调节字体大小
Clip_2024-04-30_23-32-42

Describe the candidate solution

或者把8px先改成10-12px也行,8px确实太小了
或者模板语法支持设置字体大小

Other information

No response

@Achuan-2 Achuan-2 changed the title pdf导出到页脚支持设置页码大小 pdf导出的页脚支持设置页码大小 Apr 30, 2024
@Achuan-2 Achuan-2 changed the title pdf导出的页脚支持设置页码大小 pdf导出的页脚支持设置字体大小 Apr 30, 2024
@88250
Copy link
Member

88250 commented May 1, 2024

感谢反馈,配置项就不加了吧,考虑调整为 10-12px @Vanessa219

@Achuan-2
Copy link
Member Author

Achuan-2 commented May 1, 2024

如果不加选项的话,能否根据pdf字体大小来设置呢,比如设置为0.7em(具体大小得实际测试)

@88250 88250 changed the title pdf导出的页脚支持设置字体大小 Adjust PDF export footer font size May 1, 2024
@88250 88250 added this to the 3.0.13 milestone May 1, 2024
@Vanessa219
Copy link
Member

设置为 em, rem 页脚就无法显示了。先设置为 10px 试试吧。

Vanessa219 added a commit that referenced this issue May 1, 2024

Unverified

This user has not yet uploaded their public signing key.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants