Small problem after installing wxPython-2.8.6.0 from source on Linux Mandriva 2007 Spring.
With wx.html.HtmlPrintout, the width of the characters is not good and they overlap.
In a previous version to correct the problem I need to do :
Small problem after installing wxPython-2.8.6.0 from source on Linux Mandriva 2007 Spring.
With wx.html.HtmlPrintout, the width of the characters is not good and they overlap.
In a previous version to correct the problem I need to do :
But for this version I don't know what to do ?!...
All idea is welcome ...
wx used to have it's own set of postscript font metric files, but if I understand correctly it doesn't install them anymore and depends on the system libraries to do the right thing. I expect that is what you were fixing by making your symlink before, allowing the newer wx to use the older *.afm files. However it shouldn't need them at all if you configure wx to use the libgnomeprint instead of the old Postscript printing back-end. Did you do that? You may need to check the output of your configure step to see if it was able to find and use libgnomeprint, or install additional -devel packages and reconfigure/rebuild if not.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
Small problem after installing wxPython-2.8.6.0 from source on Linux Mandriva 2007 Spring.
With wx.html.HtmlPrintout, the width of the characters is not good and they overlap.
In a previous version to correct the problem I need to do :
But for this version I don't know what to do ?!...
All idea is welcome ...
wx used to have it's own set of postscript font metric files, but if I understand correctly it doesn't install them anymore and depends on the system libraries to do the right thing. I expect that is what you were fixing by making your symlink before, allowing the newer wx to use the older *.afm files. However it shouldn't need them at all if you configure wx to use the libgnomeprint instead of the old Postscript printing back-end. Did you do that? You may need to check the output of your configure step to see if it was able to find and use libgnomeprint, or install additional -devel packages and reconfigure/rebuild if not.
Thanks you for your answer, Robin.
I have spent a little bit of time to search in the configure.log, but I find nothing wich I understand.
So I keep the directory with the "afm" files from another customer with an older version of wxPython and I put it in "/usr/share/wx" and all works fine ...
I promise me to spend more time to do things better in the future ...