You'll want to set the rcParam "pdf.fonttype" to 42 to embed the entire TTF file in the PDF file, allowing for editing text as text.

Mike

On 12/13/2011 01:23 PM, Hongchun Jin wrote:
Hi folks, 

I try to use the PDF backend in my plotting script, when I expect to have a pdf figure. However, when I open the figure in Adobe Illustrator, it turns out that the fonts are not "real fonts". I mean I want to be able to directly edit them. For example, when I double click the fonts or use other ways, I want to edit the fonts without deleting them and replacing with new ones. Am I missing something or not doing it correctly? 

Sample: 
# use PDF backends 
import matplotlib
matplotlib.use('PDF')
import matplotlib.pyplot as plt
..........
fig = plt.figure()
..........
fig.savefig('sample.pdf')


Best,

Hongchun




------------------------------------------------------------------------------
Systems Optimization Self Assessment
Improve efficiency and utilization of IT resources. Drive out cost and 
improve service delivery. Take 5 minutes to use this Systems Optimization 
Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/


_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users