emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 3c65523: Obsolete gs.el


From: Glenn Morris
Subject: [Emacs-diffs] master 3c65523: Obsolete gs.el
Date: Mon, 12 Dec 2016 22:17:49 +0000 (UTC)

branch: master
commit 3c655230d2517d091d6af9835031cbc5d665dccb
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>

    Obsolete gs.el
    
    * lisp/gs.el: Move to lisp/obsolete.  (Bug#1524)
    * doc/lispref/display.texi (Image Formats): Remove postscript.
    (PostScript Images): Remove section.
    * doc/lispref/elisp.texi: Update menu.
---
 doc/lispref/display.texi  |   32 ++------------------------------
 doc/lispref/elisp.texi    |    1 -
 lisp/{ => obsolete}/gs.el |    5 ++++-
 3 files changed, 6 insertions(+), 32 deletions(-)

diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index 851baa3..945a701 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -4779,7 +4779,6 @@ displayed (@pxref{Display Feature Testing}).
 * Image Descriptors::   How to specify an image for use in @code{:display}.
 * XBM Images::          Special features for XBM format.
 * XPM Images::          Special features for XPM format.
-* PostScript Images::   Special features for PostScript format.
 * ImageMagick Images::  Special features available through ImageMagick.
 * SVG Images::          Creating and manipulating SVG images.
 * Other Image Types::   Various other formats are supported.
@@ -4804,12 +4803,12 @@ to modify the set of known names for these dynamic 
libraries.
   Supported image formats (and the required support libraries) include
 PBM and XBM (which do not depend on support libraries and are always
 available), XPM (@code{libXpm}), GIF (@code{libgif} or
address@hidden), PostScript (@code{gs}), JPEG (@code{libjpeg}), TIFF
address@hidden), JPEG (@code{libjpeg}), TIFF
 (@code{libtiff}), PNG (@code{libpng}), and SVG (@code{librsvg}).
 
   Each of these image formats is associated with an @dfn{image type
 symbol}.  The symbols for the above formats are, respectively,
address@hidden, @code{xbm}, @code{xpm}, @code{gif}, @code{postscript},
address@hidden, @code{xbm}, @code{xpm}, @code{gif},
 @code{jpeg}, @code{tiff}, @code{png}, and @code{svg}.
 
   Furthermore, if you build Emacs with ImageMagick
@@ -5122,33 +5121,6 @@ the name of a color as it appears in the image file, and 
@var{color}
 specifies the actual color to use for displaying that name.
 @end table
 
address@hidden PostScript Images
address@hidden PostScript Images
address@hidden 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:
-
address@hidden @code
address@hidden :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.
-
address@hidden :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.
-
address@hidden :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
address@hidden comment found in PostScript files.
-
address@hidden
-%%BoundingBox: 22 171 567 738
address@hidden example
address@hidden table
-
 @node ImageMagick Images
 @subsection ImageMagick Images
 @cindex ImageMagick images
diff --git a/doc/lispref/elisp.texi b/doc/lispref/elisp.texi
index 4a53a0c..494e8fc 100644
--- a/doc/lispref/elisp.texi
+++ b/doc/lispref/elisp.texi
@@ -1472,7 +1472,6 @@ Images
 * Image Descriptors::       How to specify an image for use in @code{:display}.
 * XBM Images::              Special features for XBM format.
 * XPM Images::              Special features for XPM format.
-* PostScript Images::       Special features for PostScript format.
 * ImageMagick Images::      Special features available through ImageMagick.
 * Other Image Types::       Various other formats are supported.
 * Defining Images::         Convenient ways to define an image for later use.
diff --git a/lisp/gs.el b/lisp/obsolete/gs.el
similarity index 97%
rename from lisp/gs.el
rename to lisp/obsolete/gs.el
index 7ab3d8b..c4cdceb 100644
--- a/lisp/gs.el
+++ b/lisp/obsolete/gs.el
@@ -4,6 +4,7 @@
 
 ;; Maintainer: address@hidden
 ;; Keywords: internal
+;; Obsolete-since: 26.1
 
 ;; This file is part of GNU Emacs.
 
@@ -22,7 +23,9 @@
 
 ;;; Commentary:
 
-;; This code is experimental.  Don't use it.
+;; This code is experimental.  Don't use it.  Try imagemagick images instead.
+;; When this file is removed from Emacs, associated code in image.c
+;; can be removed too (HAVE_GHOSTSCRIPT).
 
 ;;; Code:
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]