Undo last change.
authorChong Yidong <cyd@stupidchicken.com>
Sat, 10 Jan 2009 13:20:18 +0000 (13:20 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Sat, 10 Jan 2009 13:20:18 +0000 (13:20 +0000)
doc/lispref/display.texi
doc/lispref/elisp.texi
lisp/Makefile.in

index 2a076c3..ca7785f 100644 (file)
@@ -3949,6 +3949,7 @@ displayed (@pxref{Display Feature Testing}).
 * XPM Images::          Special features for XPM format.
 * GIF Images::          Special features for GIF format.
 * TIFF Images::         Special features for TIFF format.
+* PostScript Images::   Special features for PostScript format.
 * Other Image Types::   Various other formats are supported.
 * Defining Images::     Convenient ways to define an image for later use.
 * Showing Images::      Convenient ways to display an image once it is defined.
@@ -4347,6 +4348,33 @@ number @var{index} from the file.  If the TIFF file doesn't contain an
 image with index @var{index}, the image displays as a hollow box.
 @end table
 
+@node PostScript Images
+@subsection PostScript Images
+@cindex postscript images
+
+  To use PostScript for an image, specify image type @code{postscript}.
+This works only if you have Ghostscript installed.  You must always use
+these three properties:
+
+@table @code
+@item :pt-width @var{width}
+The value, @var{width}, specifies the width of the image measured in
+points (1/72 inch).  @var{width} must be an integer.
+
+@item :pt-height @var{height}
+The value, @var{height}, specifies the height of the image in points
+(1/72 inch).  @var{height} must be an integer.
+
+@item :bounding-box @var{box}
+The value, @var{box}, must be a list or vector of four integers, which
+specifying the bounding box of the PostScript image, analogous to the
+@samp{BoundingBox} comment found in PostScript files.
+
+@example
+%%BoundingBox: 22 171 567 738
+@end example
+@end table
+
 @node Other Image Types
 @subsection Other Image Types
 @cindex PBM
index aa1f7ee..d98b1f4 100644 (file)
@@ -1323,6 +1323,7 @@ Images
 * XBM Images::              Special features for XBM format.
 * XPM Images::              Special features for XPM format.
 * GIF Images::              Special features for GIF format.
+* PostScript Images::       Special features for PostScript format.
 * Other Image Types::       Various other formats are supported.
 * Defining Images::         Convenient ways to define an image for later use.
 * Showing Images::          Convenient ways to display an image once
index f109ead..5c4595f 100644 (file)
@@ -649,6 +649,7 @@ ELCFILES = \
        $(lisp)/gnus/utf7.elc \
        $(lisp)/gnus/webmail.elc \
        $(lisp)/gnus/yenc.elc \
+       $(lisp)/gs.elc \
        $(lisp)/help-at-pt.elc \
        $(lisp)/help-fns.elc \
        $(lisp)/help-macro.elc \