unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Ulf Jasper <ulf.jasper@web.de>
To: Vasilij Schneidermann <hurrus.durrus@gmail.com>
Cc: 19373@debbugs.gnu.org
Subject: bug#19373: 24.4; SVG images rendered via librsvg fail at displaying non-inline bitmap images
Date: Tue, 16 Dec 2014 19:28:57 +0100	[thread overview]
Message-ID: <87lhm7bg9i.fsf@web.de> (raw)
In-Reply-To: <87iohfcphh.fsf@odonien.i-did-not-set--mail-host-address--so-tickle-me> (Vasilij Schneidermann's message of "Sat, 13 Dec 2014 20:35:22 +0100")

Vasilij Schneidermann <hurrus.durrus@gmail.com> writes:

> I've recently tested Emacs' support for displaying SVG images that
> contain bitmap images.  The test files used were
> <http://dev.w3.org/SVG/profiles/1.1F2/test/svg/struct-image-04-t.svg>
> and
> <http://dev.w3.org/SVG/profiles/1.1F2/test/svg/struct-image-02-b.svg>.
> The imagemagick backend displays both pictures flawlessly, but renders
> transparency as white background which makes it unsuitable for my
> purposes.  The librsvg backend appears to render transparency correctly,
> however in the first example with inline bitmaps the first image isn't
> displayed at all (which can be easily fixed by replacing "jpg" with
> "jpeg" in its sources); in the second example the non-inline bitmap
> isn't displayed either.  I've tried tracking down the reason for this
> behavior and the only pointer I could find was that librsvg is using
> the cairo library to embed the bitmap image.  Is there any obvious fix I
> can apply to remedy this issue?

rsvg-view (called rsvg-view-3 on debian), which is librsvg's standalone
svg-viewer, shows the same behaviour:

 - the referenced image in struct-image-02-b.svg is not shown
 - the embedded=inlined jpg image in struct-image-04-t.svg is not shown

So this looks like an librsvg issue and probably is not related to
Emacs.  Maybe you could ask on the librsvg mailing list about this?

Best,
Ulf





  reply	other threads:[~2014-12-16 18:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-13 19:35 bug#19373: 24.4; SVG images rendered via librsvg fail at displaying non-inline bitmap images Vasilij Schneidermann
2014-12-16 18:28 ` Ulf Jasper [this message]
     [not found]   ` <20141216190547.GA1859@odonien.labor.koeln.ccc.de>
2014-12-16 19:44     ` Ulf Jasper
2014-12-17 20:00       ` Ulf Jasper
2014-12-18  3:50         ` YAMAMOTO Mitsuharu
2014-12-18 13:40           ` Ulf Jasper
     [not found]         ` <20141218092705.GA1133@odonien.bevuta.com>
2014-12-18 13:44           ` Ulf Jasper

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=87lhm7bg9i.fsf@web.de \
    --to=ulf.jasper@web.de \
    --cc=19373@debbugs.gnu.org \
    --cc=hurrus.durrus@gmail.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).