<br><div class="gmail_quote">On 20 May 2011 15:23, neha gupta <span dir="ltr">&lt;<a href="mailto:nehagupta0304@gmail.com">nehagupta0304@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
---------- Forwarded message ----------<br>
From: neha gupta &lt;<a href="mailto:nehagupta0304@gmail.com">nehagupta0304@gmail.com</a>&gt;<br>
Date: Fri, May 20, 2011 at 2:56 PM<br>
Subject: [fontconfig] single unicode and multiple glyphs<br>
To: <a href="mailto:fontconfig@fontconfig.org">fontconfig@fontconfig.org</a><br>
<br>
<br>
Hi All<br>
<br>
    I have a use case where I have a single font file which contains<br>
different glyphs for different languages for a single unicode.<br>
    e.g.  a.ttf<br>
<br>
                                Lang1      Lang2         Lang3<br>
          Unicode<br>
           0001            glyph1_1   glyph2_1    glyph3_1<br>
           0002            glyph1_2   glyph2_2    glyph3_2<br>
<br>
   Is it possible to acheive by fontconfig ? and which API ?<br>
   Thanks to all in advance for guidance.<br></blockquote><div><br><br>
  Yes, This is possible using locl feature of open type, I have 
implement this in Lohit Devnagari fonts read 
<a href="http://pravin-s.blogspot.com/2010/12/looks-like-lohit-is-first-open-source.html">http://pravin-s.blogspot.com/2010/12/looks-like-lohit-is-first-open-source.html</a><br><br>  Use case Nepali language has different shape for number 5 and 8 and few ligature as well.<br>

<br>
  Required things are rendering engine should support locl feature of opentype font. Pango support it.<br>
<br>
Regards,<br>
Pravin S<br></div></div>