Problems with the SCAN-B report when exporting with personal information
|Reported by:||Nicklas Nordborg||Owned by:||Nicklas Nordborg|
The implementation of #1285 had a side-effect on the plots. The outline on the distributions is not solid but seems to have the same transparance as the distributions. Also, the the vertical markers in the gene expression plots is not transparent.
I think this is a bug in the pdfSweep tool that we are using to remove data. Investigating the source code of that package it seems like it is not actually removing things, but instead making a copy by re-painting everything that is not in the regions marked for removal. The re-painting seems to forget to switch on/off the transparency setting in some cases.
Considering that we are only interesting in removing a few text blocks, the re-painting of everything is overkill. I think it should be possible to delve deep into the internal structure of the PDF, locate the text blocks and remove them from the existing streams.