Subject: pkg/12971: patch: rtf-tools: symbol charset and column separation bugs
To: None <gnats-bugs@gnats.netbsd.org>
From: None <collver@softhome.net>
List: netbsd-bugs
Date: 05/17/2001 12:38:38
>Number: 12971
>Category: pkg
>Synopsis: patch: rtf-tools: symbol charset and column separation bugs
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu May 17 12:38:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Ben Collver
>Release: 1.5
>Organization:
>Environment:
>Description:
I found 2 glitches in rtf-tools.
1) rtf-tools has its own way of switching between symbols and normal
characters when converting to groff. This patch fixes rtf-tools to
honor the assumption that the \plain command resets to the normal font.
This unscrambles the formatting of some RTF->groff documents.
http://msdn.microsoft.com/library/specs/rtfspec_16.htm#rtfspec_fontcharformat
only mentions resetting font format properties, not the font itself.
It also says that the default properties are application-specific.
2) rtf-tools specifies the column separation for every column. Since
it is meaningless for the last column of a table, the tbl command
outputs messages to stderr. This patch removes column separation from
the last column of the table to keep groff quiet.
>How-To-Repeat:
>Fix:
The patch is at:
http://amaterasu.math.orst.edu:8080/~sharpej/rtf-tools-nb1.diff.gz
>Release-Note:
>Audit-Trail:
>Unformatted: