[cairo] complex text rendering/layout

satish kambala satish.kambala at gmail.com
Mon Jul 23 10:04:40 PDT 2007


Hi,

I am trying to use cairo library for rendering images (including text) in
'Hindi' language (Indian language). Hindi lanugauge
follows devanagari script. I am using free type unicode font file (
arialuni.ttf) for doing this. I observed that some characters are not
rendered properly. In the following image, I should get the right side image
where as I get the left side image.

[image: Image:Example.of.complex.text.rendering.svg]<http://en.wikipedia.org/wiki/Image:Example.of.complex.text.rendering.svg>

After a bit of reading came to know that rendering libraries should support
complex script rendering to take care of these cases. (
http://en.wikipedia.org/wiki/Wikipedia:Enabling_complex_text_support_for_Indic_scripts
)

I would like to know if cairo supports this, if so do I have to do anything
to enable this. Also will using some other font file other
than arial unicode file helps?

If cairo doesn't support this, is there any other hack (like using some
patches or plugins) to accomplish this?

Please let me know if I made any wrong assumptions. Thanks in advance.

Thanks,
Satish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cairographics.org/archives/cairo/attachments/20070723/3933a1cc/attachment.htm 


More information about the cairo mailing list