Thread Subject: Embedding fonts in Matlab generated EPS files

Subject: Embedding fonts in Matlab generated EPS files

From: Geico Caveman

Date: 24 Apr, 2008 07:19:19

Message: 1 of 6

For a publication, I need to embed fonts in EPS files generated from Matlab.
This is a standard non-negotiable requirement, even if most of the fonts
used are standard PostScript fonts available on most machines.

I am looking to create EPS files, not PDF files with fonts embedded. Just
clarifying in case someone points me to google links I have already seen.

Platform - Linux. Matlab version R2007a. I am open to suggestions that
require the use of linux utilities through the use of a shell escape.

Subject: Embedding fonts in Matlab generated EPS files

From: Matthias Tuma

Date: 26 Apr, 2008 20:02:02

Message: 2 of 6

Well, the best I know is to take your eps file, carry it
over to a win machine, maybe even in the college library or
something like this. Start up Adobe Illustrator, save again
with option 'embed fonts' and return to own institute.
Silly, but I've stopped bothering. Dont know if Corel Draw
can do this as well. Can't one do the .pdf embedding and
convert back to .eps?

Geico Caveman <spammers-go-here@spam.invalid> wrote in
message <fupc9n$rum$1@aioe.org>...
> For a publication, I need to embed fonts in EPS files
generated from Matlab.
> This is a standard non-negotiable requirement, even if
most of the fonts
> used are standard PostScript fonts available on most machines.
>
> I am looking to create EPS files, not PDF files with fonts
embedded. Just
> clarifying in case someone points me to google links I
have already seen.
>
> Platform - Linux. Matlab version R2007a. I am open to
suggestions that
> require the use of linux utilities through the use of a
shell escape.

Subject: Embedding fonts in Matlab generated EPS files

From: Geico Caveman

Date: 26 Apr, 2008 21:41:47

Message: 3 of 6

Matthias Tuma wrote:

> Well, the best I know is to take your eps file, carry it
> over to a win machine, maybe even in the college library or
> something like this. Start up Adobe Illustrator, save again
> with option 'embed fonts' and return to own institute.
> Silly, but I've stopped bothering. Dont know if Corel Draw
> can do this as well. Can't one do the .pdf embedding and
> convert back to .eps?

Thanks for the hint. pdftops does it on linux.

pdftops -eps -level2 embedded.pdf embedded.eps

Subject: Embedding fonts in Matlab generated EPS files

From: Oliver Woodford

Date: 1 Dec, 2008 21:15:04

Message: 4 of 6

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 to convert from pdf to eps, all in one handy MATLAB function.

Subject: Embedding fonts in Matlab generated EPS files

From: Jason

Date: 6 May, 2011 16:59:05

Message: 5 of 6

"Oliver Woodford" wrote in message <gh1k4o$36j$1@fred.mathworks.com>...
> 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 to convert from pdf to eps, all in one handy MATLAB function.


I have posted a solution http://www.srl.gatech.edu/Members/jaughenbaugh/MATLABPDFLATEX

It uses EPS2PDF (http://www.mathworks.com/matlabcentral/fileexchange/5782-eps2pdf), and then more ghostscript and then pdftops.

pdffonts is useful for checking whether or not the results actually embedded the fonts.

Subject: Embedding fonts in Matlab generated EPS files

From: Oliver Woodford

Date: 8 Dec, 2011 22:42:09

Message: 6 of 6

"Oliver Woodford" wrote:
> 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 to convert from pdf to eps, all in one handy MATLAB function.

This function has been superseded by export_fig:
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
embedding fonts... Jason 6 May, 2011 13:04:10
rssFeed for this Thread

Contact us at files@mathworks.com