[Fontconfig] Fwd: [fontconfig] single unicode and multiple glyphs

pravin.d.s at gmail.com pravin.d.s at gmail.com
Fri May 20 10:48:03 PDT 2011

On 20 May 2011 15:23, neha gupta <nehagupta0304 at gmail.com> wrote:

> ---------- Forwarded message ----------
> From: neha gupta <nehagupta0304 at gmail.com>
> Date: Fri, May 20, 2011 at 2:56 PM
> Subject: [fontconfig] single unicode and multiple glyphs
> To: fontconfig at fontconfig.org
> Hi All
>     I have a use case where I have a single font file which contains
> different glyphs for different languages for a single unicode.
>     e.g.  a.ttf
>                                 Lang1      Lang2         Lang3
>           Unicode
>            0001            glyph1_1   glyph2_1    glyph3_1
>            0002            glyph1_2   glyph2_2    glyph3_2
>    Is it possible to acheive by fontconfig ? and which API ?
>    Thanks to all in advance for guidance.

  Yes, This is possible using locl feature of open type, I have implement
this in Lohit Devnagari fonts read

  Use case Nepali language has different shape for number 5 and 8 and few
ligature as well.

  Required things are rendering engine should support locl feature of
opentype font. Pango support it.

Pravin S
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/fontconfig/attachments/20110520/9fe699df/attachment.htm>

More information about the Fontconfig mailing list