unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Alp Aker <alp.tekin.aker@gmail.com>
To: emacs-devel@gnu.org
Cc: pmr@pajato.com, jan.h.d@swipnet.se
Subject: Re: Building Emacs with graphics support on a Mac system
Date: Sun, 24 Jul 2011 18:43:39 -0400	[thread overview]
Message-ID: <CACxch4pToGn5s_OBuzM=NTtXvNRtdRThd6Vc3phFmT=_8_1oYg@mail.gmail.com> (raw)

Jan Djärv wrote:

> > Is this generally true, that Emacs built on OS X will provide the same
> > functionality as, say, Linux, but without external libraries being
> > installed?
>
> Mostly yes.  Stuff that doesn't make sense (dbus, gconf) have no
> counterpart.  Imagemagic is missing from the OSX port.

In the specific case of image support, the situation is (to be the best of my
understanding) as follows:

(1) xbm, pbm, xpm, jpeg, png, gif, and tiff images are supported without the
need of additional libraries.

(2) One can compile with librsvg if building on GNUstep, but the configure
script does not currently allow one to do that if building on Cocoa.  (But
the script is easily edited to allow building with librsvg on Cocoa, and svg
images will then display fine.)

(3) You *can* build with Imagemagick and Ghostscript support on OSX, but
again this requires manually editing the configure script.  The result seems
to work, but I haven't done any kind of thorough testing, so adding support
for these options on NextStep might not be as straightforward as it is in the
case of librsvg.

And there are two respects in which image support on NextStep is buggy:

(a) Image types that allow :foreground and :background keywords in their
descriptors will not default correctly to the frame foreground and background
colors when those keywords are omitted.  They default instead to black
(except in the case of xbm images; see the next item).  This most commonly
causes problems when viewing mono pbm files.  (I have patch for this that
I'll post after my copyright assignment is processed.)

(b) xbm images are always drawn with foreground in black and background in
the frame background color.  (I'll be posting a patch for this as well.)



             reply	other threads:[~2011-07-24 22:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-24 22:43 Alp Aker [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-07-24  5:16 Building Emacs with graphics support on a Mac system Paul Michael Reilly
2011-07-24  8:04 ` Jan Djärv
2011-07-24 12:08   ` Paul Michael Reilly
2011-07-24 16:13     ` Jan Djärv

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CACxch4pToGn5s_OBuzM=NTtXvNRtdRThd6Vc3phFmT=_8_1oYg@mail.gmail.com' \
    --to=alp.tekin.aker@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=jan.h.d@swipnet.se \
    --cc=pmr@pajato.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).