Comment 21 for bug 219709

Revision history for this message
Julien-Charles Lévesque (jclevesque) wrote :

Also have the same issues importing PDF's generated with matplotlib using LaTeX fonts (i.e., Computer Modern Roman, etc.).

I have a few of these fonts installed on my system (well obviously, since I am able to compile the documents with both LaTeX and matplotlib), however I cannot see most of them when I browse the fonts list of inkscape. Inkscape does have most Latex fonts in 10pt size, but NOT in 12pt size, which seems to be the problem since matplotlib generates its figures with 12pt size fonts by default.

Didn't find anyplace to download those fonts so that inkscape can use them... I did see a package on CTAN with them, but they are all prefixed with 'BKM-' and I think that messes up inkscape's font name matching.

Anyways I am attaching the figure I used to test it out. Here is the output of pdffonts for the file :

$pdffonts mplfig.pdf
name type emb sub uni object ID
------------------------------------ ----------------- --- --- --- ---------
CMR12 Type 1 yes no no 17 0
CMSY10 Type 1 yes no no 21 0
CMMI12 Type 1 yes no no 13 0