[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
  Web www.spinics.net

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

On 20 May 2011 15:23, neha gupta <nehagupta0304@xxxxxxxxx> wrote:
---------- Forwarded message ----------
From: neha gupta <nehagupta0304@xxxxxxxxx>
Date: Fri, May 20, 2011 at 2:56 PM
Subject: [fontconfig] single unicode and multiple glyphs
To: fontconfig@xxxxxxxxxxxxxx

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
     Â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 http://pravin-s.blogspot.com/2010/12/looks-like-lohit-is-first-open-source.html

 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
Fontconfig mailing list

[Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Legacy]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux