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 4:37AM
    Hello,

    Unfortunately our PDF export does not support PNG images, only JPG (which has no transparency support). We plan to improve it soon.
  • edited 4:37AM
    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 4:37AM
    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 4:37AM
    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