[MacPorts] #37103: ImageMagick 6.8.0 does not correctly display SVG files on PPC (here Leopard 10.5.8)
#37103: ImageMagick 6.8.0 does not correctly display SVG files on PPC (here Leopard 10.5.8) -----------------------------+-------------------------------- Reporter: Peter_Dyballa@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: off-colour | Port: ImageMagick -----------------------------+-------------------------------- Having a problem with the display of SVG files in GNU Emacs 24.3.50 I built this version of GNU Emacs with Fink's ImageMagick and MacPorts' ImageMagick. On intel Snow Leopard both packages (display utility) and GNU Emacs work correctly, so it's likely that the PPC hardware platform with its number format causes the false colours to be displayed. I am attaching a screen-shot with two windows of ImageMagick's display utility on Leopard, one showing the PNG version (with transparency, obviously) and the other the SVG version. Both files can be found in the sources in emacs/etc/images, but I'll try to attach them as well. A final test would be to not use ImageMagick but all the many graphics libraries – the MacPorts GNU Emacs 24.2 does not offer a variant built with librsvg2… -- Ticket URL: <https://trac.macports.org/ticket/37103> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37103: ImageMagick 6.8.0 does not correctly display SVG files on PPC (here Leopard 10.5.8) ------------------------------+-------------------------------- Reporter: Peter_Dyballa@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: off-colour Port: ImageMagick | ------------------------------+-------------------------------- Comment (by Peter_Dyballa@…): I managed to build GNU Emacs 24.3.50 without ImageMagick support. With librsvg2 it displays splash.svg correctly. -- Ticket URL: <https://trac.macports.org/ticket/37103#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37103: ImageMagick 6.8.0 does not correctly display SVG files on PPC (here Leopard 10.5.8) ------------------------------+-------------------------- Reporter: Peter_Dyballa@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: off-colour Port: ImageMagick | ------------------------------+-------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => ryandesign@… * cc: ryandesign@… (removed) -- Ticket URL: <https://trac.macports.org/ticket/37103#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37103: ImageMagick 6.8.0 does not correctly display SVG files on PPC (here Leopard 10.5.8) ------------------------------+-------------------------- Reporter: Peter_Dyballa@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: off-colour Port: ImageMagick | ------------------------------+-------------------------- Comment (by Peter_Dyballa@…): On PPC Tiger, Mac OS X 10.4.11, I see a similar effect: splash.svg in wrong colours. -- Ticket URL: <https://trac.macports.org/ticket/37103#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37103: ImageMagick 6.8.0 does not correctly display SVG files on PPC (here Leopard 10.5.8) ------------------------------+-------------------------- Reporter: Peter_Dyballa@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: off-colour Port: ImageMagick | ------------------------------+-------------------------- Comment (by Peter_Dyballa@…): Since versions 6.6.x at least ImageMagick has these problems. There are two: when it uses librsvg-2 it computes the wrong size of the SVG image, first without librsvg-2: {{{ pete 442 /\ /opt/local/bin/identify --version Version: ImageMagick 6.8.1-7 2013-01-02 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2013 ImageMagick Studio LLC Features: HDRI OpenCL OpenMP Modules Delegates: bzlib djvu fftw fontconfig freetype gslib jbig jng jp2 jpeg lcms lzma openexr pango png ps tiff x xml zlib pete 443 /\ /opt/local/bin/identify etc/images/splash.svg etc/images/splash.svg SVG 276x190 276x190+0+0 16-bit sRGB 23.8KB 0.000u 0:00.009 pete 444 /\ /opt/local/bin/identify etc/images/splash.png etc/images/splash.png PNG 275x188 275x188+0+0 8-bit sRGB 37.5KB 0.000u 0:00.000 }}} Now adding librsvg-2: {{{ pete 446 /\ /opt/local/bin/identify --version Version: ImageMagick 6.8.1-7 2013-01-02 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2013 ImageMagick Studio LLC Features: HDRI OpenCL OpenMP Modules Delegates: bzlib djvu fftw fontconfig freetype gslib jbig jng jp2 jpeg lcms lzma openexr pango png ps rsvg tiff x xml zlib pete 447 /\ /opt/local/bin/identify etc/images/splash.svg etc/images/splash.svg SVG 345x237 345x237+0+0 16-bit sRGB 23.8KB 0.000u 0:00.050 pete 448 /\ /opt/local/bin/identify etc/images/splash.png etc/images/splash.png PNG 275x188 275x188+0+0 8-bit sRGB 37.5KB 0.000u 0:00.000 }}} The same can be observed (at least) on G4/PPC 7447A hardware. The second problem seems to be related (at least) toG4/PPC 7447A hardware: {{{ - with librsvg-2 display displays SVG in false colours - without librsvg-2 SVG images are displayed black&white }}} I'm trying to see whether my bug reports lead to improvements, so I am building up-to-date ImageMagick installations. -- Ticket URL: <https://trac.macports.org/ticket/37103#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37103: ImageMagick 6.8.0 does not correctly display SVG files on PPC (here Leopard 10.5.8) ------------------------------+-------------------------- Reporter: Peter_Dyballa@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: off-colour Port: ImageMagick | ------------------------------+-------------------------- Comment (by Peter_Dyballa@…): I have emacs @24.2_2+gtk+x11 installed. It does not use ImageMagick to display graphics files but the "discrete" libraries. Using librsvg-2 GNU Emacs displays splash.svg in correct colours and at correct size – on both hardware! So it's not a fault of librsvg-2. -- Ticket URL: <https://trac.macports.org/ticket/37103#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts