about libXaw3dxft-1.6.2
-----------------------
This is a newer version which should be entirely source compatible with the
current development versions of libXaw3d-1.6.2 and provides additionally
support for freetype and UTF8 encoding (as did earlier versions
of libxaw3dxft <= 1.3.3).
Version libXaw3dxft-1.6.2b is a fix that allows to correctly highlight text
strings in AsciiText widgets.
To get the best features, it is recommended to use
./configure --enable-internationalization --enable-arrow-scrollbars
[--prefix=/usr]
The main parameter to be set is Xaw3dXftEncoding. By default
Xaw3dXftEncoding = 0
and in this case libXaw3dxft-1.6.2 just behaves as plain libXaw3d. Freetype
support is enabled when Xaw3dXftEncoding != 0, and UTF8 corresponds to
Xaw3dXftEncoding = -1
Other specific parameters (and their default values) are:
char Xaw3dXftEncoding = 0;
char Xaw3dXftStringHilight = 0;
char Xaw3dXftStringUsePixmap = 0;
char Xaw3dXftMenuSpacing = 1;
char Xaw3dXftShowTips = 1;
char Xaw3dXftTipDoGrab = 1;
char Xaw3dXftBorderHack = 1;
char Xaw3dXftNoHilitReverse = 0;
char Xaw3dXftButtonInverse = 1;
char Xaw3dXftButtonDashed = 0;
char Xaw3dXftMultiColumnMenu = 0;
Pixel Xaw3dXftTipBackgroundColor = -1;
char * Xaw3dXftHilitColor = NULL;
unsigned short Xaw3dXftInsensitiveTwist[4] = { 0, 0, 0, 0};
char * Xaw3dXftDefaultFontName = NULL;
XftFont * Xaw3dXftDefaultFont = NULL;
============================================================================
about libxaw3dxft-1.3.3
-----------------------
This is an updated version of the libxaw3dxft library, compatible with
xpaint-2.9.9 (which no longer includes libxaw3dxft).
It includes autoconf scripts rather than the older Imakefile build script -
thanks to David Flater for providing these.
The latest version libxaw3dxft-1.3.3 corrects some minor issues with
font resources. The X core font mechanism should now be superseded in
all circumstances by the freetype library. When compiled with libxaw3dxft,
fonts can be set :
- via the char *Xaw3dXftDefaultFontName parameter (global setting)
- via the Xaw3dXftSetDefaultFontName(char *name) routine (global setting)
- via a -xrm "*<widget,class>*XftFont: fontname" command line specification
(any widget type or class type name can be specified)
- via a XtVaSetValues(widget, XtNxftFont, fontname, NULL) call in a program.
By default, libxaw3dxft uses UTF8 (Xaw3dXftEncoding = 0), other encodings
are available via Xaw3dXftEncoding = 8 or 16.
CAUTION: the libxaw3dxft-1.3.3.tar.bz2 package uploaded on January 31, 2012
had a slight issue (one letter misspelled in the definition
#define XtNxftFont "xftFont"
in SmeBSB.h). Please correct or re-download the new version uploaded on
February 1.