|
From: SourceForge.net <no...@so...> - 2011-05-15 10:03:35
|
Feature Requests item #1568021, was opened at 2006-09-29 23:02 Message generated for change (Comment added) made by joergl You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=442889&aid=1568021&group_id=45430 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed Priority: 5 Private: No Submitted By: John Owens (john_owens) Assigned to: Nobody/Anonymous (nobody) Summary: Add support for Type 42 fonts Initial Comment: When parsing my psfonts.map I get errors like: /opt/local/lib/python2.4/site-packages/pyx/dvifile.py:396: UserWarning: Ignoring line 630 in mapping file 'psfonts.map': wrong syntax warnings.warn("Ignoring line %i in mapping file '%s': %s" % (lineno, filename, e)) Here's an example of the line that causes the error in psfonts.map: LY1-Constantia-lnum-kern-liga-smcp--base Constantia "AutoEnc_brlkii5is4p7ngrcgioftapdth ReEncodeFont" <[a_brlkii.enc <Constan.t42 I'm pretty sure that's a good format for a type42 font. Perhaps you can handle it in dvifile.py? JDO ---------------------------------------------------------------------- >Comment By: Jörg Lehmann (joergl) Date: 2011-05-15 12:03 Message: We now ignore Type 42 lines in mapping silently (see changeset 3100). ---------------------------------------------------------------------- Comment By: Jörg Lehmann (joergl) Date: 2007-10-24 21:53 Message: Logged In: YES user_id=390410 Originator: NO Sorry for this belated comment, but I just wanted to remark that this is not a PyX bug but just a non-feature: we do not (yet) support type42 fonts. Note also that PyX just issues a warning and ignores the corresponding line in the map file. If you want or need to, you can configure the Python warnings module (see Python docs) to not display the warning at all. Understanding your bug to be a feature request (for Type 42) fonts, I'll change the title and type accordingly. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=442889&aid=1568021&group_id=45430 |