X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=man%2Flispref%2Ffaces.texi;h=f6d3faa13dc32b41ffbaf2f7c88ea65edc9915a6;hb=c27a47d798256e4f36422ef05a76c0092c46965a;hp=4837ae7cb9aa1a05fefde96d69168d387b2c52ae;hpb=98a6e4055a1fa624c592ac06f79287d55196ca37;p=chise%2Fxemacs-chise.git diff --git a/man/lispref/faces.texi b/man/lispref/faces.texi index 4837ae7..f6d3faa 100644 --- a/man/lispref/faces.texi +++ b/man/lispref/faces.texi @@ -164,7 +164,7 @@ The display table of the face. @item background-pixmap The pixmap displayed in the background of the face. Only used by faces -on X devices. +on GUI devices, currently X11, GTK, and Microsoft Windows. @item underline Underline all text covered by this face. @@ -373,6 +373,14 @@ returned by @code{make-glyph} (@pxref{Glyphs}). The argument may also be a list of the form @code{(@var{width} @var{height} @var{data})} where @var{width} and @var{height} are the size in pixels, and @var{data} is a string, containing the raw bits of the bitmap. + +Similarly to how the glyph's image specifier works @xref{Creating +Glyphs}, you don't create your own image specifier, but rather add +specifications to the existing one. Note that the image instance that is +generated in order to actually display the background pixmap is of type +@code{mono-pixmap}, meaning that it's a two-color image and the +foreground and background of the image get filled in with the +corresponding colors from the face. (#### Is this still true?) @end deffn @deffn Command set-face-font face font &optional locale tag-set how-to-add @@ -393,7 +401,7 @@ specifier of face @var{face}. @end defun @defun face-background-pixmap face &optional locale tag-set exact-p -This function return the background-pixmap glyph object of face +This function returns the background-pixmap image specifier of face @var{face}. @end defun