?
Solved

image generation of text in charchter set windows-1256

Posted on 2007-11-14
3
Medium Priority
?
203 Views
Last Modified: 2013-12-16
hi all,
please concern  http://q.softwarelab.net/

it's a sample for image  generation  from text in arabic language for a news site
I've some problems
text characters  in arabic must be connected to each other by some rules it's not like english

(the letter in the start of the word have a certain shape and in the middle of the world have a different shape and in and in the en of the word have a third shape)

that's why i'm saying the text shown in arabic under the title:
here is the text I want to generate as image is the right one

while the text generated as image under the title:
here is the image with the bug in image generation

can you please tell me how to solve this problem? if the problem in the font can you please guide me where to find the appropriate fonts?

best regards
HG




0
Comment
Question by:shang3000
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 14

Expert Comment

by:ygoutham
ID: 20279205
why do a convert??? if you comment the convert line and try again what happens???

//$text= iconv("windows-1256", "UTF-8", $text);

i dunno arabic. but looking at the code i was curious to see the conversion and therefore  the suggestion.  
0
 

Author Comment

by:shang3000
ID: 20279866
here is the result when remove the conversion
http://q.softwarelab.net/test2.php

and the original code at
http://q.softwarelab.net
0
 
LVL 14

Accepted Solution

by:
ygoutham earned 1000 total points
ID: 20287146
sorry.  then it seems that i am wrong.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Fine Tune your automatic Updates for Ubuntu / Debian
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question