#1 2017-01-30 08:05:18

ozizka
Member
Registered: 2017-01-30

Issue with czech characters during PDF generation

Hello all,

I have a question about Czech characters in PDF.
In HTML everycharacter is OK.
html.png
But if PDF some characters (ř,ě,ů..) are missing.
pdf.png

I was checking this topic, but it is related only to a commercial version (change font in /fileserver/etc/exportfilemd/pdfexport.cf and /fileserver/etc/dynamiclists/pdfexport.cf).
https://forum.reportserver.net/viewtopic.php?id=584

Does exists any way how to manage it in community version?

ENV info:
Centos 7.2 64-bit
Apache Tomcat 9.0
ReportServer 3.0.2
Database DB2 v10.5

Strings in the database are stored as you can see in HTML report.

Many thanks to all.

Regards
Ondrej

Offline

#2 2017-01-31 13:21:46

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Issue with czech characters during PDF generation

Hi Ondrej,

unfortunately, this is not possible in the community edition.
As stated here: https://reportserver.net/en/guides/admi … amic-List/, 6.2.5. Customizing Dynamic Lists via Report Properties, the configuration file pdfexport.cf is only read if the enterprise edition is installed.
Font configuration for PDF export is only available in the enterprise edition.

Cheers,
Eduardo

Offline

#3 2017-01-31 14:06:41

ozizka
Member
Registered: 2017-01-30

Re: Issue with czech characters during PDF generation

Hello edulid,

Thank you for your answer. So in the Community edition the described behavior is "as expected" and in the community edition it is not possible to generate PDF with Latin 2 (or ISO-8859-2) character set. Only Latin 1 text is produced in PDFs. Am I right?

Thank you
Ondrej

Offline

#4 2017-01-31 15:27:24

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Issue with czech characters during PDF generation

Hi Ondrej,

We will check why ISO-8859-2 is not being correctly shown in the PDF output. Dejavu sans should support it, so maybe there is a bug here.

Cheers,
Eduardo

Offline

#5 2017-02-01 05:59:16

ozizka
Member
Registered: 2017-01-30

Re: Issue with czech characters during PDF generation

Hello Eduardo,

Thank you for your message. I hope this is only a small bug if is a bug and will be solved soon. If you find a workaround for this, please paste a post to this topic.
If you need more info (e.g. examples, configuration... and testing) I can do it for you.

Regards
Ondrej

Offline

#6 2017-02-01 08:22:02

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Issue with czech characters during PDF generation

Hi Ondrej,

we have corrected this issue and it will be fixed in the next reportserver version. Thanks for reporting the bug.

Cheers,
Eduardo

Offline

#7 2017-02-02 05:41:04

ozizka
Member
Registered: 2017-01-30

Re: Issue with czech characters during PDF generation

Hello Eduardo,

Thank you for an immediate fixing of that bug. Do you know when the new version will be released? Will it be this year?

Regards
Ondrej

Offline

#8 2017-02-02 10:31:26

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Issue with czech characters during PDF generation

Hi Ondrej,

we plan to have a release within the first half of 2017.

Cheers,
Eduardo

Offline

#9 2017-02-03 06:53:30

ozizka
Member
Registered: 2017-01-30

Re: Issue with czech characters during PDF generation

Hello Eduardo,

Perfect! In a mean time, I can help you with the Czech localisation (which is not good). Can you please send me to my registered email English and current Czech localisation? I will try to do my best to translate it.

Regards
Ondrej

Offline

#10 2017-02-03 07:58:21

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Issue with czech characters during PDF generation

Hi Ondrej,

thank you very much, that would be perfect!
You can find information on localisation here: https://reportserver.net/en/tutorials/tutorial-i18n/
In particular, you need the translation-template.xlsx file, which is available on the sourceforge reportserver download: https://sourceforge.net/projects/dw-rs/ … p/download (under "resources").

You can send us the modified file when your localisation is complete (please attach a short statement that you provide it under creative commons zero license, as stated on the localisation link)

Cheers,
Eduardo

Offline

Board footer

Powered by FluxBB