NetBSD Problem Report #12971

Received: (qmail 11701 invoked from network); 17 May 2001 19:37:27 -0000
Message-Id: <20010517193838.7FA6D1110F@www.netbsd.org>
Date: Thu, 17 May 2001 12:38:38 -0700 (PDT)
From: collver@softhome.net
Sender: nobody@netbsd.org
Reply-To: collver@softhome.net
To: gnats-bugs@gnats.netbsd.org
Subject: patch: rtf-tools: symbol charset and column separation bugs
X-Send-Pr-Version: www-1.0

>Number:         12971
>Category:       pkg
>Synopsis:       patch: rtf-tools: symbol charset and column separation bugs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    agc
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 17 19:38:00 +0000 2001
>Closed-Date:    Thu May 31 11:05:08 +0000 2001
>Last-Modified:  Thu May 31 11:05:08 +0000 2001
>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:
State-Changed-From-To: open->closed 
State-Changed-By: agc 
State-Changed-When: Thu May 31 04:04:30 PDT 2001 
State-Changed-Why:  
agc applied the patches in the PR. 

Thanks for this. 


Responsible-Changed-From-To: pkg-manager->agc 
Responsible-Changed-By: agc 
Responsible-Changed-When: Thu May 31 04:04:30 PDT 2001 
Responsible-Changed-Why:  
agc took responsibility for this one 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.