octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #52975] regression: print to svg contains two


From: Rik
Subject: [Octave-bug-tracker] [bug #52975] regression: print to svg contains two backplanes, one black and one white
Date: Thu, 25 Jan 2018 14:18:29 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

URL:
  <http://savannah.gnu.org/bugs/?52975>

                 Summary: regression: print to svg contains two backplanes,
one black and one white
                 Project: GNU Octave
            Submitted by: rik5
            Submitted on: Thu 25 Jan 2018 11:18:27 AM PST
                Category: Plotting with OpenGL
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Regression
                  Status: Confirmed
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Here is a simple script that illustrates the problem.


close all
graphics_toolkit qt
plot (1:10, 'o-')
print hardcopy_on.svg
set (gcf, "inverthardcopy", "off")
print hardcopy_off.svg


I thought the figure property "inverthardcopy" might have something to do with
it, but it doesn't.

If you open the resulting svg file in a viewer such as Inkscape you will find
that there are two planes which cover the entire area of the figure.  One of
these is white and one of these is black.

Besides the unnecessary duplication, the issue is that exporting to rasterized
anti-aliased formats can result in a small grey line around the border of the
figure as the anti-alias mechanism combines the two planes.

This is a regression from 4.0.3 when there was only one plane.  I haven't
tested with 4.2.1 yet.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 25 Jan 2018 11:18:27 AM PST  Name: tst_backplane.m  Size: 128B   By:
rik5

<http://savannah.gnu.org/bugs/download.php?file_id=43078>
-------------------------------------------------------
Date: Thu 25 Jan 2018 11:18:27 AM PST  Name: hardcopy_on.svg  Size: 10KiB  
By: rik5

<http://savannah.gnu.org/bugs/download.php?file_id=43079>
-------------------------------------------------------
Date: Thu 25 Jan 2018 11:18:27 AM PST  Name: hardcopy_off.svg  Size: 10KiB  
By: rik5

<http://savannah.gnu.org/bugs/download.php?file_id=43080>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52975>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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