#2 Re: PDF Engine » PDF Engine and FastReport » 2013-01-25 13:12:07

Hi again,

I solved it with a workarround, i found out if the type of the frame border is "fsSolid" then (with another Background Color than clNone) the border isn't printed. If i change the typ to "fsSquare" it works.

So this works for me:
      if TfrxView(Obj).Frame.Style = fsSolid then
      begin
        TfrxView(Obj).Frame.Style := fsSquare;
      end;
      TfrxView(Obj).Draw(PdfDocument.VCLCanvas , FDiv, FDiv, 0, FYOffset);


@ab:
Is there anything i can do about the char-spacing? That's the only thing left to use synopse in my applications. It would be very nice, because i need that PDF-A Format for FastReport, no other PDF-Export can do that except yours.

#3 Re: PDF Engine » PDF Engine and FastReport » 2013-01-13 13:59:42

ab wrote:

1) I do not know exact from what it comes from.
Perhaps the pen width, for the borders.

The funny thing is:
The only difference is the background color. The pensize is the same, with none background the border is there, with grey not.

#4 Re: PDF Engine » PDF Engine and FastReport » 2013-01-12 15:05:33

Great works ALMOST perfect.

Two small pieces are missing:
1.) In my Test-Reports are MemoViews with a border. If I have a "normal" memoview: black font, white (none) background the black borders are displayed correct. If i choose a grey background the borders are missing.
2.) I'm using a narrowed font type, so the letters are very close to each other, the letters in the resulting pdf are not as close as in the original. tried "embedding fonts" with no sucess. At the moment i'm using Gnostice eDoc Engine, there was the same problem, they have a property like "use char spacing" what has to be false, is there something similar in your PDF Engine?

#5 PDF Engine » PDF Engine and FastReport » 2013-01-11 15:28:42

OlliWW
Replies: 8

Hi,

I'm trying to export FastReports to PDF Files with Synopse PDF Engine. I've implemented that code:
http://synopse.info/forum/viewtopic.php?id=781

but i does not work completely. It exports some MemoViews from FastReport, and some not.

I've read a lot in this forum and found that topic:
http://synopse.info/forum/viewtopic.php?id=609

That is about invalid metafile-parts. May that is my problem?

Can you give me a little advice where to start searching for a solution?

Board footer

Powered by FluxBB