Hi Brett,

On 30.11.07, Brett Calcott wrote:
> I'm using pyx on a macbook running leopard with MacTex installed. I'd
> like to use some different fonts. I get the familiar :
> RuntimeError: cannot find type 1 font metric Times-Roman.afm
> .. when trying to use the "times" package.
> (Note that it works fine without trying to change fonts)
> 
> 
> The FAQ says to add this line:
> text.set(fontmaps="psfonts.map psfonts.cmz psfonts.amz")
> 
> But it seems that "fontmaps" is no longer a valid keyword for the set
> method in texrunner. I tried adding it to .pyxrc too, but this did not
> work either.
> 
> Is there something new here? Have I missed something somewhere?

I remember that you are using the SVN trunk, aren't you?

If yes, then instead of passing the fontmap information to the texrunner
(which is still possible, but which you rarely want to do; use the new
fontmap keyword argument, then), you should be able to pass it to the
ps/pdf writer. This way, the fontmap can be set differently for PS and
PDF output. However, I'm not sure whether this works already - you're
using an unreleased version...

What should work is usinmg the new option psfontmaps and pdffontmaps in
the .pyxrc file.

        Jörg

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to