View Single Post
Old 12-30-2008, 12:44 AM   #23
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,451
Karma: 27757438
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
There's actually a reasonably powerful class in the matplotlib source code that takes a CSS font family name and maps it to the "closest" font on your system. That could be used to take care of documents that specify their own font families.
kovidgoyal is offline   Reply With Quote