Floating letters for Thai language on PDF

Stimulsoft Reports.WEB discussion
Post Reply
wizard_pong
Posts: 3
Joined: Thu Jul 29, 2021 12:34 pm

Floating letters for Thai language on PDF

Post by wizard_pong »

I did a test report in Thai language. Display no problem But there is a problem when printing pdf and export pdf. How can this problem be solved?
Attachments
2.Displayed on a PDF (Print or Export)
2.Displayed on a PDF (Print or Export)
1627561651508.jpg (103.06 KiB) Viewed 2587 times
1.Displayed on a web page
1.Displayed on a web page
1627561672583.jpg (81.68 KiB) Viewed 2590 times
Lech Kulikowski
Posts: 6163
Joined: Tue Mar 20, 2018 5:34 am

Re: Floating letters for Thai language on PDF

Post by Lech Kulikowski »

Hello,

There are some fixes in that direction. Please check the last release build 2021.3.6

Also, please add used fonts in the font collection.

Thank you.
wizard_pong
Posts: 3
Joined: Thu Jul 29, 2021 12:34 pm

Re: Floating letters for Thai language on PDF

Post by wizard_pong »

I use the last release build 2021.3.6 And add used fonts in the font collection. But display incorrect.

Example my code to add use fonts.

Code: Select all

Stimulsoft.Base.StiFontCollection.AddResourceFont("angsa.ttf", System.IO.File.ReadAllBytes("Fonts/angsa.ttf"), "ttf", "Angsana New");
Stimulsoft.Base.StiFontCollection.AddResourceFont("angsab.ttf", System.IO.File.ReadAllBytes("Fonts/angsab.ttf"), "ttf", "Angsana New");
Stimulsoft.Base.StiFontCollection.AddResourceFont("angsai.ttf", System.IO.File.ReadAllBytes("Fonts/angsai.ttf"), "ttf", "Angsana New");
Stimulsoft.Base.StiFontCollection.AddResourceFont("angsabi.ttf", System.IO.File.ReadAllBytes("Fonts/angsaz.ttf"), "ttf", "Angsana New");
Attachments
Displayed on a PDF (Print or Export)
Displayed on a PDF (Print or Export)
1627750589529.jpg (113.5 KiB) Viewed 2567 times
Displayed on a web page
Displayed on a web page
1627750544277.jpg (80.64 KiB) Viewed 2567 times
Lech Kulikowski
Posts: 6163
Joined: Tue Mar 20, 2018 5:34 am

Re: Floating letters for Thai language on PDF

Post by Lech Kulikowski »

Hello,

We need some additional time to investigate the issue, we will let you know about the result.

Thank you.
Lech Kulikowski
Posts: 6163
Joined: Tue Mar 20, 2018 5:34 am

Re: Floating letters for Thai language on PDF

Post by Lech Kulikowski »

Hello,

Please send us a sample report with test data that reproduces the issue for analysis.

Thank you.
wizard_pong
Posts: 3
Joined: Thu Jul 29, 2021 12:34 pm

Re: Floating letters for Thai language on PDF

Post by wizard_pong »

Hello, Lech Kulikowski
I attached sample report with test data for analysis.
Attachments
sample.zip
Sample report with test data for analysis
(2.79 KiB) Downloaded 163 times
Lech Kulikowski
Posts: 6163
Joined: Tue Mar 20, 2018 5:34 am

Re: Floating letters for Thai language on PDF

Post by Lech Kulikowski »

Hello,

We need some additional time to investigate the issue, we will let you know about the result.

Thank you.
#4562
tongnumchai
Posts: 6
Joined: Thu Jan 17, 2019 12:24 pm

Re: Floating letters for Thai language on PDF

Post by tongnumchai »

สวัสดีครับ ผมอยากจะติดต่อสอบถามเกี่ยวกับ web report หน่อยครับ รบกวนขอเมลล์ด้วยครับ
Lech Kulikowski
Posts: 6163
Joined: Tue Mar 20, 2018 5:34 am

Re: Floating letters for Thai language on PDF

Post by Lech Kulikowski »

Hello,

Sorry, maybe we did not exactly understand your question. Could you explain your issue in more detail?

Thank you.
Lech Kulikowski
Posts: 6163
Joined: Tue Mar 20, 2018 5:34 am

Re: Floating letters for Thai language on PDF

Post by Lech Kulikowski »

Hello,

We changed our libraries to work with the Thai characters, now everything will be displayed correctly.
It will be available in release 2023.1.1 within a week.

Thank you.
Post Reply