Thread Subject: unknown font in save figure as PDF

Subject: unknown font in save figure as PDF

From: Bernd

Date: 14 May, 2010 09:24:06

Message: 1 of 2

Hi everyone!
I want to save my figures as pdf-files. Cause I'm using word 2007 with its new font "cambria" I changed all the text in the figure to this font as well. This works. So in general Matlab knows the font.
-> save as *.pdf

BUT:
In the created pdf-file, the font is not "cambria" but "courier new"! So I guess that the converter does not know the font?
Saving as *.png for example works.

Does anybody have an idea to solve this problem? Adding font-info to the converter? I'm not really deep in the software-stuff, so I would be really grateful for some help.

Thanks a lot!
Bernd

Subject: unknown font in save figure as PDF

From: Oliver Woodford

Date: 8 Dec, 2011 22:48:07

Message: 2 of 2

"Bernd" wrote:
> Hi everyone!
> I want to save my figures as pdf-files. Cause I'm using word 2007 with its new font "cambria" I changed all the text in the figure to this font as well. This works. So in general Matlab knows the font.
> -> save as *.pdf
>
> BUT:
> In the created pdf-file, the font is not "cambria" but "courier new"! So I guess that the converter does not know the font?
> Saving as *.png for example works.
>
> Does anybody have an idea to solve this problem? Adding font-info to the converter? I'm not really deep in the software-stuff, so I would be really grateful for some help.
>
> Thanks a lot!
> Bernd

Export_fig supports saving any font to pdf:
http://www.mathworks.com/matlabcentral/fileexchange/23629

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
pdf Bernd 15 May, 2010 03:18:32
figure Bernd 15 May, 2010 03:18:32
rssFeed for this Thread

Contact us at files@mathworks.com