Possible bug report

edited June 2009 in FastReport .NET
This may be a bug or perhaps I just am missing something. I have a report designed to print nametags. The page has a background color. There is a graphic on the page containing a logo. The graphic is in a PNG file and has a transparent background. It renders OK on the webform. However, when printing via adobe, the graphic prints with a solid white background rather than the page background color which should bleed through.

A proposed solution was to set that portion of the page containing the logo to white by placing a rectangle behind the logo and setting its color to white. This white rectangle overlaps another rectangle which has a transparent background. The result is that BOTH rectangles end up with a white background.

The 2 files are attached.

Comments

  • edited 1:28AM
    Hello,

    Unfortunately our PDF export does not support PNG images, only JPG (which has no transparency support). We plan to improve it soon.
  • edited 1:28AM
    AlexTZ wrote: »
    Hello,

    Unfortunately our PDF export does not support PNG images, only JPG (which has no transparency support). We plan to improve it soon.

    Fair enough. What about the overlapping rectangles of different colors? The bottom rectangle absorbs the color of the top one.
  • edited 1:28AM
    If you export in html, rtf, xls - try to avoid overlapped report elements. These expors are table-style, so they cannot handle overlapping and we should do that using a special algorithm. It may not work correctly under some circumstances.
  • edited 1:28AM
    AlexTZ wrote: »
    If you export in html, rtf, xls - try to avoid overlapped report elements. These expors are table-style, so they cannot handle overlapping and we should do that using a special algorithm. It may not work correctly under some circumstances.
    Well, the intended export was Adobe PDF but we never got that far. It failed on the report web page.
    Thanks
  • edited June 2009
    In fact, the WebReport component uses HTML export to view the prepared report.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.