It depends exacly what you need, but this might help: Ghostscript comes with the Hershey fonts. You should be able to choose an appropriate font name in Matplotlib, e.g. Hershey-Gothic-English, and produce a Postscript file using an appropriate backend. You should then be able to convert that to one of any number of formats (bitmaps and PDF) using Ghostscript. Note the use of the word should, I haven't tried this myself!
- Andrew Gary Ruben wrote: > IDL uses the Hershey vector fonts > <http://www.ifi.uio.no/it/latex-links/STORE/opt/rsi/idl/help/online_help/Hershey_Vector_Font_Samples.html> > > The problem is that these are not trutype fonts, so the easiest solution > is probably to find some free sans-serif font that looks close to > Hershey on a free font site. > > HTH, > Gary R. > > Jose Gomez-Dans wrote: > >> Hi, >> Some colleagues have sent some plots which they generated using IDL >> (boo!!! hiss!! :D), and they look quite dissimilar to my matplotlib >> ones. I would like to mimic their layout as much as possible, which so >> far is a success. The only problem is that I don't know what font to >> use. In IDL, I believe it is called "Roman" (there's an smudged >> example here: <http://www.astro.ufl.edu/~warner/IDL5220/HW4w.jpg>). >> Does anyone know a suitable alternative? >> >> Thanks! >> Jose >> ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users