Exporting ?¬ symbol in pdf
Hello,
I recently switched to FR 5 and now when I export in PDF all my reports deigned with FR 4 the ??¬ "euro" symbol is shown as ?? char.
I try to embed fonts but I receive an access violation error probably due to the fact I'm exporting report for an Intraweb application and my frxPDFExport is configured as follow :
ExportFilter.PrintOptimized := True;
ExportFilter.ShowDialog := false;
ExportFilter.ShowProgress := false;
ExportFilter.OpenAfterExport := false;
ExportFilter.FileName := AOutputFilename;
ExportFilter.HideWindowUI := True;
ExportFilter.Compressed := True;
ExportFilter.CenterWindow := True;
ExportFilter.UseFileCache := False;
How can I show the ??¬ symbol correctly ?
I finished the application and I can't realease it cause to this problem.
Thank you,
Davide
I recently switched to FR 5 and now when I export in PDF all my reports deigned with FR 4 the ??¬ "euro" symbol is shown as ?? char.
I try to embed fonts but I receive an access violation error probably due to the fact I'm exporting report for an Intraweb application and my frxPDFExport is configured as follow :
ExportFilter.PrintOptimized := True;
ExportFilter.ShowDialog := false;
ExportFilter.ShowProgress := false;
ExportFilter.OpenAfterExport := false;
ExportFilter.FileName := AOutputFilename;
ExportFilter.HideWindowUI := True;
ExportFilter.Compressed := True;
ExportFilter.CenterWindow := True;
ExportFilter.UseFileCache := False;
How can I show the ??¬ symbol correctly ?
I finished the application and I can't realease it cause to this problem.
Thank you,
Davide
Comments
Hello,
after some tests I found the origin of the problem.
Cause my Intraweb application runs as an ISAPI dll the localization settings are the same as the IIS process user account (which in my case is probably us-en).
To avoid depending on the localization settings of the server where my application runs on is it possible to force the localization setting of the report by code ?
Thank you,
Davide
Hello,
I can't find a solution about formatting currency value...
Now I set up correctly the user locale settings but as you can see in the attached files the currency format is wrong.
Any suggestions will be appreciated.
Thank you,
Davide
Attach report template with problem
Sorry, I upload the report I deployed at the moment (without ??¬ symbol).
In the attached report the column <Balance.IncomeValue> has %2.2m format.
Thanks,
Davide
Your access violation is probably caused by a bug with Fast Reports + XE7. If you have the source, I made a fix for it and you can apply and recompile.
Change the source in unit frxCmapTableClass line 193 to the below:
The solution was to get rid of casting a pointer to a dynamic array.
I changed the code as you suggest and I recompiled all packages using the Recompile wizard utility but the "??¬" symbol is displayed like "??" in the exported pdf document.
Is there a way to have the "??¬" symbol in pdf ?
I think it is quite important that a currency symbol is displayed rightly in a report and exporting in pdf is a standard way to share a document.
Thanks,
Davide
I made a report that has only a TfrxMemoView component with a "??¬ test" string and the result was: "?? Test".
Cause in may app there are several reports that refer to financial stats I can't release the application due to this problem.
Any advice to workaround this problem is appreciated.
Thanks,
Davide
Attached there is a zipped file which contains two project:
Project1 is a standard VCL application and export right the report.
Project2 is an Intraweb application where you can see the problem about the "??¬" char.
Let me know if you find a solution or pheraps something I'm doing wrong in setting up the frxReport component.
Thank you,
Davide
I try on a Mac and "??¬" is correctly shown.
After this test I changed the font from Arial to Tahoma and the "??¬" symbol was displayed correctly.
what could it be the problem?
It should not be the arial.ttf file cause after saving a Word document to pdf I can view the "??¬" symbol on the result pdf file.
Thank you,
Davide
Thank you, solved my AV problem.