From: LUK S. <shu...@po...> - 2003-11-06 16:29:10
|
John Hunter wrote: > > I can confirm that if the font files are installed in the default > > location under the system python tree, it works. Setting AFMPATH also > > works in linux. > > OK, so the font files exist and are readable. In order to figure out > where the problem is, I'll need you to add a couple of lines to > matplotlib/backends/backend_ps.py and tell me what the output is. In > the function _get_afm_filenames on line 413, add these print lines > before the return statement and let me know what they report > > print paths > print fnames > return fnames > > John Hunter H:\00work\00cvs\matplotlib\matplotlib\examples>python subplot_demo.py -dPS ['E:\\Py23\\share\\matplotlib', 'E', '\\Py23e\\share\\matplotlib'] [] Error: Could not find any AFM files; please set AFMPATH to point to some readable adobe font metric files Regards, ST -- |