|
From: SourceForge.net <no...@so...> - 2003-09-02 19:02:23
|
Bugs item #799277, was opened at 2003-09-02 19:44 Message generated for change (Comment added) made by wobsta You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=442886&aid=799277&group_id=45430 Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Marcus Mendenhall (mendenhall) Assigned to: Nobody/Anonymous (nobody) Summary: paperformat units wrong Initial Comment: I just tried for the first time to set paperformat='letter', and discovered an error. in _paperformats, the units for 'letter' and 'legal' are specified as "letter" : ("8.5 t in", "11 t in"), "legal" : ("8.5 t in", "14 t in")} unfortunately, pyx.units defines the inch unit as 'inch' and not 'in'. Please either add 'in' as an alias for an inch in pyx.units, or change _paperformats in pyx.canvas to use the current name. Thanks. ---------------------------------------------------------------------- >Comment By: André Wobst (wobsta) Date: 2003-09-02 21:02 Message: Logged In: YES user_id=405853 The definition of _paperformats was corrected in CVS a few days ago already. Discussing the other way to get rid of the problem (switching to "in" instead of "inch" in pyx.unit) we found, that it would break some naming scheme in pyx.unit because "in" is a python keyword. However, as you requested, it might still be nice to have just another alias "in" for inch in the string handling of pyx.unit while primary keep the name "inch" due to the python keyword "in". Thanks for reporting this bug. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=442886&aid=799277&group_id=45430 |