Hi Lina,
Many tanks for your answer! I have tried the workaround they mention on
the bug report and didn't work for me...
Meanwhile, after seeing the example attached to the bug report, I
realized the person who created our design was using a different
"character" for the euro symbol than the one used on the example (that
somehow got translated into the euro symbol at design time, and not on
the server... weird!) I just replaced it with the "right" one and now
the report is displaying correctly on the server and on design time...
A few hour lost for nothing, or not... because now I know a bit better
the API inner workings;-)
Thanks again,
Ernesto
Lina Kemmel wrote:
Hi Ernesto,
The following bug report:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=220167
- seems to contain a workaround to the euro problem for BIRT 2.2.1.
And it looks like the problem is fixed in v2.3 M5.
Regards,
Lina
Ernesto Reinaldo
Barreiro
<ereinaldob@fcc.e To
s> birt-dev@xxxxxxxxxxx
Sent by: cc
birt-dev-bounces@
eclipse.org Subject
[birt-dev] problem with Euro symbol
21/04/2008 14:52
Please respond to
For developers on
the BIRT project
<birt-dev@eclipse
.org>
Dear All,
I'm having problems to get displayed the euro symbol (€) on PDF reports
generated on the server side, with reports designs stored in a database
table, while the same symbol gets displayed nicely on the design session
... I have checked the contents of the database and they seems to be
exactly the "same" as the off-line files: if I dump the contents of such
a (database inhabiting) design into a file and open it with the designer
the € symbol get displayed fine when rendering it to PDF. Moreover if I
serve the original files from the WEB server the symbol get also
"replaced" with something else... I'm testing this on windows XP and
using birt 2.2.1... I'm launching the report with a code similar to:
IRunAndRenderTask renderTask = engine.createRunAndRenderTask(design);
RenderOption opcRend;
if ("pdf".equals(fmt)) {
PDFRenderOption opc = new PDFRenderOption();
opc.setOutputFormat("pdf");
opcRend = opc;
}
....
renderTask.setRenderOption(opcRend);
renderTask.run();
I have tried several options like:
opc.setOption(PDFRenderOption.PDF_FONT_SUBSTITUTION, true/false);
opc.setFontDirectory("C:\\windows\\fonts");
opc.setEmbededFont(true/false);
but without any success...:-(. Am I missing some necessary configuration
step? I have been, also, debugging the designer hopping to find any
differences in the way I create a IRunAndRenderTask and the way the
designer do but without any success... I have also found this thread
http://dev.eclipse.org/newslists/news.eclipse.birt/msg26200.html but I
don't know if it is the same issue I'm finding here...
Any hints, suggestions, workarounds are greatly appreciated...
Best,
Ernesto.
*************************************************************
Este correo ha sido procesado por el antivirus del Grupo FCC.
*************************************************************
_______________________________________________
birt-dev mailing list
birt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/birt-dev
*************************************************************
Este correo ha sido procesado por el antivirus del Grupo FCC.
*************************************************************
_______________________________________________
birt-dev mailing list
birt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/birt-dev
*************************************************************
Este correo ha sido procesado por el antivirus del Grupo FCC.
*************************************************************
|
|