Thread Subject: Embedding fonts when print to EPS?

Subject: Embedding fonts when print to EPS?

From: Thorsten Ostermann

Date: 15 Aug, 2007 13:47:22

Message: 1 of 10

Hi!

Is there any way to embedd fonts when printing/exporting matlab figures
to EPS format? Many publishers are asking for EPS files with fonts
embedded. I just had some problems where the characters in legends were
mixed up, because they didn't used the same font than matlab did. The
workaraound was sending in TIFF files, but for the future I would rather
use a vector format...

Regards
--
"Ich vermute in Deutschland hätte Edison für seine Glühbirne erstmal
ein Technologiefolge-Abschätzungsgutachten über verlorene
Arbeitsplätze in der Petroleum-Industrie vorlegen müssen, bevor
ihm die Einführung elektrischer Beleuchtung erlaubt worden wäre."
Rafael Deliano in News:de.sci.electronics zum Thema Innovation in DE

Subject: Embedding fonts when print to EPS?

From: carmelo

Date: 26 Feb, 2008 06:53:02

Message: 2 of 10

Hi,

I am having the same problem now: I need to embed the
fonts when creating the eps file
does anybody know a way to get the fonts embedded?

Thanks!

Thorsten Ostermann <News@Ostermann-net.de> wrote in
message <5igef8F3q03uiU1@mid.dfncis.de>...
> Hi!
>
> Is there any way to embedd fonts when printing/exporting
matlab figures
> to EPS format? Many publishers are asking for EPS files
with fonts
> embedded. I just had some problems where the characters
in legends were
> mixed up, because they didn't used the same font than
matlab did. The
> workaraound was sending in TIFF files, but for the
future I would rather
> use a vector format...
>
> Regards
> --
> "Ich vermute in Deutschland h?tte Edison f?r seine
Gl?hbirne erstmal
> ein Technologiefolge-Absch?tzungsgutachten ?ber verlorene
> Arbeitspl?tze in der Petroleum-Industrie vorlegen
m?ssen, bevor
> ihm die Einf?hrung elektrischer Beleuchtung erlaubt
worden w?re."
> Rafael Deliano in News:de.sci.electronics zum Thema
Innovation in DE

Subject: Embedding fonts when print to EPS?

From: naveen

Date: 21 Mar, 2008 20:59:02

Message: 3 of 10

I am also having same problem. Can you help me if you know
the solution. It is bit urgent
thanks in advance,
naveen
"carmelo " <km.nospam.scriba.nospam@yahoo.esnospam> wrote in
message <fq0d0e$5sp$1@fred.mathworks.com>...
> Hi,
>
> I am having the same problem now: I need to embed the
> fonts when creating the eps file
> does anybody know a way to get the fonts embedded?
>
> Thanks!
>
> Thorsten Ostermann <News@Ostermann-net.de> wrote in
> message <5igef8F3q03uiU1@mid.dfncis.de>...
> > Hi!
> >
> > Is there any way to embedd fonts when printing/exporting
> matlab figures
> > to EPS format? Many publishers are asking for EPS files
> with fonts
> > embedded. I just had some problems where the characters
> in legends were
> > mixed up, because they didn't used the same font than
> matlab did. The
> > workaraound was sending in TIFF files, but for the
> future I would rather
> > use a vector format...
> >
> > Regards
> > --
> > "Ich vermute in Deutschland h?tte Edison f?r seine
> Gl?hbirne erstmal
> > ein Technologiefolge-Absch?tzungsgutachten ?ber verlorene
> > Arbeitspl?tze in der Petroleum-Industrie vorlegen
> m?ssen, bevor
> > ihm die Einf?hrung elektrischer Beleuchtung erlaubt
> worden w?re."
> > Rafael Deliano in News:de.sci.electronics zum Thema
> Innovation in DE
>

Subject: Embedding fonts when print to EPS?

From: Jordan

Date: 27 Mar, 2008 11:11:02

Message: 4 of 10

A solution can be found at:

http://www.cs.dartmouth.edu/~kimo/blog/computer/matlab_figures.html

It is frustrating that the fonts cannot be embedded directly
in Matlab.

Subject: Embedding fonts when print to EPS?

From: Marnix Maas

Date: 10 Oct, 2008 10:40:21

Message: 5 of 10

"Jordan " <ko@lmm.jussieu.fr.remove.this> wrote in message <fsfvc6$brd$1@fred.mathworks.com>...
> A solution can be found at:
>
> http://www.cs.dartmouth.edu/~kimo/blog/computer/matlab_figures.html
>
> It is frustrating that the fonts cannot be embedded directly
> in Matlab.

I fully agree.

I ran into the same problem: I needed to have all the fonts embedded in the PDF of my thesis in order to have it printed. I ended up loading all my graphs into Illustrator, fixing the fonts (Illustrator substituted the wrong ones), and saving them again with the fonts embedded.

