From: SourceForge.net <no...@so...> - 2003-08-26 11:35:55
|
Bugs item #795271, was opened at 2003-08-26 11:35 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=442886&aid=795271&group_id=45430 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Gert Ingold (gertingold) Assigned to: Nobody/Anonymous (nobody) Summary: wrong token in map file Initial Comment: With PyX0.4 I got the following error message: Traceback (most recent call last): File "./plot", line 2, in ? from pyx import * File "/usr/lib/python2.2/site-packages/pyx/canvas.py", line 41, in ? import attrlist, base, bbox, helper, path, unit, prolog, text, trafo, version File "/usr/lib/python2.2/site-packages/pyx/text.py", line 504, in ? fontmap = readfontmap(["psfonts.map"]) File "/usr/lib/python2.2/site-packages/pyx/text.py", line 497, in readfontmap fontmapping = FontMapping(line) File "/usr/lib/python2.2/site-packages/pyx/text.py", line 454, in __init__ raise RuntimeError("wrong syntax in font catalog file 'psfonts.map'") RuntimeError: wrong syntax in font catalog file 'psfonts.map' The offending line in psfonts.map seems to be: Cheq Cheq <cheq.ps Maybe PyX could treat this line more graciously even if the syntax should be incorrect (??), in particular since the cases where this chessboard font is needed are certainly rare. PyX0.4 will stop regardless of whether this font is needed or not. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=442886&aid=795271&group_id=45430 |