Pdf export and culture info

Stimulsoft Reports.WPF discussion
Post Reply
Meto
Posts: 14
Joined: Fri Jun 24, 2016 7:31 am

Pdf export and culture info

Post by Meto »

I am having problem with chart export when using app-wide culture info different than english when doing pdf export.

Steps to reproduce:
Run attached sample, then choose save-export to pdf. Save pdf and open in. When using culture different than "en", chart axes will not export correctly.

This is how it will look like (mind the axes)
sample export.png
sample export.png (79.83 KiB) Viewed 156 times
I am also attaching simple sample file.
if we change

Code: Select all

        var cultureInfo = CultureInfo.GetCultureInfo("hr-HR"); 
with

Code: Select all

        var cultureInfo = CultureInfo.GetCultureInfo("en");
inside App constructor, pdf export will work correctly.

Thanks for your reponse and best regards
Attachments
sample.zip
(27.01 KiB) Downloaded 15 times
Max Shamanov
Posts: 975
Joined: Tue Sep 07, 2021 10:11 am

Re: Pdf export and culture info

Post by Max Shamanov »

Hello,

We require more time to investigate the issue thoroughly.
Rest assured, we will keep you informed about the outcome as soon as possible.

Thank you
Max Shamanov
Posts: 975
Joined: Tue Sep 07, 2021 10:11 am

Re: Pdf export and culture info

Post by Max Shamanov »

Hello,

Unfortunately, we couldn't reproduce the issue with your sample.
Please check the attached image.

Could you please clarify what OS you are using?
Also what regional settings are you using?

Thank you.
Attachments
Acrobat_6nvancWRlp.png
Acrobat_6nvancWRlp.png (174.63 KiB) Viewed 139 times
Meto
Posts: 14
Joined: Fri Jun 24, 2016 7:31 am

Re: Pdf export and culture info

Post by Meto »

Windows version

Code: Select all

OS Name:                       Microsoft Windows 11 Pro
OS Version:                    10.0.26100 N/A Build 26100
Localisation

Code: Select all

LCID             Name             DisplayName
----             ----             -----------
1060             sl-SI            Slovenian (Slovenia)
I have attempted to resolve the issue by switching the localization to English, but the problem persists.
To assist with troubleshooting, I have attached two PDF files, one working (with _EN postfix) and one that fails (with _HR postfix).

I also tound out that adobe reader will trigger an error,whereas foxit, edge and sumatrapdf will work normally.
Screenshot 2025-05-26 082438.png
Screenshot 2025-05-26 082438.png (17.17 KiB) Viewed 131 times
Attachments
samples.zip
(121.76 KiB) Downloaded 18 times
Max Shamanov
Posts: 975
Joined: Tue Sep 07, 2021 10:11 am

Re: Pdf export and culture info

Post by Max Shamanov »

Hello,

We require more time to investigate the issue thoroughly.
Rest assured, we will keep you informed about the outcome as soon as possible.

Thank you
Max Shamanov
Posts: 975
Joined: Tue Sep 07, 2021 10:11 am

Re: Pdf export and culture info

Post by Max Shamanov »

Hello,

We have reproduced the issue and need some time to make an improvement.
We will let you know when we get any results.

Thank you.
#17631
Max Shamanov
Posts: 975
Joined: Tue Sep 07, 2021 10:11 am

Re: Pdf export and culture info

Post by Max Shamanov »

Hello.

We have made an improvement.
Please, check our next build when it is available.

Thank you.
Post Reply