From: connolly@CONVEX.COM (Dan Connolly)
Newsgroups: comp.archives
Subject: [comp.windows.x.announce] XcRichText-1.5: RTF widget with better font handling
Date: 8 Oct 92 13:48:46 GMT
Followup-To: comp.windows.x.announce
Organization: Engineering, CONVEX Computer Corp., Richardson, Tx., USA
NNTP-Posting-Host: soda.berkeley.edu
X-Original-Newsgroups: comp.windows.x.announce
X-Original-Date: 28 Sep 92 20:57:38 GMT

Archive-name: auto/comp.windows.x.announce/XcRichText-1-5-RTF-widget-with-better-font-handling

Due to some configuration management mistakes (I forgot to
check some code in...) the 1.4 release included some bugs.

I also took some advice from gcc -Wall and cleaned up the
code a little bit.

So, I just uploaded:
export.lcs.mit.edu:/contrib/XcRichText-1.5.tar.Z
export.lcs.mit.edu:/contrib/XcRichText-diffs-1.4-1.5

Thank you for your support.


Release 1.4 of the XcRichText distribution is now available
on export.lcs.mit.edu in the contrib directory.

export.lcs.mit.edu:contrib/XcRichText-1.4.tar.Z

-rw-r--r--  1 ftp      ftp        127781 Sep 21 21:41 XcRichText-1.4.tar.Z

New Features:

* new font selection mechanism that handles font sizes and
  requires no user/application developer intervention
* topPosition and bottomPosition resources to limit the view
  to a certain range

Fixes:

* copyrights have been more clearly stated
* super/subscripts without ascenders/descenders are handled better

README for XcRichText distribution

The XcRichText fills the need for a formatted text display widget in the
Motif toolkit. It interprets RTF data and formats and displays it using
X fonts, colors, lines, and pixmaps.

REQUIREMENTS

In order to build applications using the XcRichText widget, you will
need:

* an ANSI C compiler
* a C++ compiler that implements version 2.1 of the language
* the OSF/Motif toolkit

INSTALLATION

This distribution uses the Imake system for portable software. Sites
with X11 and imake installed can simply uncompress and untar the
distribution, make the makefiles, and make the distribution:

% zcat XcRichText-1.*.tar.Z | tar xvf -
% xmkmf
% make Makefiles
% make depend
% make
% cd test
% make test # this should display some rich text in the widget

Some sites may need to edit the Xc.tmpl to specify an ANSI compiler
and a C++ compiler.

TODO

* support \brdrt, \brdrb
* support \mac,\pc charsets
* support tables fully
* support Mac bitmap formats
* support NeXT bitmap formats?

COPYRIGHT

Copyright 1992 by Convex Computer Corporation, Richardson, Texas.

                        All Rights Reserved

Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
provided that the above copyright notice appear in all copies and that
both that copyright notice and this permission notice appear in
supporting documentation, and that the name Convex not be used in
advertising or publicity pertaining to distribution of the software
without specific, written prior permission.

CONVEX DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
EVENT SHALL CONVEX BE LIABLE FOR ANY SPECIAL, INDIRECT OR
CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.

AUTHOR

Daniel W. Connolly
Convex Computer Corporation
connolly@convex.com