Hi<br><br>This is very strange I agree. I checked the pdftex.map file and it has changed due to me upgrading texlive 2011 during a normal fedora update some days ago. I've checked the log for the update, and the update contained a new updmap.cfg (which is the script for generating pdftex.map), which explains the difference in pdftex.map, though it does not help with solving the problem.<br>
<br>From now on I'll check the update list closer, I'm sorry for the inconvenience on your part.The current pdftex.map file does not have the cmr12 font (or any other cmr fonts). Which means that it explains the lack of the font, but doesn't help me, so I continued looking for errors.<br>
<br>There was a new version of TexLive out, I updated, but it did not fix the problem (pdftex.map still lacked cmr fonts).<br><br>I checked the Fedora TExlive maling list and found that there were similar problems there: <a href="http://www.linux.cz/pipermail/texlive/2011-March/000105.html">http://www.linux.cz/pipermail/texlive/2011-March/000105.html</a> (removing texlive-amsfonts (without dependencies) and installing it again)<br>
I tried the solution used there, and it worked, meaning that pdftex.map now contains cmr12 and my test.py file runs properly and gives me a nice pdf file.<br><br>So again sorry for messing this up. I would like to thank you very much for your help.<br>
<br>If CC-d this e-mail to the  TexLive mailing list, in case others have the same problem, and I also figured that this problem with the pdftex.map file should be fixed.<br><br>Regards<br><br>Pål<br><br><br><br><div class="gmail_quote">
On 12 March 2011 22:24, Jouni K. Seppänen <span dir="ltr"><<a href="mailto:jks@iki.fi">jks@iki.fi</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">Jouni K. Seppänen <<a href="mailto:jks@iki.fi">jks@iki.fi</a>> writes:<br>
<br>
</div><div class="im">> Set verbose to debug-annoying and catch the output in a file; there will<br>
> be lots of it, so please email it to me off-list.<br>
<br>
</div>Got it, thanks. Unfortunately I have no idea what's going on. The debug<br>
information indicates that the PsfontsMap._register function (which only<br>
gets called from within the loop in PsfontsMap._parse) is called with<br>
pdftex.map lines out of order, and lacking some of the lines.<br>
<br>
The pdftex.map file you sent me starts with some comments followed by<br>
these entries:<br>
<br>
    ASCII ASCII <ASCII.pfb<br>
    Acorn AcornInitials <Acorn.pfb<br>
    AlphaDia ChessAlphaDiagram <AlphaDia.pfb<br>
    AmiciLogo AmiciLogo <AmiciLogo.pfb<br>
<br>
The log messages, on the other hand, start like this:<br>
<br>
    PsfontsMap: register ['Acorn', 'AcornInitials', '<Acorn.pfb']<br>
    PsfontsMap: register ['aealbattar', 'ae_AlBattar', 'ArabeyesArabicEncoding ReEncodeFont', '<ararabeyes.enc', '<ae_albattar.pfb']<br>
    PsfontsMap: register ['aealmateen', 'ae_AlMateen', 'ArabeyesArabicEncoding ReEncodeFont', '<ararabeyes.enc', '<ae_almateen.pfb']<br>
<br>
Here's a small table. The first column is just line numbers within that<br>
part of the debug log, the second is the number of the entry in<br>
pdftex.map referenced, the third is the first word of that entry:<br>
<br>
    1 2 Acorn<br>
    2 279 aealbattar<br>
    3 280 aealmateen<br>
    4 281 aealmohanadb<br>
    5 282 aealmohanadbolditalic<br>
    6 278 ae_almohanad_xxbold<br>
    7 283 aealmothnna<br>
    8 284 aealyermook<br>
    9 285 aearab<br>
<br>
So it first gets entry #2 (Acorn) from the file, then jumps to entry<br>
#279 (aealbattar) and starts going forward from there, except #278 gets<br>
between #282 and #283. It goes on like this for a while, then:<br>
<br>
    32 308 aetarablus<br>
    33 309 aetholoth<br>
    34 3 AlphaDia<br>
    35 4 AmiciLogo<br>
    36 5 AmiciLogoBold<br>
    37 6 AmiciLogoBoldRslant<br>
    38 7 AmiciLogoBoldSlant<br>
    39 8 AmiciLogoRslant<br>
    40 9 AmiciLogoSlant<br>
    41 310 andlso<br>
    42 10 AnnSton<br>
    43 311 aram10<br>
<br>
So after #309 it jumps back to #3 for a while, etc., and the critical<br>
font cmr12 is skipped altogether.<br>
<br>
Hmm. The ordering is almost consistent with sorting the font names<br>
case-insensitively, but that wouldn't explain the missing fonts.<br>
<br>
Could you double-check that you sent me the correct pdftex.map file?<br>
Run on the system where you have this problem e.g. the following<br>
commands:<br>
<br>
    kpsewhich pdftex.map<br>
    head `kpsewhich pdftex.map`<br>
<br>
and check that ASCII, Acorn, and AlphaDia are the first three<br>
non-comment entries.<br>
<div><div></div><div class="h5"><br>
--<br>
Jouni K. Seppänen<br>
<a href="http://www.iki.fi/jks" target="_blank">http://www.iki.fi/jks</a><br>
<br>
<br>
------------------------------------------------------------------------------<br>
Colocation vs. Managed Hosting<br>
A question and answer guide to determining the best fit<br>
for your organization - today and in the future.<br>
<a href="http://p.sf.net/sfu/internap-sfd2d" target="_blank">http://p.sf.net/sfu/internap-sfd2d</a><br>
_______________________________________________<br>
Matplotlib-users mailing list<br>
<a href="mailto:Matplotlib-users@lists.sourceforge.net">Matplotlib-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/matplotlib-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/matplotlib-users</a><br>
</div></div></blockquote></div><br>