ActiveReports 7 Now Available! (click for details)

ActiveReports 2.0 (Visual Basic 6.0) Support

Started by JeffG at 03-21-2007 10:56 AM. Topic has 5 replies.

Print Search Rate
Sort Posts:    
   03-21-2007, 10:56 AM
JeffG is not online. Last active: 3/21/2007 9:50:52 PM JeffG

Not Ranked
Joined on 03-21-2007
Posts 3
Unicode displays sideways
Hello, recently we found out that we would have to support Chinese characters in our reports, I changed the fonts in our text fields to Unicode to accomodate this. This however had the effect of greatly slowing down our reports (which from searches on this forum I see others have run into) but also the bizarre side effect of printing text rotated 90 degrees.

It prints all text in the unicode field sideways, not just chinese characters. Has anyone run into this before?

EDIT: Actually, I just realized western characters are only sideways when report is viewed as PDF.

   Report 
   03-22-2007, 4:39 AM
AntonM is not online. Last active: 10/4/2007 9:47:14 AM AntonM

Top 50 Posts
Joined on 01-10-2007
Posts 622
Re: Unicode displays sideways
Hello,

Could you please provide report's files or a small sample that can be reproduced with described problem? It would be very helpful to understand and investigate the problem completely.

   Report 
   03-22-2007, 10:55 AM
JeffG is not online. Last active: 3/21/2007 9:50:52 PM JeffG

Not Ranked
Joined on 03-21-2007
Posts 3
Re: Unicode displays sideways

Attachment: CA_Detail.zip
Here's a stripped down file, I don't know if you'll be able to figure out a whole lot without the database connection but here goes.
I guess you'll have to make your own table to test it on, as long as you have a field called IssueDescription that's ntext and contains some chinese such as 脰脴脟矛 you should see the effect even in preview.



   Report 
   03-22-2007, 12:40 PM
via is not online. Last active: 3/20/2011 8:04:54 PM via

Top 50 Posts
Joined on 08-28-2004
Posts 653
Re: Unicode displays sideways
Like VB6 the AR2 for VB6 is non-Unicode program and you cannot display Unicode characters.
The way to display Unicode characters in AR2 is to convert them to ANSI (what can do ADO,DAO,ODBC,RDO) and to set the Font.Charset property to the appropriate character set.
   Report 
   03-26-2007, 3:43 AM
AntonM is not online. Last active: 10/4/2007 9:47:14 AM AntonM

Top 50 Posts
Joined on 01-10-2007
Posts 622
Re: Unicode displays sideways

Attachment: AR2(COM).Sample.zip
Hello,

Please try to use *Arial Unicode MS* font instead of *@Arial Unicode MS* as you set for the control. I have attached the sample project that shows the difference.

   Report 
   03-26-2007, 4:03 PM
JeffG is not online. Last active: 3/21/2007 9:50:52 PM JeffG

Not Ranked
Joined on 03-21-2007
Posts 3
Re: Unicode displays sideways
Thanks, that fixed it. I do notice it still seems to take longer to launch a report with unicode font,  I think I've seen someone else mention this before. Is there any sort of work-around and is it something solved in the .NET version?

   Report 
GrapeCity » Product Support » ActiveReports 2... » Re: Unicode displays sideways

Privacy Policy | Copyright © 1997-2013 — GrapeCity, inc.
All trademarks mentioned are the property of their respective owners.