Solved

image generation of text in charchter set windows-1256

Posted on 2007-11-14
3
197 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
  • 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 500 total points
ID: 20287146
sorry.  then it seems that i am wrong.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
This article discusses how to create an extensible mechanism for linked drop downs.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

759 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now