diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2009-01-10 13:20:18 +0000 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2009-01-10 13:20:18 +0000 |
commit | 2833b3fffd6e3cef1cb472ef11eb611772521caa (patch) | |
tree | 8dfbdc1ea1b26bee093fa0bba21572e756a397c9 /doc | |
parent | 9cf04f512b13d5b426b6dbd2b21c0a18df280079 (diff) | |
download | emacs-2833b3fffd6e3cef1cb472ef11eb611772521caa.tar.gz |
Undo last change.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lispref/display.texi | 28 | ||||
-rw-r--r-- | doc/lispref/elisp.texi | 1 |
2 files changed, 29 insertions, 0 deletions
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index 2a076c3f22c..ca7785f1239 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi @@ -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 diff --git a/doc/lispref/elisp.texi b/doc/lispref/elisp.texi index aa1f7eeb1e1..d98b1f488e4 100644 --- a/doc/lispref/elisp.texi +++ b/doc/lispref/elisp.texi @@ -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 |