embedded fonts error

zulzul
edited 9:17AM in FastReport 4.0
Hi,

can anyone help..
I'm trying to export report to a secure pdf and dont want to embedded the font.
here is the code I used :
frxPDFExport1.FileName := 'test.pdf';
frxPDFExport1.ProtectionFlags := [ePrint];
frxPDFExport1.OwnerPassword := 'test';
frxPDFExport1.EmbeddedFonts := false;
frxPDFExport1.ShowDialog := false;
frxReport1.PrepareReport(true);
frxReport1.Export(frxPDFExport1);

when I execute the code the output file is secure pdf but the font still embedded to the file so the file size is very big. When I set the OwnerPassword to empty the file is not secure and the document didnt embedded the fonts.

Is this a bug or I have mist something...
please help

regards,

Zulfikar

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 9:17AM
    as always please post what version,level and buildno of fr you are using.
  • zulzul
    edited 9:17AM
    I'm using Fast report version 4.8.18 (Demo).
  • gordkgordk St.Catherines On. Canada.
    edited 9:17AM
    since you are using a demo version you can only wait until a new demo is available.
  • zulzul
    edited October 2009
    gordk wrote: »
    since you are using a demo version you can only wait until a new demo is available.

    we are planing to buy the FR, but right now our user want to see that FR can produce the report they want.
    So if we buy the report, this bug will not happen in the release version right?
  • gordkgordk St.Catherines On. Canada.
    edited 9:17AM
    go to your download page and take out a support ticket.
  • gordkgordk St.Catherines On. Canada.
    edited 9:17AM
    apparently it is a requirement of adobe the font is embedded when encryption is used.
  • zulzul
    edited 9:17AM
    gordk wrote: »
    apparently it is a requirement of adobe the font is embedded when encryption is used.

    Is it?
    because I have some pdf file that secured but no font was embedded. Right now my work arround solution is I add security for pdf generated by FR using another 3rd party program. But I hope this is only temporary solution until FR team can solve this problem....

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.