Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-7082

Transparency does not work for .tex output

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 6.04.00, 5.34/25, 6.02/08
    • 5.34/25
    • Graphics
    • None
    • Debian 8

    Description

      Transparent pads are not working correctly when saving a canvas as .tex. Instead, a black background is created. I found these three lines in the .tex output responsible for this black background:

      \definecolor

      Unknown macro: {c}
      Unknown macro: {rgb}
      Unknown macro: {1,1,1}

      ;
      \draw [pattern=, pattern color=c] (0,0) rectangle (20,13.5632);
      \draw [pattern=, pattern color=c] (0,0) rectangle (20,13.5632);

      Removing them solves the problem. Is it possible to avoid writing these lines when calling the SaveAs function, if it detects that it is a transparent pad?

      See further details in https://root.cern.ch/phpBB3/viewtopic.php?f=3&t=1875&start=15#p82127
      Thanks.

      Attachments

        Activity

          People

            couet Olivier Couet
            d3dcf64440a7297b1a58 Fernando Hueso Gonzalez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: