plain-to-rich-text

Function

Package: common-graphics

Arguments: string face point-size &key boldp italicp underlinep color

Creates and returns a rich-text string with the text of the specified plain-text string and with the specified character formatting. face should be the keyword name of an installed font face. point-size is the size of the font in points. boldp, italicp, and underlinep each turn on the corresponding font attribute when true. color should be an rgb object (see make-rgb) indicating the foreground color of the text. If string is the null string (a string of length zero), then the value of *empty-rtf-string* is returned.

See About Rich Text Editing in Common Graphics in cgide.htm.

Common Graphics and IDE documentation is described in About Common Graphics and IDE documentation in cgide.htm.

The documentation is described in introduction.htm and the index is in index.htm.

Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.

Created 2000.10.5.