#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

#11 2024-12-03 03:59:24

ttminh
Member
Registered: 2024-11-25

Re: Issue with czech characters during PDF generation

Hello eduardo,

Did you fix the bug above in new version?
I have a bug about Vietnamese characters in PDF, too.
In HTML everycharacter is OK.
Screenshot-2024-12-03-105709.png
But if PDF some characters (ấ,ậ,ữ..) are missing.
Screenshot-2024-12-03-105840.png

ENV info:
Apache Tomcat 9.0
ReportServer version: RS4.7.2-6108 (2024-09-18-12-15-33) community version
Database PostgreSql

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

Thanks.

Regards
ttminh

Offline

#12 2024-12-04 10:17:39

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Issue with czech characters during PDF generation

Hi ttminh,

if i add this query:

select 'a, ă, â, b, c, d, đ, e, ê, g, h, i, k, l, m, n, o, ô, ơ, p, q, r, s, t, u, ư, v, x, y' as chars

and I export this to PDF, I see correct characters:

Bildschirmfoto-2024-12-04-um-11-16-52.png

What exactly is not working? Can you pls create a minimal testcase as my example above demonstrating the problem?

Regards,
Eduardo

Offline

#13 2024-12-06 01:15:54

ttminh
Member
Registered: 2024-11-25

Re: Issue with czech characters during PDF generation

Hi eduardo,

With normal Vietnamese is working, but with Vietnamese with diacritics (like ấ, ậ, ữ, ã,...) are missing

Offline

#14 2024-12-06 08:44:15

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Issue with czech characters during PDF generation

Hi ttminh,

it is working in my case:

select 'a, ă, â, b, c, d, đ, e, ê, g, h, i, k, l, m, n, o, ô, ơ, p, q, r, s, t, u, ư, v, x, y' as chars,
'ấ, ậ, ữ, ã' as chars2

Bildschirmfoto-2024-12-06-um-09-41-19.png

Which ReportServer version exactly are you using? Can you pls also try the default pdf export file dynamiclists/pdfexport.cf found here?
https://github.com/infofabrik/reportser … fexport.cf

also pls post a screenshot of your general info console: admnistration -> system consoles -> general info

Regards,
Eduardo

Offline

#15 2024-12-06 09:45:57

ttminh
Member
Registered: 2024-11-25

Re: Issue with czech characters during PDF generation

Hi eduardo,

This is my version info
ENV info:
Apache Tomcat 9.0
ReportServer version: RS4.7.2-6108 (2024-09-18-12-15-33) community version
Database PostgreSql

I use community version so it don't have pdfexport.cf file
Screenshot-2024-12-06-163810.png

My general info console:
Screenshot-2024-12-06-164058.png
Screenshot-2024-12-06-164149.png

Offline

#16 2024-12-09 01:22:32

ttminh
Member
Registered: 2024-11-25

Re: Issue with czech characters during PDF generation

Hi eduardo,

I tried the default pdf export file dynamiclists/pdfexport.cf and it's not work
https://github.com/infofabrik/reportser … fexport.cf

Pls help me how to fix this bug T-T

Last edited by ttminh (2024-12-09 03:35:41)

Offline

#17 2024-12-09 09:54:00

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Issue with czech characters during PDF generation

Hi ttminh,

can you pls post the output of the sample query I posted above?

select 'a, ă, â, b, c, d, đ, e, ê, g, h, i, k, l, m, n, o, ô, ơ, p, q, r, s, t, u, ư, v, x, y' as chars,
'ấ, ậ, ữ, ã' as chars2

Regards,
Eduardo

Offline

#18 2024-12-10 06:32:28

ttminh
Member
Registered: 2024-11-25

Re: Issue with czech characters during PDF generation

Hi eduardo,

I tried the sample query you posted above with jasper report, it's ok. But when I upload on ReportServer and export pdf:
Screenshot-2024-12-10-134600.png

It's ok when export html in ReportServer
Screenshot-2024-12-10-134818.png
Regards,
ttminh

Last edited by ttminh (2024-12-10 06:49:20)

Offline

#19 2024-12-10 11:45:43

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Issue with czech characters during PDF generation

Hi ttminh,

so it doesn't work in *Jasper Reports*, this is important information. Could you please share the Jasper file you used in the screenshot?
Screenshot-2024-12-10-134600.png

Additionally, could you provide the result of the query I shared earlier, displayed in a standard dynamic list? Does the issue also occur in a dynamic list?

Regards,
Eduardo

Offline

Board footer

Powered by FluxBB