Thanks Behdad. I will try it.<br><br>Regards,<br>Satish<br><br><div><span class="gmail_quote">On 7/24/07, <b class="gmail_sendername">Behdad Esfahbod</b> <<a href="mailto:behdad@behdad.org">behdad@behdad.org</a>> wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Mon, 2007-07-23 at 13:04 -0400, satish kambala wrote:<br>> Hi,<br>><br>> I am trying to use cairo library for rendering images (including text)
<br>> in 'Hindi' language (Indian language). Hindi lanugauge<br>> follows devanagari script. I am using free type unicode font file<br>> (arialuni.ttf ) for doing this. I observed that some characters are
<br>> not<br>> rendered properly. In the following image, I should get the right side<br>> image where as I get the left side image.<br>><br>> Image:Example.of.complex.text.rendering.svg<br>><br>> After a bit of reading came to know that rendering libraries should
<br>> support complex script rendering to take care of these cases.<br>> (<a href="http://en.wikipedia.org/wiki/Wikipedia:Enabling_complex_text_support_for_Indic_scripts">http://en.wikipedia.org/wiki/Wikipedia:Enabling_complex_text_support_for_Indic_scripts
</a>)<br>><br>> I would like to know if cairo supports this, if so do I have to do<br>> anything to enable this. Also will using some other font file other<br>> than arial unicode file helps?<br>><br>> If cairo doesn't support this, is there any other hack (like using
<br>> some patches or plugins) to accomplish this?<br><br>Cairo doesn't support this. You should use pango+cairo. That is not a<br>hack though, it's a proper solution.<br><br>> Please let me know if I made any wrong assumptions. Thanks in
<br>> advance.<br>><br>> Thanks,<br>> Satish<br>--<br>behdad<br><a href="http://behdad.org/">http://behdad.org/</a><br><br>"Those who would give up Essential Liberty to purchase a little<br> Temporary Safety, deserve neither Liberty nor Safety."
<br> -- Benjamin Franklin, 1759<br><br><br><br></blockquote></div><br>