* bug#22442: 25.0.50; --with-cairo does not display PNG on GNU/Linux
@ 2016-01-23 8:27 Paul Eggert
2016-01-23 9:24 ` Eli Zaretskii
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: Paul Eggert @ 2016-01-23 8:27 UTC (permalink / raw)
To: 22442
To reproduce the problem, configure Emacs --with-cairo, and then run these shell
commands:
wget https://upload.wikimedia.org/wikipedia/commons/f/f5/All_palaeotemps.png
emacs -Q All_palaeotemps.png
Emacs shows a blank (or sometimes garbled) screen instead of the image.
I think the problem is that lookup_rgb_color is returning garbage.
Here are more details about the configuration, built on Fedora 23 x86-64:
In GNU Emacs 25.0.50.55 (x86_64-unknown-linux-gnu, GTK+ Version 3.18.6, cairo
version 1.14.2)
of 2016-01-22 built on penguin.cs.ucla.edu
Repository revision: 27a0919cde7a6dce93aeba63b5ce7d0834f48531
Configured using:
'configure --enable-gcc-warnings --with-cairo'
Configured features:
XPM JPEG TIFF GIF PNG RSVG CAIRO IMAGEMAGICK SOUND GPM DBUS GCONF
GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF
XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11
Important settings:
value of $LC_ALL: en_US.utf8
value of $LC_COLLATE: en_US.UTF-8
value of $LC_CTYPE: en_US.UTF-8
value of $LC_MESSAGES: en_US.UTF-8
value of $LANG: C
locale-coding-system: utf-8-unix
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#22442: 25.0.50; --with-cairo does not display PNG on GNU/Linux
2016-01-23 8:27 bug#22442: 25.0.50; --with-cairo does not display PNG on GNU/Linux Paul Eggert
@ 2016-01-23 9:24 ` Eli Zaretskii
2016-01-23 9:44 ` Paul Eggert
2016-01-24 0:31 ` Paul Eggert
2018-12-11 2:29 ` Dmitry Gutov
2 siblings, 1 reply; 9+ messages in thread
From: Eli Zaretskii @ 2016-01-23 9:24 UTC (permalink / raw)
To: Paul Eggert; +Cc: 22442
> From: Paul Eggert <eggert@cs.ucla.edu>
> Date: Sat, 23 Jan 2016 00:27:08 -0800
>
> To reproduce the problem, configure Emacs --with-cairo, and then run these shell
> commands:
>
> wget https://upload.wikimedia.org/wikipedia/commons/f/f5/All_palaeotemps.png
> emacs -Q All_palaeotemps.png
>
> Emacs shows a blank (or sometimes garbled) screen instead of the image.
Due to this and other issues with Cairo, and the lack of an active
developer who could work on fixing them, should we perhaps say in NEWS
that --with-cairo is still experimental?
Thanks.
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#22442: 25.0.50; --with-cairo does not display PNG on GNU/Linux
2016-01-23 8:27 bug#22442: 25.0.50; --with-cairo does not display PNG on GNU/Linux Paul Eggert
2016-01-23 9:24 ` Eli Zaretskii
@ 2016-01-24 0:31 ` Paul Eggert
2016-01-24 6:38 ` Mark Oteiza
2018-12-11 2:29 ` Dmitry Gutov
2 siblings, 1 reply; 9+ messages in thread
From: Paul Eggert @ 2016-01-24 0:31 UTC (permalink / raw)
To: 22442
The bug appears to have been "fixed" by this commit:
http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-25&id=190d365f90d741b09e817d9878afd256505e1944
I don't know how to explain this. Possibly Emacs tries to convert a pixel to
RGB, this signals an error, and then Emacs falls back on something else that
works. Hard to believe that this is the desired behavior, so I'll leave
Bug#22442 open.
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#22442: 25.0.50; --with-cairo does not display PNG on GNU/Linux
2016-01-23 8:27 bug#22442: 25.0.50; --with-cairo does not display PNG on GNU/Linux Paul Eggert
2016-01-23 9:24 ` Eli Zaretskii
2016-01-24 0:31 ` Paul Eggert
@ 2018-12-11 2:29 ` Dmitry Gutov
2 siblings, 0 replies; 9+ messages in thread
From: Dmitry Gutov @ 2018-12-11 2:29 UTC (permalink / raw)
To: Paul Eggert, 22442
On 23.01.2016 10:27, Paul Eggert wrote:
> wget
> https://upload.wikimedia.org/wikipedia/commons/f/f5/All_palaeotemps.png
> emacs -Q All_palaeotemps.png
Seems to work fine now. Latest emacs-26 and master, with Cairo and
ImageMagick.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2018-12-11 2:29 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1453460084-19646-1-git-send-email-kuleshovmail@gmail.com>
[not found] ` <56A2C41C.7030401@cs.ucla.edu>
[not found] ` <20160123062857.GA1205@localhost>
2016-01-23 9:12 ` bug#22442: 25.0.50; --with-cairo does not display PNG on GNU/Linux Paul Eggert
2016-01-23 9:25 ` Eli Zaretskii
[not found] ` <56A342F8.1080303@cs.ucla.edu>
[not found] ` <20160123120424.GB1446@localhost>
[not found] ` <20160123123705.GC1446@localhost>
[not found] ` <56A41F7F.4040404@cs.ucla.edu>
[not found] ` <20160124073459.GA29099@localhost>
2016-01-24 8:49 ` bug#22442: [PATCH] Fix compilation erorr when --enable-gcc-warnings passed Paul Eggert
2016-01-23 8:27 bug#22442: 25.0.50; --with-cairo does not display PNG on GNU/Linux Paul Eggert
2016-01-23 9:24 ` Eli Zaretskii
2016-01-23 9:44 ` Paul Eggert
2016-01-24 0:31 ` Paul Eggert
2016-01-24 6:38 ` Mark Oteiza
2018-12-11 2:29 ` Dmitry Gutov
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).