As far as I'm concerned, this is a great omission in Matlab. What it basically means is that if you want to have scientific work published, you cannot use Matlab to produce professional-looking graphs, and you lose Matlab's excellent capabilities for scripting their appearance. Of course you can always save your graphs as rasterized images, but then why offer the EPS option in the first place?

The question remains: Why isn't this option available? Legal issues?

Subject: Embedding fonts when print to EPS?

From: Oliver Woodford

Date: 7 Nov, 2008 15:27:02

Message: 6 of 10

I had the same problem generating pdfs for a scientific journal.

I found a way to save figures direct to pdf with embedded fonts from Matlab. I've uploaded the function to the FEX:
http://www.mathworks.com/matlabcentral/fileexchange/22018

This code is based heavily on the SAVEFIG function on the FEX, but adds the embedding of fonts as subsets. You need to have Ghostscript installed for it to work.

I added other functionality that is also important for publishing figures in scientific journals:
   - borders are cropped
   - vector graphics are accurately reproduced
   - bitmap graphics are compressed using high quality jpeg

Subject: Embedding fonts when print to EPS?

From: Oliver Woodford

Date: 1 Dec, 2008 21:12:02

Message: 7 of 10

I've added a function to generate eps files with embedded fonts to the file exchange:
http://www.mathworks.com/matlabcentral/fileexchange/22267

It builds on print_pdf, using pdftops as suggested elsewhere on this newsgroup to convert from pdf to eps.

Subject: Embedding fonts when print to EPS?

From: Mohammad

Date: 12 Sep, 2011 16:30:33

Message: 8 of 10

Could you please upload the solution in other link, because current link does not work,
Thanks

"Oliver Woodford" wrote in message <gf1mo6$mo6$1@fred.mathworks.com>...
> I had the same problem generating pdfs for a scientific journal.
>
> I found a way to save figures direct to pdf with embedded fonts from Matlab. I've uploaded the function to the FEX:
> http://www.mathworks.com/matlabcentral/fileexchange/22018
>
> This code is based heavily on the SAVEFIG function on the FEX, but adds the embedding of fonts as subsets. You need to have Ghostscript installed for it to work.
>
> I added other functionality that is also important for publishing figures in scientific journals:
> - borders are cropped
> - vector graphics are accurately reproduced
> - bitmap graphics are compressed using high quality jpeg

Subject: Embedding fonts when print to EPS?

From: Oliver Woodford

Date: 8 Dec, 2011 22:37:08

Message: 9 of 10

"Mohammad" wrote:
> Could you please upload the solution in other link, because current link does not work,
> Thanks

The two functions mentioned earlier have been superseded by the function export_fig, which can be found here:
http://www.mathworks.com/matlabcentral/fileexchange/23629

Subject: Embedding fonts when print to EPS?

From: Guvenc

Date: 9 Feb, 2012 16:03:10

Message: 10 of 10

"Oliver Woodford" wrote in message <jbre6k$klv$1@newscl01ah.mathworks.com>...
> "Mohammad" wrote:
> > Could you please upload the solution in other link, because current link does not work,
> > Thanks
>
> The two functions mentioned earlier have been superseded by the function export_fig, which can be found here:
> http://www.mathworks.com/matlabcentral/fileexchange/23629


Hi, although this post is quite old, I'd like to share my solution for those who do not have Adobe Illustrator. First, save your Matlab figure as eps. I used an open source drawing softare InkSpace. Import eps to Inkspace. Then extensions>images>embed all images. Then export your figure as eps. It passes the publisher tests.

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
eps Guvenc 9 Feb, 2012 11:04:14
figure Guvenc 9 Feb, 2012 11:04:14
matlab Guvenc 9 Feb, 2012 11:04:14
embed fonts Guvenc 9 Feb, 2012 11:04:14
embed Tim 1 Sep, 2011 11:11:23
eps fonts embed... Tim 1 Sep, 2011 11:11:21
scientific journal Oliver Woodford 7 Nov, 2008 10:30:20
embed fonts Oliver Woodford 7 Nov, 2008 10:30:20
publish Oliver Woodford 7 Nov, 2008 10:30:20
font Oliver Woodford 7 Nov, 2008 10:30:19
embed Oliver Woodford 7 Nov, 2008 10:30:19
pdf Oliver Woodford 7 Nov, 2008 10:30:19
eps fonts embed... Marnix Maas 10 Oct, 2008 06:40:32
eps carmelo 26 Feb, 2008 01:55:08
fonts carmelo 26 Feb, 2008 01:55:07
eps Ned Gulley 15 Aug, 2007 17:06:58
rssFeed for this Thread

Contact us at files@mathworks.com