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

导出svg时设置的字体类型不生效。 #230

Open
glacierck opened this issue Jun 3, 2023 · 5 comments · May be fixed by #438
Open

导出svg时设置的字体类型不生效。 #230

glacierck opened this issue Jun 3, 2023 · 5 comments · May be fixed by #438

Comments

@glacierck
Copy link

如体,设置了不二体,但导出svg时却是黑体,同时导出图片时是正确的字体。

@a847244052
Copy link
Contributor

https://stackoverflow.com/questions/54076461/fabricjs-extend-tosvg-to-export-custom-properties
可能问题原因跟这个类似

@nihaojob
Copy link
Owner

nihaojob commented Jun 5, 2023

如体,设置了不二体,但导出svg时却是黑体,同时导出图片时是正确的字体。
有没有视频或者gif,或者复现步骤?

@wenzhihao123
Copy link

如体,设置了不二体,但导出svg时却是黑体,同时导出图片时是正确的字体。

请问楼主如何解决的这个问题啊?感谢

@wenzhihao123
Copy link

如体,设置了不二体,但导出svg时却是黑体,同时导出图片时是正确的字体。
有没有视频或者gif,或者复现步骤?

这个是编辑的时候

test1

这个是下载的svg
test2

@terranc
Copy link

terranc commented Mar 7, 2024

https://supercodepower.com/svg-img-use-font
根据这个里面提到的:

在 figma 中导出文件为 svg 时,勾选 Outline Text 将会以 path 形式导出文字,不勾选将会以 text 形式导出文字
是否能在导出的时候增加这样一个选项呢?
@nihaojob

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 a pull request may close this issue.

5 participants