Save figure as pdf without changing fontname
11 次查看(过去 30 天)
显示 更早的评论
Hello everyone, if I try to save a plot figure as pdf, where the font name of the axes and legend is changed to LM Roman, the text in the saved pdf hasn't LM Roman as font name. How can I fix this bug?
A short example:
plot(rand(10,1)); set(gca, 'FontName','LM Roman 10');
Thank you for your help.
4 个评论
回答(4 个)
Lilly Verso
2018-8-31
I have exactly the same issue. Please let me know if you solved it.
Best
2 个评论
Lilly Verso
2019-6-2
编辑:Lilly Verso
2019-6-2
Scott Cohen
2019-10-11
I have exactly the same issue as well. And export_fig does has not helped me with it.
Scott Cohen
2019-10-11
I'm no expert on matlab, or any of these kinds of things, but after finding no resolution from this answer or anywhere else, I think I may have found a solution. I printed my figure using Microsoft XPS Document Writer, saving as an .oxps file. Then I searched online to find how to convert from .oxps to .eps, which is what I wanted. I found this site, which did the trick: https://convertio.co/oxps-eps/
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!