From: SourceForge.net <no...@so...> - 2005-03-28 17:02:40
|
Bugs item #1171961, was opened at 2005-03-28 19:02 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112997&aid=1171961&group_id=12997 Category: 44. Generic Fonts Group: current: 8.4.9 Status: Open Resolution: None Priority: 5 Submitted By: Csaba Nemethi (nemethi) Assigned to: Jeffrey Hobbs (hobbs) Summary: "font measure" parsed incorrectly Initial Comment: The command font measure "Courier -12" "-display" should return the width of the string "-display" in pixels. Instead, it raises an error, because the string "-display" is interpreted as the abbreviation of the optional "-displayof" switch. This is a very long-standing bug in parsing the "font measure" command, whose syntax is font measure font ?-displayof window? text If the "font" argument is followed by a single string then the correct behavior should be to interpret that string as the "text" argument, regardless of what string was passed to the command. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112997&aid=1171961&group_id=12997 |