changeset 101069:00eb4d86697f

Undo last change.
author Chong Yidong <cyd@stupidchicken.com>
date Sat, 10 Jan 2009 13:20:18 +0000
parents 092077352f1a
children 3f35938e8ea3
files doc/lispref/display.texi
diffstat 1 files changed, 28 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/doc/lispref/display.texi	Sat Jan 10 13:19:13 2009 +0000
+++ b/doc/lispref/display.texi	Sat Jan 10 13:20:18 2009 +0000
@@ -3949,6 +3949,7 @@
 * 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 @@
 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