Skip to content
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

feat: 主线合并支持pdf渲染层 #374 #937

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MzoroHaHa
Copy link
Contributor

@MzoroHaHa MzoroHaHa commented Dec 22, 2024

希望作者可以考虑合并导出pdf功能。

虽然pdf可以通过很多方式导出,但通过编辑器本身导出,可以导出一个可以选择文字的pdf文件。一些场景会用到这样的功能。
另外,这省去了使用者对导出pdf工具的选择困难。

我在实现功能时,尽量保证原有代码不受影响,但依然没有把握一点没有影响到原有的 canvs 画图,希望您见谅。

@MzoroHaHa
Copy link
Contributor Author

MzoroHaHa commented Dec 22, 2024

canvas-editor/pdf.html 是一个 demo 功能, 选中所有文本,设置字体为华文访宋(jspdf 需要自己处理字体问题),按 ctrl + s 可以预览 pdf

@MzoroHaHa
Copy link
Contributor Author

@Hufe921 有兴趣合并这个吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant