[cairo] complex text rendering/layout
satish.kambala at gmail.com
Thu Jul 26 10:11:49 PDT 2007
Thanks Behdad. I will try it.
On 7/24/07, Behdad Esfahbod <behdad at behdad.org> wrote:
> On Mon, 2007-07-23 at 13:04 -0400, satish kambala wrote:
> > 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: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.
> > (
> > 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?
> Cairo doesn't support this. You should use pango+cairo. That is not a
> hack though, it's a proper solution.
> > Please let me know if I made any wrong assumptions. Thanks in
> > advance.
> > Thanks,
> > Satish
> "Those who would give up Essential Liberty to purchase a little
> Temporary Safety, deserve neither Liberty nor Safety."
> -- Benjamin Franklin, 1759
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cairo