The text is not displayed correctly

Stimulsoft Reports.PHP discussion
Post Reply
vbtux
Posts: 11
Joined: Wed Aug 17, 2011 6:05 am

The text is not displayed correctly

Post by vbtux »

Hi,

I want to use the Stimulsoft Reports.Fx for PHP but I have a problem, the text is not displayed correctly
I use the following connection string :
server=localhost;database=mydb;user=root;charset=utf8;
I set the byte[] type for my field in the report dictionary, the text field type is VARCHAR and the table data is utf8_general_ci

I've attached my database and report file.

Thank you for your time.
Attachments
problem.rar
(1.53 KiB) Downloaded 387 times
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: The text is not displayed correctly

Post by Vladimir »

Hello,

In your case you need to set a column type to 'string'. Also for a text report component, set the 'Text Quality' property to 'Wysiwyg'.

Thank you.
vbtux
Posts: 11
Joined: Wed Aug 17, 2011 6:05 am

Re: The text is not displayed correctly

Post by vbtux »

Thank You Vladimir for Help, Now all texts are displayed correctly

but I still have the same problem in report with PDF format
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: The text is not displayed correctly

Post by Alex K. »

Hello,

We need some additional time for check the issue.

Thank you.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: The text is not displayed correctly

Post by HighAley »

Hello.

We are not native Arabian and we don't know how Arabian text should look like.

We are sending you an image with text from Reports.Fx version.
TestString.png
TestString.png (10.66 KiB) Viewed 5197 times
In WinForms version all text is exported as Wysiwyg here.
In PDF export all text is exported in Wysiwyg mode.
Please, write us where the text is right and where wrong.

Thank you.
vbtux
Posts: 11
Joined: Wed Aug 17, 2011 6:05 am

Re: The text is not displayed correctly

Post by vbtux »

Hello
when I set the 'Text Quality' property to 'Wysiwyg' ,all texts will be displayed in the viewer correctly, but if I export this report to pdf file, those will change to square symbol(box signs).
Also, some words are written in the viewer and the designer incorrectly
You can see some of them in the picture below

Thank you.

Image

Image

Image
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: The text is not displayed correctly

Post by HighAley »

Hello.

Which version of Adobe Reader do you use?
Not all symbols are in the system fonts. Do you have right fonts in your system?
We need some time to fix localization of interface.

Thank you.
vbtux
Posts: 11
Joined: Wed Aug 17, 2011 6:05 am

Re: The text is not displayed correctly

Post by vbtux »

The version of Adobe Reader is 9.0.0
I use tahoma font for persian texts that is the default screen font used by windows

Thank you for your attention.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: The text is not displayed correctly

Post by HighAley »

Hello.

Please, try to upgrade to the latest version of the Adobe Reader.

Thank you.
Post Reply