Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
shanavazea  
#1 Posted : Wednesday, February 18, 2004 4:40:00 PM(UTC)
shanavazea

Rank: Member

Groups: Member
Joined: 2/18/2004(UTC)
Posts: 3

Hi,

I am evaluating Graphics Mill. I like to purchase it for application in our new project. I will be mainly using the drawText method. I would like to know whether your product supports Arabic language / Unicode so that I can add some text in these languages.

Thank you
Shanavaz.
Andrew  
#2 Posted : Wednesday, February 18, 2004 4:51:00 PM(UTC)
Andrew

Rank: Advanced Member

Groups: Member, Administration
Joined: 8/2/2003(UTC)
Posts: 876

Thanks: 2 times
Was thanked: 27 time(s) in 27 post(s)
Yes, sure. Graphics Mill can draw Unicode characters (including Arabic, Chinese, etc). Did you experienced any problems with Arabic fonts?
shanavazea  
#3 Posted : Wednesday, February 18, 2004 5:01:00 PM(UTC)
shanavazea

Rank: Member

Groups: Member
Joined: 2/18/2004(UTC)
Posts: 3

Thankyou for your reply. I think you havent mentioned it in the documentation. I tried to use the mothod like

.DrawText "\u0634\u0627", 150, 0

but it printed as it is and not the origignals fonts.
Can you give me a sample code?

Thanks and regards
Shanavaz.
Andrew  
#4 Posted : Wednesday, February 18, 2004 10:07:00 PM(UTC)
Andrew

Rank: Advanced Member

Groups: Member, Administration
Joined: 8/2/2003(UTC)
Posts: 876

Thanks: 2 times
Was thanked: 27 time(s) in 27 post(s)
As far as I understand, you use Graphics Mill under ASP (is it so?). You can use the same approach as described at this topic:

http://www.aurigma.com/go?id=57

This topic was written about our previous imaging component Graphics Processor, but everything is true for Graphics Mill.

Shortly, you should write you string as is (in Arabic, or other language you want). After this you should save the ASP file in proper encoding. Read mentioned topic for more details.
shanavazea  
#5 Posted : Saturday, February 21, 2004 2:14:00 PM(UTC)
shanavazea

Rank: Member

Groups: Member
Joined: 2/18/2004(UTC)
Posts: 3

Yes, I am using ASP. But the answer you have told will be applicable only when I am writing a constant text always. What will I do if I want to write some thing different each time. Actually my application wants like this. I get the input as a unicode string in a variable., like

var = "063406270660" .

Now I want the function to be executed like
.DrawText var, 150, 0

I need to know whether this is possible in your program. I hope you got the problem.

Thanks
Shanavaz.

Andrew  
#6 Posted : Monday, February 23, 2004 1:00:00 PM(UTC)
Andrew

Rank: Advanced Member

Groups: Member, Administration
Joined: 8/2/2003(UTC)
Posts: 876

Thanks: 2 times
Was thanked: 27 time(s) in 27 post(s)
You should parse the string into character codes (as far as I understand each four digits is a single character code in hex) and convert it into characters using Chr (or ChrW) VBScript function. The reference for Chr function you can find in MSDN at this link:

http://msdn.microsoft.com/library/en-us/script56/html/vsfctChr.asp
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.