From: connolly@convex.com (Dan Connolly)
Newsgroups: fj.mail-lists.x-window
Subject: XcRichText-1.5: RTF widget with better font handling
Date: 28 Sep 92 22:12:02 GMT
Distribution: fj
Organization: Engineering, CONVEX Computer Corp., Richardson, Tx., USA

Date: Mon, 28 Sep 92 16:57:39 -0400
Message-Id: <9209282057.AA03801@expo.lcs.mit.edu>

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