From: Chong Yidong Date: Sat, 10 Jan 2009 13:20:18 +0000 (+0000) Subject: Undo last change. X-Git-Tag: emacs-pretest-23.0.90~558 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2833b3fffd6e3cef1cb472ef11eb611772521caa;p=emacs.git Undo last change. --- 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 diff --git a/lisp/Makefile.in b/lisp/Makefile.in index f109eada9cd..5c4595ffca2 100644 --- a/lisp/Makefile.in +++ b/lisp/Makefile.in @@ -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 \