<community>of XML and SVG Developers</community>
This is a discussion on SVG Arabic Problem within the SVG Questions forums, part of the SVG Forums category; hi all, i have been working on a small project, using svg maps, i use mapviewsvg to convert esri shapefiles ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| i have been working on a small project, using svg maps, i use mapviewsvg to convert esri shapefiles into an interactive SVG Map. it works well when used with english. However, i have to use arabic language with svg, i searched all the net for every solution but no way. the problem: first, the letters are not attached to each others and looks funny. second, its not Right to left as supposed to be. i used UTF-16, UTF-8 , RTF-16. nothing working. through the internet search, i found something about bidi texting, adding unicode-bidi atribute. but looks that svg on internet explorer does not support this feature. i tried adobe svg and renesis svg viewers, but no way. please, is there any way that i can view arabic fonts correctly in svg file. here is a sample code i have with arabic letters in unicode format: Code: <?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="100%" height="100%" version="1.1"
xmlns="http://www.w3.org/2000/svg" >
<text x = "10" y = "25" fill = "navy" font-size = "15">
<tspan direction="ltr" unicode-bidi="overide" xml:lang="fa">
بيت الروش الفوقا
</tspan>
</text>
</svg>
Last edited by ronysvg; 07-08-2009 at 03:37 AM.. |
| |||
|
Sorry,I can't help you. __________________ Entourage Seasons 1-5 DVD Boxset 24 Hours Seasons 1-7 DVD Boxset NCIS dvd House m.d dvd |
![]() |
| Tags |
| arabic, problem, svg, svg problem, unicode |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Data recovery laptop
Need hard disk drive data recovery for yout laptop? Visit Data Clinic for cost effective and professional data recovery.